You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got this error when I created a ModelForm object with data that violated the unique constraint of a model field. Neo4django tries to get the correct error message for violating that constraint, but the corresponding entry does not exist in properties.Property.default_error_messages (properties.py line 42).
I know this is an old issue and I'm sure you moved on, but someone else might find this useful. Someone might also want to add 'unique' to Property.default_error_messages.
I have a very simple ModelForm subclass:
When I try to save the form in my view (only the post function here):
I got this error:
Tested with regular non-neo4django models and everything is fine.
Asked also a stackoverflow question.
The text was updated successfully, but these errors were encountered: