When using string class names in ManyToManyField
results in an error
#2192
flaeppe
started this conversation in
Common issues and solutions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When referencing a related model with
ManyToManyField
in a string, e.g.An error can appear with a message looking something like:
Make sure that you then use a format that includes the app label in the string e.g.
Doing the above should make the error go away.
Ref: #1802 (comment)
Beta Was this translation helpful? Give feedback.
All reactions