mirror of
https://github.com/StefBuwalda/WebTech.git
synced 2025-10-30 19:29:58 +00:00
Added services idk
This commit is contained in:
4
seed.py
4
seed.py
@@ -11,7 +11,9 @@ new_strikers = [
|
||||
|
||||
"""
|
||||
|
||||
new_user = User(username="admin", password=generate_password_hash("admin"))
|
||||
new_user = User(
|
||||
username="admin", password=generate_password_hash("admin"), is_admin=True
|
||||
)
|
||||
new_services = Service(name="test123", url="http://google.com")
|
||||
|
||||
with app.app_context():
|
||||
|
||||
Reference in New Issue
Block a user