virocon-organization / viroconweb

A software to compute environmental contours. Django web-application package.
MIT License
2 stars 1 forks source link

Remove data from db.sqlite3 from the repo #118

Closed ahaselsteiner closed 6 years ago

ahaselsteiner commented 6 years ago

It is good practice to not store any data base data in the repository.

Instead of having some example data in the db.sqlite3 we should seed the data base with a command that the developer types in the command line.

ahaselsteiner commented 6 years ago

This is now implemented using data migration. Running python manage.py migrate also fills the data base with some initial data.

ahaselsteiner commented 6 years ago

Done.