Friday, November 25, 2011

django.conf.urls import question

Hello,

I just finished to tutorial and for in both my urls.py files, if I
use:

from django.conf.urls import patterns, include, url

I get an http500 error: TemplateDoesNotExist: 500.html

before I had it as:

from django.conf.urls.defaults import patterns, include, url

and when I change this statement to be default, everything works fine.
I don't know why. In the tutorial it says to do it the first way

any ideas?

Thanks

Chet

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate