Fix an error in get_user_document

This commit is contained in:
Nicolas Cortot 2013-08-04 11:01:09 +02:00
parent c17f94422f
commit b98b06ff79

View File

@ -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