try to package...

This commit is contained in:
Daniel Tsvetkov 2020-03-18 11:07:53 +01:00
parent 8ac72bda5b
commit d15b2703ce
6 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
from src.persistance import init_db
from src.webapp import app
from oshipka.persistance import init_db
from oshipka.webapp import app
if __name__ == "__main__":
init_db(app)

View File

View File

@ -1,7 +1,7 @@
import os
from config import SQLALCHEMY_DATABASE_URI, MAKEDIRS, DATABASE_FILE
from src.persistance.models import db
from oshipka.persistance.models import db
def populate_db(app):