mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 06:29:18 +02:00
7 lines
187 B
Python
7 lines
187 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.subsonic_api_token = "demo"
|
|
u.save()
|