Exemple #1
0
    def __init__(self, email, password):
        self.db = MongodbController()
        self.user = email
        self.password = password
        self.name = email

        self.glistController = GroceryLists(self.user)
        self.plistController = PantryLists(self.user)

        self.currentListIndex = 0
Exemple #2
0
from grocery import GroceryLists
from user import User 

user = '******'
groceryLists = GroceryLists(user)
glists = groceryLists.getLists()

print(glists[0])



#glists = db.getGLists("[email protected])