Wiadomość napisana w dniu 2008-09-16, o godz. 06:43, przez catsclaw: >> Can you paste the urls.py from your project as well as the one from >> the app you are having problems with? > > I removed all the includes in case that was causing the error; all > my urls are defined in the main urls.py. Here's all the urls I've got > defined: > > urlpatterns = patterns('', > url(r'^myapp/svn/(?P<svn_name>.+)/display/$', > 'myapp.views.display', {'svn_path': '/'}, name='myapp-svn-root'), > url(r'^myapp/logout/$', 'myapp.users.logout', name='myapp- > logout'), > url(r'^myapp/login/$', 'myapp.users.login', name='myapp-login'), > url(r'^svn/$', 'myapp.home.display'), > ) > > ... Note that if I delete all the urls *except* for the myapp-login > one, I get an entirely different error: > > ViewDoesNotExist at /myapp/login/ > Tried login in module myapp.users. Error was: 'module' object has no > attribute 'login'. > > ... But that's an entirely different issue. I assume, anyway.
I saw such errors when Django was unable to process urlconf module. Try to get rid of this ViedDoesNotExist and see if this is the case. -- We read Knuth so you don't have to. - Tim Peters Jarek Zgoda, R&D, Redefine [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---