tomik-z-cech/PP5-Ohm-Azing-Components

USER STORY : Implement Data Validation in Models

tomik-z-cech opened this issue · 1 comments

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

This was done in commit 1d2929d.