Permalink
Browse files

Remove leftovers of django.conf.urls.defaults

    Partially-implements blueprint django-1point6

Change-Id: Ib8a19f47f0cc69003e9622942dfc5bababe3c6f2
  • Loading branch information...
Maxime Vidori
Maxime Vidori committed Jan 17, 2014
1 parent fdbf85c commit 1035ff4cc198b6d6c8996cb3767d56cd329f6cb2
Showing with 2 additions and 2 deletions.
  1. +2 −2 horizon/base.py
View
@@ -474,7 +474,7 @@ def _decorated_urls(self):
_decorate_urlconf(urlpatterns, require_perms, permissions)
_decorate_urlconf(urlpatterns, _current_component, dashboard=self)
- # Return the three arguments to django.conf.urls.defaults.include
+ # Return the three arguments to django.conf.urls.include
return urlpatterns, self.slug, self.slug
def _autodiscover(self):
@@ -760,7 +760,7 @@ def _urls(self):
urlpatterns += patterns('',
url(r'^%s/' % dash.slug, include(dash._decorated_urls)))
- # Return the three arguments to django.conf.urls.defaults.include
+ # Return the three arguments to django.conf.urls.include
return urlpatterns, self.namespace, self.slug
def _autodiscover(self):

0 comments on commit 1035ff4

Please sign in to comment.