Przeglądaj źródła

Fixed #24780 -- Removed outdated discussion of signals and custom users.

Tim Graham 10 lat temu
rodzic
commit
8e86d9d3df
1 zmienionych plików z 0 dodań i 9 usunięć
  1. 0 9
      docs/topics/auth/customizing.txt

+ 0 - 9
docs/topics/auth/customizing.txt

@@ -901,15 +901,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
 ---------------------------------