Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using mongoengine > 0.8, referencefields now store objectids not dbrefs #42

Closed
dblado opened this issue Sep 27, 2013 · 1 comment
Closed

Comments

@dblado
Copy link
Contributor

dblado commented Sep 27, 2013

thinking maybe this needs to change from:
class UserSocialAuth(Document, DjangoUserMixin):
"""Social Auth association model"""
user = ReferenceField(USER_MODEL, dbref=True)
provider = StringField(max_length=32)
uid = StringField(max_length=255, unique_with='provider')
extra_data = DictField()

to:
class UserSocialAuth(Document, DjangoUserMixin):
"""Social Auth association model"""
user = ReferenceField(USER_MODEL)
provider = StringField(max_length=32)
uid = StringField(max_length=255, unique_with='provider')
extra_data = DictField()

@omab
Copy link
Owner

omab commented Sep 27, 2013

Changed, thanks!

@omab omab closed this as completed Sep 27, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants