1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

More django.conf.urls.defaults removals. Refs #17132

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17049 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Ramiro Morales
2011-10-29 12:24:44 +00:00
parent 3e66913f96
commit 24f3c06e4a
2 changed files with 2 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ class ActionAdmin(admin.ModelAdmin):
def get_urls(self):
# Add the URL of our custom 'add_view' view to the front of the URLs
# list. Remove the existing one(s) first
from django.conf.urls.defaults import patterns, url
from django.conf.urls import patterns, url
def wrap(view):
def wrapper(*args, **kwargs):