Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #19218 -- Added documentation note on limitations of signals wi…

…th custom User models.

Thanks to for the report.
  • Loading branch information...
commit fdb5c98d7ee54c7f89ec10b0203263f1f5b37510 1 parent c8985a8
@freakboy3742 freakboy3742 authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 docs/topics/auth.txt
7 docs/topics/auth.txt
@@ -2148,6 +2148,13 @@ 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 actual User model.
A full example
Please sign in to comment.
Something went wrong with that request. Please try again.