merged with diegos changes

This commit is contained in:
Sam
2021-02-04 12:13:12 +00:00
parent a61f11465c
commit 8d359cdb71
5 changed files with 55 additions and 36 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
```
@@ -69,7 +69,8 @@ Change password:
```
Update user profile:
- endpoint: api/v1/user/update/<int:pk>/
- available for admin
- endpoint: api/v1/users/<int:pk>/
- method: PUT
- payload:
```json