mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 08:19:15 +02:00
Initial commit that merge both the front end and the API in the same repository
This commit is contained in:
commit
76f98b74dd
285 changed files with 51318 additions and 0 deletions
6
api/demo/demo-user.py
Normal file
6
api/demo/demo-user.py
Normal file
|
@ -0,0 +1,6 @@
|
|||
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()
|
Loading…
Add table
Add a link
Reference in a new issue