Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Moved django.views.admin.template and django.views.admin.doc to djang…

…o.contrib.admin.views. Refs #627

git-svn-id: http://code.djangoproject.com/svn/django/trunk@923 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit aed1930133ad4e7970c8a7909283a59fb2e3fef2 1 parent 1dc6d4b
Adrian Holovaty authored
22  django/conf/urls/admin.py
@@ -6,20 +6,20 @@
6 6
     ('^logout/$', 'django.views.auth.login.logout'),
7 7
     ('^password_change/$', 'django.views.registration.passwords.password_change'),
8 8
     ('^password_change/done/$', 'django.views.registration.passwords.password_change_done'),
9  
-    ('^template_validator/$', 'django.views.admin.template.template_validator'),
  9
+    ('^template_validator/$', 'django.contrib.admin.views.template.template_validator'),
10 10
 
11 11
     # Documentation
12  
-    ('^doc/$', 'django.views.admin.doc.doc_index'),
13  
-    ('^doc/bookmarklets/$', 'django.views.admin.doc.bookmarklets'),
14  
-    ('^doc/tags/$', 'django.views.admin.doc.template_tag_index'),
15  
-    ('^doc/filters/$', 'django.views.admin.doc.template_filter_index'),
16  
-    ('^doc/views/$', 'django.views.admin.doc.view_index'),
17  
-    ('^doc/views/jump/$', 'django.views.admin.doc.jump_to_view'),
18  
-    ('^doc/views/(?P<view>[^/]+)/$', 'django.views.admin.doc.view_detail'),
19  
-    ('^doc/models/$', 'django.views.admin.doc.model_index'),
20  
-    ('^doc/models/(?P<model>[^/]+)/$', 'django.views.admin.doc.model_detail'),
  12
+    ('^doc/$', 'django.contrib.admin.views.doc.doc_index'),
  13
+    ('^doc/bookmarklets/$', 'django.contrib.admin.views.doc.bookmarklets'),
  14
+    ('^doc/tags/$', 'django.contrib.admin.views.doc.template_tag_index'),
  15
+    ('^doc/filters/$', 'django.contrib.admin.views.doc.template_filter_index'),
  16
+    ('^doc/views/$', 'django.contrib.admin.views.doc.view_index'),
  17
+    ('^doc/views/jump/$', 'django.contrib.admin.views.doc.jump_to_view'),
  18
+    ('^doc/views/(?P<view>[^/]+)/$', 'django.contrib.admin.views.doc.view_detail'),
  19
+    ('^doc/models/$', 'django.contrib.admin.views.doc.model_index'),
  20
+    ('^doc/models/(?P<model>[^/]+)/$', 'django.contrib.admin.views.doc.model_detail'),
21 21
 #    ('^doc/templates/$', 'django.views.admin.doc.template_index'),
22  
-    ('^doc/templates/(?P<template>.*)/$', 'django.views.admin.doc.template_detail'),
  22
+    ('^doc/templates/(?P<template>.*)/$', 'django.contrib.admin.views.doc.template_detail'),
23 23
 )
24 24
 
25 25
 if 'ellington.events' in INSTALLED_APPS:
0  django/views/admin/doc.py → django/contrib/admin/views/doc.py
File renamed without changes
0  django/views/admin/template.py → django/contrib/admin/views/template.py
File renamed without changes

0 notes on commit aed1930

Please sign in to comment.
Something went wrong with that request. Please try again.