mirror of
https://github.com/django/django.git
synced 2025-04-01 03:56:42 +00:00
[1.8.x] Fixed #24780 -- Removed outdated discussion of signals and custom users.
Backport of 8e86d9d3dfd68bebbfd1dd5006e0c25696855269 from master
This commit is contained in:
parent
e7b703d050
commit
d3a8f36fdb
@ -895,15 +895,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
|
||||
---------------------------------
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user