From: Lucas Meneghel Rodrigues <lmr@redhat.com>
To: autotest@test.kernel.org
Cc: kvm@vger.kernel.org
Subject: [PATCH 1/6] Update admin site URL dispatcher to Django 1.3
Date: Fri, 27 May 2011 01:21:29 -0300 [thread overview]
Message-ID: <1306470094-16960-2-git-send-email-lmr@redhat.com> (raw)
In-Reply-To: <1306470094-16960-1-git-send-email-lmr@redhat.com>
admin.site.root does not exist under Django 1.3 anymore.
Use, therefore, the current idiom to specify the admin URL.
Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
---
frontend/urls.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/frontend/urls.py b/frontend/urls.py
index 7f18fec..5c50f51 100644
--- a/frontend/urls.py
+++ b/frontend/urls.py
@@ -15,7 +15,7 @@ handler500 = 'frontend.afe.views.handler500'
urlpatterns = defaults.patterns(
'',
- (RE_PREFIX + r'admin/(.*)', admin.site.root),
+ (RE_PREFIX + r'admin/', defaults.include(admin.site.urls)),
(RE_PREFIX, defaults.include('frontend.afe.urls')),
(TKO_RE_PREFIX, defaults.include('frontend.tko.urls')),
(PLANNER_RE_PREFIX, defaults.include('frontend.planner.urls')),
--
1.7.5.2
next prev parent reply other threads:[~2011-05-27 4:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-27 4:21 [PATCH 0/6] Update the web interface to the latest versions of foundation components Lucas Meneghel Rodrigues
2011-05-27 4:21 ` Lucas Meneghel Rodrigues [this message]
[not found] ` <BANLkTi=VgwjAZ5bP=6_GZgRiv0g_TNbS7g@mail.gmail.com>
2011-05-27 17:33 ` [PATCH 1/6] Update admin site URL dispatcher to Django 1.3 Lucas Meneghel Rodrigues
2011-05-27 4:21 ` [PATCH 2/6] afe/readonly connection: Catch AttributeError exceptions Lucas Meneghel Rodrigues
2011-05-27 4:21 ` [PATCH 3/6] Adding afe custom database engine Lucas Meneghel Rodrigues
2011-05-27 4:21 ` [PATCH 4/6] Change web app to use new DB engine Lucas Meneghel Rodrigues
2011-05-27 4:21 ` [PATCH 5/6] Removing get_from_clause() from custom query class Lucas Meneghel Rodrigues
2011-05-27 4:21 ` [PATCH 6/6] external_packages: Bump version number requirements for web deps Lucas Meneghel Rodrigues
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1306470094-16960-2-git-send-email-lmr@redhat.com \
--to=lmr@redhat.com \
--cc=autotest@test.kernel.org \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox