$ python -W error manage.py runserver
That should cause the deprecation warning to actually raise an error and cause a traceback to be displayed and hopefully show you where that import is happening.
On Monday, January 7, 2013 1:13:33 PM UTC-5, Thiago wrote:
On Monday, January 7, 2013 1:13:33 PM UTC-5, Thiago wrote:
Nope. If I grep my entire project folder with: grep "defaults" . -r, the only result is:
Binary file ./settings.pyc matches
Then I delete it, and runserver again, I get the message:
/virtualenvs/env-hrp-rc/local/lib/python2.7/site-packages/ django/conf/urls/defaults.py: 3: DeprecationWarning: django.conf.urls.defaults is deprecated; use django.conf.urls instead
DeprecationWarning)
And the compiled settings.py continue to match =(2013/1/6 nkryptic <nkry...@gmail.com>
In your urls.py file, you probably have something like:from django.conf.urls.defaults import patterns, url, includechange 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...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com .
For more options, visit this group at http://groups.google.com/group/django-users?hl=en .
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/-/n9o4WM8mPEUJ.
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