undid regressions from code merge with diego
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user