Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

"Ensure this value is greater than or equal to 0" #4

Open
olance opened this issue Jun 23, 2014 · 1 comment
Open

"Ensure this value is greater than or equal to 0" #4

olance opened this issue Jun 23, 2014 · 1 comment

Comments

@olance
Copy link

olance commented Jun 23, 2014

I get this error from the Django Admin app, hosted on Google App Engine with Google Cloud SQL as a database backend.

Everything works perfectly well on my dev machine, and used to work on GAE too.
I can't figure out why I'm getting this error now, with any version string entered into the field...

any help/idea appreciated :)

@olance
Copy link
Author

olance commented Jun 24, 2014

I have "fixed" the issue by changing the inheritance of VersionField from models.PositiveIntegerField to models.IntegerField.

It did the trick, but I really can't figure why validation are failing when everything seems to work correctly otherwise.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant