More fixes
parent
66c72473af
commit
fdc72d06ff
|
@ -7,14 +7,14 @@
|
|||
"first_name": "",
|
||||
"last_name": "",
|
||||
"description": "",
|
||||
"default_language": null,
|
||||
"default_language": "",
|
||||
"color": "",
|
||||
"photo": "",
|
||||
"is_active": true,
|
||||
"colorize_tags": false,
|
||||
"default_timezone": null,
|
||||
"default_timezone": "",
|
||||
"is_superuser": true,
|
||||
"token": null,
|
||||
"token": "",
|
||||
"is_staff": true,
|
||||
"last_login": "2013-04-04T07:36:09.880Z",
|
||||
"groups": [],
|
||||
|
|
|
@ -34,6 +34,7 @@ class Command(BaseCommand):
|
|||
username='user%d' % (counter),
|
||||
first_name='user%d' % (counter),
|
||||
email='foouser%d@domain.com' % (counter),
|
||||
token=''.join(random.sample('abcdef0123456789', 10)),
|
||||
)
|
||||
|
||||
user.set_password('user%d' % (counter))
|
||||
|
|
Loading…
Reference in New Issue