Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enforce max legth for Strings #182

Open
kumy opened this issue Oct 3, 2018 · 0 comments
Open

Enforce max legth for Strings #182

kumy opened this issue Oct 3, 2018 · 0 comments
Assignees

Comments

@kumy
Copy link
Member

kumy commented Oct 3, 2018

[More areminder than an issue], don't forget to define length validator on all text fields according to the database schema.

    language = fields.Str(validate=validate.Length(max=2))

Also check if something can be done automatically - mapped on the database schema

@kumy kumy self-assigned this Oct 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant