On 10/08/10 Karen Tracey said:
> does not work properly. You also have to change the first element of the
> tuple:
>
> (r'^admin/', include(admin.site.urls)),
*sigh* Thanks, that was it.
Mike
--
Michael P. Soulier
"Any intelligent fool can make things bigger and
On Sun, Aug 8, 2010 at 10:14 PM, Michael P. Soulier <
msoul...@digitaltorque.ca> wrote:
> Hi,
>
> I saw the deprecation warning on using admin.site.root in my urlconf for
> the
> admin site, so I moved to include(admin.site.urls) instead. Unfortunately
> after I logge
Hi,
I saw the deprecation warning on using admin.site.root in my urlconf for the
admin site, so I moved to include(admin.site.urls) instead. Unfortunately
after I logged-in, every click in the admin site took me nowhere (reloaded the
same page).
Any idea of what could cause that? I've moved
this is what you had:
(r'^admin/(.*)', admin.site.root),
then you changed it to this (which is incorrect with the regex)
(r'^admin/(.*)', include(admin.site.urls)), # WRONG
this is correct:
(r'^admin/', include(admin.site.urls)),
--
You received this message bec
On May 17, 1:30 pm, Russell Keith-Magee
wrote:
> On Mon, May 17, 2010 at 5:55 PM, Dennis Decker Jensen
>
> wrote:
> > Hello!
> > I use django straight from subversion trunk (with no significant
> > trouble), and finally got around to change admin.site.root to
>
gt; and no fancy use of namespaces or anything like that.
>
> I use django straight from subversion trunk (with no significant
> trouble), and finally got around to change admin.site.root to
> include(admin.site.urls) in urls.py, because site.root is going to
> disappear real soon
rsion trunk (with no significant
trouble), and finally got around to change admin.site.root to
include(admin.site.urls) in urls.py, because site.root is going to
disappear real soon now -- but it doesn't work.
It mangles the URL in such a way in the admin application that a link
becomes
7 matches
Mail list logo