VersionField and SpecField shouldn't accept strings, only Version
/ Spec
objects.
#97
Labels
Status:CodeWelcome
This feature design has been approved; next step: write the code!
Topic:Django
Issues related to Django integration
Type:Bug
problem
running get_or_create twice will result in the first run to fail and the second to pass
the model
test script
output first run:
output second run:
looks like the the create part of get_or_create returns not an object but a string, the second time get_or_create is run the get part kicks in and returns a correct version object. This is inconsistent and should work. Tested it with python 3.6 and 2.7 both same results. Django 1.11.15
The text was updated successfully, but these errors were encountered: