I'm continuing to struggle with the reverse method in Django. After fixing some mistakes of mine earlier I'm getting an ImproperlyConfigured Error whenever I try to use a reverse method. The site works fine with one but whenever I try to use a reverse method, even in shell I get the following error.
"ImproperlyConfigured: The included urlconf dwrangler.project.urls doesn't have a ny patterns in it" I've commented lines out in dwrangler.project.urls to have a very controlled single URL but I still get the error. I'm pasting the contents of the relevant files here in hopes someone can give me some insight. Sorry to be so behind on this function. The example I've been testing in shell is 'print reverse('list-project')' but I've also tried calling 'project_index' as well an so forth. *** Settings is correct in calling *** ROOT_URLCONF = 'dwrangler.urls' **** root level dwrangler.urls file*** urlpatterns = patterns('', url(r'^$', 'dwrangler.project.views.summary_in_development', name="dwrangler-root"), url(r'^admin/(.*)', admin.site.root), url(r'^project/', include('dwrangler.project.urls')), url(r'^accounts/', include('dwrangler.accounts.urls')), url(r'^accounts/login/$', 'django.contrib.auth.views.login', {'template_name': 'accounts/login.xhtml'}, "login-account"), url(r'^accounts/logout/$', 'django.contrib.auth.views.logout', {'template_name': 'accounts/logout.xhtml'}, "logout-account") ) **** dwrangler.project.urls file *** urlpatterns = patterns('dwrangler.project.views', url(r'^list/$', 'project_index', name='list-project'), ) --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---