Sunday, January 6, 2013

Re: django.conf.urls.defaults is deprecated

In your urls.py file, you probably have something like:
from django.conf.urls.defaults import patterns, url, include

change that to:
from django.conf.urls import patterns, url, include

On Sunday, January 6, 2013 9:57:25 AM UTC-5, Thiago wrote:
Hello,

I am having this "DeprecationWarning: django.conf.urls.defaults is deprecated; use django.conf.urls instead" when I runserver.. but there is no reference to django.conf.urls.defaults. Any hint of what should I do to take it off?

Thanks.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/PfNMQ3NFctYJ.
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.

No comments:

Post a Comment