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

USER STORY : Implement Data Validation in Models #9

Closed
6 tasks done
Tracked by #6
tomik-z-cech opened this issue Feb 11, 2024 · 1 comment
Closed
6 tasks done
Tracked by #6

USER STORY : Implement Data Validation in Models #9

tomik-z-cech opened this issue Feb 11, 2024 · 1 comment

Comments

@tomik-z-cech
Copy link
Owner

tomik-z-cech commented Feb 11, 2024

As a Developer, I need implement data validation rules within Ohm-Azing Componenets database models.

Acceptance Criteria :

All values inserted into database are the correct values and types, all applicable fileds are all set to be required or/and to be unique or/and nullable/not nullable.

Tasks :

  • Set correct data type for all fileds
  • Set all required fields to required = True
  • Set all required fileds that can be nullable to null = True
  • Set all required fileds that have to be unique (username) unique = True
  • Create SuperUser
  • Test data type by inserting test data into databse

Epic :
EPIC 2

@tomik-z-cech
Copy link
Owner Author

This was done in commit 1d2929d.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant