mirror of
https://github.com/StefBuwalda/WebTech.git
synced 2025-10-31 19:59:59 +00:00
changed user to Daan
This commit is contained in:
8
seed.py
8
seed.py
@@ -18,9 +18,9 @@ new_users = [
|
|||||||
is_admin=True,
|
is_admin=True,
|
||||||
),
|
),
|
||||||
User(
|
User(
|
||||||
username="test",
|
username="Daan",
|
||||||
password=generate_password_hash("test123"),
|
password=generate_password_hash("pass"),
|
||||||
is_admin=False,
|
is_admin=True,
|
||||||
),
|
),
|
||||||
User(
|
User(
|
||||||
username="stef",
|
username="stef",
|
||||||
@@ -31,6 +31,8 @@ new_users = [
|
|||||||
|
|
||||||
new_services = [
|
new_services = [
|
||||||
Service(name="test123", url="http://google.com", user_id=1),
|
Service(name="test123", url="http://google.com", user_id=1),
|
||||||
|
# Daan services
|
||||||
|
Service(name="Google", url="https://google.com", user_id=2),
|
||||||
Service(name="Netflix", url="https://www.netflix.com", user_id=2),
|
Service(name="Netflix", url="https://www.netflix.com", user_id=2),
|
||||||
# Stef services
|
# Stef services
|
||||||
Service(name="Plex", url="https://plex.local", user_id=3),
|
Service(name="Plex", url="https://plex.local", user_id=3),
|
||||||
|
|||||||
Reference in New Issue
Block a user