Merge remote-tracking branch 'origin/pr/432'

Conflicts:
	tests/test_django.py
This commit is contained in:
Ross Lawley
2013-08-06 11:05:52 +00:00
2 changed files with 13 additions and 6 deletions

View File

@@ -15,8 +15,8 @@ MONGOENGINE_USER_DOCUMENT = getattr(
settings, 'MONGOENGINE_USER_DOCUMENT', 'mongoengine.django.auth.User')
def get_user_document(self):
"""Get the user docuemnt class user for authentcation.
def get_user_document():
"""Get the user document class used for authentication.
This is the class defined in settings.MONGOENGINE_USER_DOCUMENT, which
defaults to `mongoengine.django.auth.User`.