Created base database controller and user database controller to allow for initial database control
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from user import User
|
||||
from .user import User
|
||||
|
||||
class Admin(User):
|
||||
'''
|
||||
@@ -8,10 +8,10 @@ class Admin(User):
|
||||
super().__init__()
|
||||
self.store = ""
|
||||
|
||||
def login():
|
||||
def login(self):
|
||||
print("Logging in as Admin")
|
||||
|
||||
def signup():
|
||||
def signup(self):
|
||||
print("Signing up as Admin")
|
||||
|
||||
def createProduct():
|
||||
|
||||
Reference in New Issue
Block a user