1
0
mirror of https://github.com/django/django.git synced 2025-04-23 00:34:37 +00:00

[1.7.x] Fixed #24780 -- Removed outdated discussion of signals and custom users.

Backport of 8e86d9d3dfd68bebbfd1dd5006e0c25696855269 from master
This commit is contained in:
Tim Graham 2015-05-11 09:10:30 -04:00
parent edeb257084
commit d92eaebf61

View File

@ -880,15 +880,6 @@ If your project uses proxy models, you must either modify the proxy to extend
the User model that is currently in use in your project, or merge your proxy's
behavior into your User subclass.
Custom users and signals
------------------------
Another limitation of custom User models is that you can't use
:func:`django.contrib.auth.get_user_model()` as the sender or target of a signal
handler. Instead, you must register the handler with the resulting User model.
See :doc:`/topics/signals` for more information on registering and sending
signals.
Custom users and testing/fixtures
---------------------------------