Skip to content

Commit

Permalink
Merge pull request #474 from jfw/patch-1
Browse files Browse the repository at this point in the history
Provided full path to mixin
  • Loading branch information
ad-m committed Nov 29, 2016
2 parents e3c7dd4 + fd15f7c commit 75ceaa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/userguide/custom-user-model.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ functionality. This can result in errors if guardian is imported into the models
of the same app where the custom user model lives.

To fix this, it is recommended to add the setting ``GUARDIAN_MONKEY_PATCH = False``
in your settings.py and add the ``GuardianUserMixin`` to your custom user model.
in your settings.py and subclass ``guardian.mixins.GuardianUserMixin`` in your custom user model.

.. important::
``django-guardian`` relies **heavily** on the ``auth.User`` model.
Expand Down

0 comments on commit 75ceaa0

Please sign in to comment.