Fix an error in get_user_document
This commit is contained in:
parent
c17f94422f
commit
b98b06ff79
@ -15,7 +15,7 @@ MONGOENGINE_USER_DOCUMENT = getattr(
|
||||
settings, 'MONGOENGINE_USER_DOCUMENT', 'mongoengine.django.auth.User')
|
||||
|
||||
|
||||
def get_user_document(self):
|
||||
def get_user_document():
|
||||
"""Get the user docuemnt class user for authentcation.
|
||||
|
||||
This is the class defined in settings.MONGOENGINE_USER_DOCUMENT, which
|
||||
|
Loading…
x
Reference in New Issue
Block a user