Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
r12176 - django/trunk/docs/ref/contrib/ admin
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
nore...@djangoproject.com  
View profile  
 More options Jan 10 2010, 1:01 pm
From: nore...@djangoproject.com
Date: Sun, 10 Jan 2010 12:01:22 -0600 (CST)
Local: Sun, Jan 10 2010 1:01 pm
Subject: [Changeset] r12176 - django/trunk/docs/ref/contrib/admin
Author: adrian
Date: 2010-01-10 12:01:22 -0600 (Sun, 10 Jan 2010)
New Revision: 12176

Modified:
   django/trunk/docs/ref/contrib/admin/index.txt
Log:
Fixed #11880 -- Changed admin URLconfs in docs to use raw strings, for consistency. Thanks, jb0t

Modified: django/trunk/docs/ref/contrib/admin/index.txt
===================================================================
--- django/trunk/docs/ref/contrib/admin/index.txt       2010-01-10 17:58:41 UTC (rev 12175)
+++ django/trunk/docs/ref/contrib/admin/index.txt       2010-01-10 18:01:22 UTC (rev 12176)
@@ -1395,7 +1395,7 @@
     admin.autodiscover()

     urlpatterns = patterns('',
-        ('^admin/', include(admin.site.urls)),
+        (r'^admin/', include(admin.site.urls)),
     )

 Above we used ``admin.autodiscover()`` to automatically load the
@@ -1409,7 +1409,7 @@
     from myproject.admin import admin_site

     urlpatterns = patterns('',
-        ('^myadmin/', include(admin_site.urls)),
+        (r'^myadmin/', include(admin_site.urls)),
     )

 There is really no need to use autodiscover when using your own ``AdminSite``
@@ -1437,8 +1437,8 @@
     from myproject.admin import basic_site, advanced_site

     urlpatterns = patterns('',
-        ('^basic-admin/', include(basic_site.urls)),
-        ('^advanced-admin/', include(advanced_site.urls)),
+        (r'^basic-admin/', include(basic_site.urls)),
+        (r'^advanced-admin/', include(advanced_site.urls)),
     )

 ``AdminSite`` instances take a single argument to their constructor, their


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »