undid regressions from code merge with diego

This commit is contained in:
Sam
2021-02-04 13:19:43 +00:00
parent b11a5afa8b
commit 65c571a887
9 changed files with 44 additions and 33 deletions

View File

@@ -27,7 +27,7 @@ From inside the project's folder:
- Make migrations:
```bash
```
python manage.py makemigrations core geo companies products history stats
python manage.py migrate
```
@@ -45,6 +45,7 @@ To load initial location data use: `python manage.py addgeo`
### User Management
Creation:
- endpoint: /api/v1/users/
- method: GET
- payload:
@@ -57,6 +58,7 @@ Creation:
```
Change password:
- endpoint: api/v1/user/change_password/{user.pk}/
- method: POST
- payload:
@@ -69,7 +71,6 @@ Change password:
```
Update user profile:
- available for admin
- endpoint: api/v1/users/<int:pk>/
- method: PUT
- payload: