-
Notifications
You must be signed in to change notification settings - Fork 206
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
something wrong with django_mongoengine/forms/document_options.py #151
Comments
change |
Hi. Would you try to fix this issue? You need to add test case exposing issue, and then try your fix and create PR. |
I know when it happened now:
and when run validate , problem happened.... |
You suggested changing something in _init_field_cache, so you could start to creating test case for this issue. DRF is probably unrelated, take a look at validation, find out what is being called. Then create test for it and reproduce bug. Then, try your suggestion:
If it works, create PR. |
If the name of the reference field is different from the name of the reference, it will cause a KeyError.
The text was updated successfully, but these errors were encountered: