update code and fix errors

update code and fix errors
This commit is contained in:
jnfire
2022-08-02 08:56:21 +02:00
parent fc650af1b7
commit ae2758a44f
18 changed files with 72 additions and 59 deletions

View File

@ -23,7 +23,7 @@ run.loaddata: ## Load initial data
# Remove database
docker-compose exec -T django bash -c "python3 manage.py flush --noinput"
# Remove media
sudo rm -rf media/categories/*
rm -rf media
# Migrate
docker-compose exec -T django bash -c "python3 manage.py migrate"