from expenses.models import Expense, Users Expense.create_table() Users.create_table()
def database(): Expense.drop_table() Expense.create_table() Users.drop_table() Users.create_table() yield