From 11767ddeddee67e6d53a3155e3a4ebba0fb86e14 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Fri, 22 Jul 2016 18:13:42 +0300 Subject: Add initial_data.json fixture --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index bb688b1..513e3ad 100644 --- a/README.md +++ b/README.md @@ -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` -- cgit v1.3.1