aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/models/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyaggr3g470r/models/__init__.py')
-rw-r--r--pyaggr3g470r/models/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyaggr3g470r/models/__init__.py b/pyaggr3g470r/models/__init__.py
index 42903f4e..ba52b0de 100644
--- a/pyaggr3g470r/models/__init__.py
+++ b/pyaggr3g470r/models/__init__.py
@@ -98,4 +98,5 @@ def db_create(db):
user1.roles.extend([role_admin, role_user])
db.session.add(user1)
- db.session.commit() \ No newline at end of file
+ db.session.commit()
+ return role_admin, role_user
bgstack15