Remove leftovers of django.conf.urls.defaults

Partially-implements blueprint django-1point6

Change-Id: I76604f7dac3bf00f5f6e4ddbf76c8ea9f21c6954
This commit is contained in:
Matthias Runge 2014-01-07 12:32:20 +01:00
parent 6fd1a1522a
commit e0672fd879
2 changed files with 2 additions and 2 deletions

View File

@ -221,7 +221,7 @@ find a ``urls.py`` file in your panel directory which will define a view named
``index`` that handles the default view for that panel. This is what your
``urls.py`` file might look like::
from django.conf.urls.defaults import patterns, url
from django.conf.urls import patterns, url
from .views import IndexView
urlpatterns = patterns('',

View File

@ -238,7 +238,7 @@ class Panel(HorizonComponent):
_decorate_urlconf(urlpatterns, require_perms, permissions)
_decorate_urlconf(urlpatterns, _current_component, panel=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