Skip to content

Commit

Permalink
Add field season
Browse files Browse the repository at this point in the history
See #2
  • Loading branch information
sepulzera committed Nov 14, 2024
1 parent d36a2f4 commit d690e15
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Admin_site.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ The content has to exactly match the placeholder, nothing more or less, in order

## Manage recipe groups

OwnRecipes supports recipe groups, namely `Courses`, `Cuisines` and `Tags`. When creating or editing recipes, those lists will be extended by new items.
OwnRecipes supports recipe groups, namely `Courses`, `Cuisines`, `Seasons` and `Tags`. When creating or editing recipes, those lists will be extended by new items.

You can manage those lists via the the Admin Site. It can prove useful to add some pre-defined items, that are suggested when using the recipe form.
Or perhaps you want to remove or rename some existing items.
Expand Down
2 changes: 2 additions & 0 deletions docs/Running_the_App.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ If you want to add some test data you can load a few recipes and some news data.
sudo docker compose -f docker-prod.yml -f docker-prod.override.yml -f docker-prod.version.yml run --rm --entrypoint 'sh' api
./manage.py loaddata course_data.json
./manage.py loaddata cuisine_data.json
./manage.py loaddata season_data.json
./manage.py loaddata tag_data.json
./manage.py loaddata news_data.json
./manage.py loaddata recipe_data.json
./manage.py loaddata ing_data.json
Expand Down
2 changes: 2 additions & 0 deletions docs/Running_the_App_Without_Docker_in_dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ Optional: Seed the database with example data.
```bash
/bin/bash -ac '. .env.service.local; exec python3 manage.py loaddata course_data.json'
/bin/bash -ac '. .env.service.local; exec python3 manage.py loaddata cuisine_data.json'
/bin/bash -ac '. .env.service.local; exec python3 manage.py loaddata season_data.json'
/bin/bash -ac '. .env.service.local; exec python3 manage.py loaddata tag_data.json'
/bin/bash -ac '. .env.service.local; exec python3 manage.py loaddata news_data.json'
/bin/bash -ac '. .env.service.local; exec python3 manage.py loaddata recipe_data.json'
/bin/bash -ac '. .env.service.local; exec python3 manage.py loaddata ing_data.json'
Expand Down
2 changes: 2 additions & 0 deletions docs/Running_the_App_in_dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ If you want to add some test data you can load a few recipes and some news data.
sudo docker compose run --rm --entrypoint 'sh' api
./manage.py loaddata course_data.json
./manage.py loaddata cuisine_data.json
./manage.py loaddata season_data.json
./manage.py loaddata tag_data.json
./manage.py loaddata news_data.json
./manage.py loaddata recipe_data.json
./manage.py loaddata ing_data.json
Expand Down

0 comments on commit d690e15

Please sign in to comment.