Hello!

There's something that's bothering me:

When developing a Django application, what is `sys.path` supposed to
contain? The directory which contains the project, or the directory of
the project, or both?

What led me to this question is a failure when using
`urlresolvers.reverse`. It's giving me a `NoReverseMatch` error, and
it seems that the reason is that there are two different versions of
my view function; One with a `__module__` of `my_app.views` and one
with a `__module__` of `my_project.my_app.views`. Because of Python
weirdness, these two different versions of the same function are not
considered identical to each other:

http://bugs.python.org/issue9872


Please help...


Ram.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to