-
Notifications
You must be signed in to change notification settings - Fork 6
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
DOCSP-43200: Get started #10
DOCSP-43200: Get started #10
Conversation
✅ Deploy Preview for docs-django ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
from django.conf import settings | ||
from django_mongodb_backend.fields import EmbeddedModelField, ArrayField | ||
|
||
class Award(models.Model): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Embedded models (Award) should now inherit django_mongodb_backend.models.EmbeddedModel
rather than models.Model
(see mongodb/django-mongodb-backend#227).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed! I'll update the other PRs as well
Pull Request Info
PR Reviewing Guidelines
JIRA - https://jira.mongodb.org/browse/DOCSP-43200
Old PR (got approval x4): mongodb/docs-pymongo#132
Staging Links
Self-Review Checklist