Eg3-git / wad2project

0 stars 0 forks source link

Added population script, made slight changes to model field options #11

Closed Tnick0 closed 3 years ago

Tnick0 commented 3 years ago

In models.py the option blank=True refers to whether the field in the corresponding form can be left blank. It is a better approach to use null=True, which has to do with the database.

Also, I removed the default value "Unknown" from same date fields because it was invalid.

The options for some fields in models.py have to match their corresponding forms and thus they can be changed later. Feel free to make suggestions.