Does anyone have specific examples of using authentication with Mongoengine?
A few questions that I have:
User class extension
from mongoengine.django.auth import User
from mongoengine import *
class User(User):
location = GeoPointField()
When I create a user without documents saved
User.create_user('bob','bobpass','bobsaget@fullhouse.gov')
User.objects
>>>[]
explicitly calling the .save () method has the same effect
Can a user class not be inherited?
Besides
Is there a login () method like in the standard authentication backend?
I'm starting to feel like I'm trying to put a square anchor in a circular hole with MongoDB and Django ...
source
share