chg: revamped fistures !minor

This commit is contained in:
cătălin 2021-01-25 14:59:23 +01:00
commit 66b8c1bc53
8 changed files with 185 additions and 56 deletions

View file

@ -25,7 +25,13 @@ EMAIL_HOST_PASSWORD = "somepassword"
EMAIL_USE_TLS = True
```
- this will send an email when calling `/api/orders/{order}/sent` which will render `bernini/templates/order_sold.html` as body
#### fixtures
```bash
./wrapper.sh m loaddata users
./wrapper.sh m loaddata products
./wrapper.sh m loaddata product
./wrapper.sh m loaddata lines
```
### api
- based on [Django REST framework](https://www.django-rest-framework.org/)
- auth system using and extending django's `contrib.auth`