Commits

Martin Chase committed a26e830

Compatibility fix for django 1.4
- conf.urls.defaults no longer defines an __all__, so we create one explicitly.

  • Participants
  • Parent commits 6828a39

Comments (0)

Files changed (1)

File dselector.py

 
 import re
 from django.conf.urls.defaults import *
-from django.conf.urls.defaults import url as _url, __all__ as defaults_all
+defaults_all = [handler403, handler404, handler500, include, patterns, url]
+from django.conf.urls.defaults import url as _url
 from django.core.urlresolvers import RegexURLPattern, RegexURLResolver
 
 import calendar