disqus / gargoyle

Feature switches in Django
http://engineering.disqus.com
Apache License 2.0
746 stars 112 forks source link

DeprecationWarning with Django 1.5 #62

Closed akaihola closed 10 years ago

akaihola commented 11 years ago

I'm running Gargoyle with the Django 1.5 release candidate. It logs a deprecation warning from gargoyle.nexus_modules. If I change warnings to errors and enable tracebacks, I see:

File "gargoyle/nexus_modules.py", line 82, in get_urls
  from django.conf.urls.defaults import patterns, url
File "django/conf/urls/defaults.py", line 3, in <module>
  DeprecationWarning)

DeprecationWarning: django.conf.urls.defaults is deprecated; use django.conf.urls instead
picomancer commented 10 years ago

I rebased this pull request to latest HEAD. The DeprecationWarning has become an error in Django 1.6. Please pull this patch!