Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I updated the tests so that the error message tells what fields are incorrect. Please reset the trainer and reload the page (don't forget to copy your current code first).
edit: err wait, I bet I mistyped the code
yeah, my mistake.
But the problem is still the one I suggested: your code doesn't spot some invalide DateTimeField.
I just tried your code: you're actually looking at the wrong field (dunno why). Your code fails on instances where the DateTimeField is wrong, not the IntegerField.
note: double check what is the actual field: you don't provide the info, so I bet one case uses an IntegerField while the other is a BooleanField or something else.
can you provide the exact assertion/error message?edit: sec...why do you expect this case to be valid? The field is (I guess) supposed to be an IntegerField where None is allowed as default (when creating the field), but None is not an integer so it should still fail at validation time. => ?
Meaning you should have opened a
Question
instead of anIssue
.Note that the test configuration isn't enough to sort out your problem, because not every single test is calling the validation function (which is the one that is raising the errors). So I think this is your current problem: are you validating at the right time?
Closing, as "not an issue", but you can keep posting on the thread.
Cheers