djblets.auth.views.register() emits user_registered signal on success.
Review Request #6334 — Created Sept. 19, 2014 and submitted
djblets.auth.views.register()
emitsuser_registered
signal on success. This is useful for doing additional
work outside ofdjblets.auth.views.register()
when a
user registers.
All unit tests pass.
Manually tested it, and it works.
No automated testing done.
AS
- Change Summary:
-
added the students group.
- Groups:
-
-
This comment isn't really appropriate. Djblets is a reusable component which is used by some third-party projects, and the code that sends the e-mail exists in reviewboard. Can you rewrite this comment to explain that other components can listen to this signal to perform actions when new users are registered?
-
Tool: Pyflakes Processed Files: djblets/auth/views.py djblets/auth/signals.py Tool: PEP8 Style Checker Processed Files: djblets/auth/views.py djblets/auth/signals.py