Admin logout fails in r6447

2 views
Skip to first unread message

Dokter Bob

unread,
Nov 3, 2007, 11:38:59 AM11/3/07
to Django users, dr...@dokterbob.net
Dear people,

After upgrading our Django distribution we found that it seems
inpossible to log out of the admin interface.
Are we the only ones experiencing this problem? Should I file a bug?

If you have any questions regarding our setup please ask.

Thanks,
Dokter Bob

Malcolm Tredinnick

unread,
Nov 3, 2007, 8:30:14 PM11/3/07
to django...@googlegroups.com
On Sat, 2007-11-03 at 08:38 -0700, Dokter Bob wrote:
> Dear people,
>
> After upgrading our Django distribution we found that it seems
> inpossible to log out of the admin interface.
> Are we the only ones experiencing this problem? Should I file a bug?

Logout works fine, in general (I just tested it). So it seems to be a
problem that's somehow tied to your setup.

Since you don't say what actually happens, it's impossible to guess
further. Things to look at:

Do you see an error? How far does the processing get inside Django? For
example, does it get inside the logout function? Scatter some print
statements around to see which bits of code are being executed with
which values and it might give you some more clues.

Regards,
Malcolm

--
Telepath required. You know where to apply...
http://www.pointy-stick.com/blog/

Dokter Bob

unread,
Nov 4, 2007, 4:27:23 AM11/4/07
to Django users
My bad - it turned out there was a non-existent view listed in our
url's.
Somehow this caused the admin logout to not work (and some other
strange problems too).

Sorry to have bothered you. ;)

Regards,
Dokter Bob

James Bennett

unread,
Nov 4, 2007, 6:35:52 AM11/4/07
to django...@googlegroups.com
On 11/4/07, Dokter Bob <deve...@gmail.com> wrote:
> My bad - it turned out there was a non-existent view listed in our
> url's.
> Somehow this caused the admin logout to not work (and some other
> strange problems too).

I suspect the reason for this is that the admin now uses the 'url'
template tag for generating some of its internal links, and that tag
needs to scan your URLConf and look at information about the views the
URLs resolve to, so if you have a URL that points to a nonexistent
view it blows up.

--
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."

Reply all
Reply to author
Forward
0 new messages