#5612: Signals for login / logout
---------------------------------------------+------------------------------
Reporter: pterk | Owner: SmileyChris
Status: new | Milestone:
Component: Core framework | Version: SVN
Resolution: | Keywords:
Stage: Design decision needed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------------+------------------------------
Comment (by mitar):
Ah, yes. This is something else. I pass `next` parameter to login view so
that user is redirected back to where it started the login process. So I
do not use signals for redirecting. But once you do redirecting it is nice
to tell user that login was successful, because otherwise just some small
part of the page changes (like that username is written somewhere instead
of "login" link). So messages are useful to tell the user this. And having
signals then makes this really easy to do.
--
Ticket URL: <http://code.djangoproject.com/ticket/5612#comment:22>
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.