summaryrefslogtreecommitdiff
path: root/tests/regressiontests/comment_tests/urls_admin.py
diff options
context:
space:
mode:
authorJacob Kaplan-Moss <jacob@jacobian.org>2009-10-23 19:22:31 +0000
committerJacob Kaplan-Moss <jacob@jacobian.org>2009-10-23 19:22:31 +0000
commit8be1bb2268b09e5ea33ccf07d602feed8b075146 (patch)
tree2da3dcacb5e5d313f2486dd2aaa51f5dc45d2931 /tests/regressiontests/comment_tests/urls_admin.py
parent162fade2b70d56ee5cbc3a57d1863f3c989775d6 (diff)
Fixed #11625: added comment moderation via admin actions.
This is BACKWARDS INCOMPATIBLE if you were using the completely undocumented moderation view from 1.1. That view's been removed in favor of the admin actions. Thanks, Thejaswi Puthraya. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11639 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/comment_tests/urls_admin.py')
-rw-r--r--tests/regressiontests/comment_tests/urls_admin.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/regressiontests/comment_tests/urls_admin.py b/tests/regressiontests/comment_tests/urls_admin.py
new file mode 100644
index 0000000000..9e43d34865
--- /dev/null
+++ b/tests/regressiontests/comment_tests/urls_admin.py
@@ -0,0 +1,8 @@
+from django.conf.urls.defaults import *
+from django.contrib import admin
+
+admin.autodiscover()
+
+urlpatterns = patterns('',
+ (r'^admin/', include(admin.site.urls)),
+)