Commit a1757d80 authored by Bruno Renié's avatar Bruno Renié
Browse files

Register docs, update to 0.6

parent 34ab941a
......@@ -48,9 +48,9 @@ copyright = u'2012, Bruno Renié'
# built documents.
#
# The short X.Y version.
version = '0.5.1'
version = '0.6'
# The full version, including alpha/beta/rc tags.
release = '0.5.1'
release = '0.6'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
......
......@@ -23,10 +23,15 @@ Contents:
quickstart
views
signals
Changelog
---------
* 0.6:
* New ``user_recovers_password`` signal (José Sazo).
* 0.5.1:
* Spanish, Polish and Russian translations.
......
Signals
=======
user_recovers_password
----------------------
``password_reset.signals.user_recovers_password``
-------------------------------------------------
This signal is sent after users recover their passwords. Of course you could do extra
processing on the user by subclassing the view::
class Register(views.Register):
def form_valid(self, form):
response = super(Register, self).form_valid(form)
# do extra processing here
return response
But then you can't use ``password_reset.urls`` directly since you need to swap a view.
A signal is provided for this reason.
This signal is sent after a user successfully recovers their password. It
provides the ``user`` instance as well as the ``request`` object from the
view.
__version__ = '0.5.1'
__version__ = '0.6'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment