Skip to content

Commit

Permalink
Merge pull request #138 from tjmlabs/update_Readme_2
Browse files Browse the repository at this point in the history
print user token
  • Loading branch information
HalemoGPA authored Feb 6, 2025
2 parents 9802e5a + cb478d0 commit f48bb83
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,8 @@ docker-compose exec web python manage.py createsuperuser
# get the token from the superuser creation
docker-compose exec web python manage.py shell
from accounts.models import CustomUser
user = CustomUser.objects.first().token # save this token somewhere
user = CustomUser.objects.first().token
print(user) # save this token somewhere (use it for authorization)
```

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

0 comments on commit f48bb83

Please sign in to comment.