diff options
| author | Yuval Adam <_@yuv.al> | 2016-07-22 18:13:42 +0300 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2016-07-22 18:13:42 +0300 |
| commit | 11767ddeddee67e6d53a3155e3a4ebba0fb86e14 (patch) | |
| tree | 15af818e6b5ae3892b46a311ce307197c14dde91 /README.md | |
| parent | bc499a3628d3b5a246c36504998f2f9ce8fb2639 (diff) | |
Add initial_data.json fixture
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -33,4 +33,10 @@ Then create a device for your user using one of the published [test vectors](htt b'cccccccb' # note the modhex encoded public id of the primary key (1) ``` -You should now be able to log in to http://127.0.0.1:8000/admin/login/ using user `admin`, password `password` and the OTP token `cccccccbdvgtiblfkbgturecfllberrvkinnctnn` +For convenience you can just load the fixture data instead: + +```bash +$ python manage.py loaddata initial_data.json +``` + +You should now be able to log in to http://127.0.0.1:8000/admin/login/ using user `admin`, password `admin123` and the OTP token `cccccccbdvgtiblfkbgturecfllberrvkinnctnn` |
