mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 01:09:16 +02:00
6 lines
157 B
Python
6 lines
157 B
Python
from funkwhale_api.users.models import User
|
|
|
|
|
|
u = User.objects.create(email='demo@demo.com', username='demo', is_staff=True)
|
|
u.set_password('demo')
|
|
u.save()
|