Skip to content

Commit f48bb83

Browse files
authored
Merge pull request #138 from tjmlabs/update_Readme_2
print user token
2 parents 9802e5a + cb478d0 commit f48bb83

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

readme.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,8 @@ docker-compose exec web python manage.py createsuperuser
272272
# get the token from the superuser creation
273273
docker-compose exec web python manage.py shell
274274
from accounts.models import CustomUser
275-
user = CustomUser.objects.first().token # save this token somewhere
275+
user = CustomUser.objects.first().token
276+
print(user) # save this token somewhere (use it for authorization)
276277
```
277278

278279
4. Application will be running at http://localhost:8001 and the swagger documentation at http://localhost:8001/v1/docs

0 commit comments

Comments
 (0)