#13381: admin:login doesn't work
-------------------------------------------+--------------------------------
Reporter: alperkanat | Owner: nobody
Status: closed | Milestone:
Component: django.contrib.admin | Version: 1.2-beta
Resolution: invalid | Keywords: sites, named, url,
pattern, namespace
Stage: Unreviewed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-------------------------------------------+--------------------------------
Changes (by russellm):
* status: new => closed
* needs_better_patch: => 0
* resolution: => invalid
* needs_tests: => 0
* needs_docs: => 0
Comment:
It's not a case of "doesn't work" - it's a case of "isn't needed". Admin
doesn't require a /login url, and unless I'm mistaken, there isn't
anywhere in documentation that suggests that it should be available. You
just visit the url that you actually want, and the login process is
handled as a decorator to that view.
Even if a login view were needed, the patch you provide doesn't work - or
rather, it will log you in, but on success, it redirects you to the same
login page. Again, the login mechanism for admin is different to the
default auth.login process.
--
Ticket URL: <http://code.djangoproject.com/ticket/13381#comment:1>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.