Commit ef27ec95 authored by Roman Desyatskii's avatar Roman Desyatskii

Fixed a bug

parent f5516214
...@@ -5,9 +5,9 @@ try: ...@@ -5,9 +5,9 @@ try:
models = ['aerich.models', 'db.models'] models = ['aerich.models', 'db.models']
except ImportError: except ImportError:
from src.app.core.settings import database_url from app.core.settings import database_url
models = ['aerich.models', 'src.app.db.models', 'src.app.db.person', 'src.app.db.genre'] models = ['aerich.models', 'app.db.models', 'app.db.person', 'app.db.genre']
TORTOISE_ORM = { TORTOISE_ORM = {
"connections": {"default": database_url}, "connections": {"default": database_url},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment