Skip to content

Commit

Permalink
Add price schema. Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Sep 22, 2024
1 parent 2257d1d commit a55d40b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,9 @@ To run tests locally, just launch:
```
poetry run python manage.py test
```

## Generate the SQL schema image

```
poetry run python manage.py graph_models -a -X ContentType,LogEntry,AbstractUser,AbstractBaseSession,Group,Permission,Success,Failure,Task,Schedule,OrmQ,User,Session -o docs/2024-09-22_price-schema.png
```
3 changes: 2 additions & 1 deletion config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,8 @@
MIDDLEWARE += ["debug_toolbar.middleware.DebugToolbarMiddleware"]


# Shell Plus (django-extensions)
# Django-extensions
# https://django-extensions.readthedocs.io/
# ------------------------------------------------------------------------------

SHELL_PLUS = "ipython"
Expand Down
Binary file added docs/2024-09-22_price-schema.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a55d40b

Please sign in to comment.