Skip to content
Snippets Groups Projects
Commit 6739558d authored by David Trattnig's avatar David Trattnig
Browse files

Declarative base is now part of the model.

parent f616d3b0
No related branches found
No related tags found
No related merge requests found
...@@ -29,7 +29,7 @@ import unittest ...@@ -29,7 +29,7 @@ import unittest
from flask import Flask from flask import Flask
from flask_sqlalchemy import SQLAlchemy from flask_sqlalchemy import SQLAlchemy
from sqlalchemy.ext.declarative import declarative_base # from sqlalchemy.ext.declarative import declarative_base
from libraries.base.logger import AuraLogger from libraries.base.logger import AuraLogger
from libraries.base.config import AuraConfig from libraries.base.config import AuraConfig
...@@ -46,7 +46,7 @@ def configure_flask(): ...@@ -46,7 +46,7 @@ def configure_flask():
app = Flask(__name__) app = Flask(__name__)
configure_flask() configure_flask()
DB = SQLAlchemy(app) DB = SQLAlchemy(app)
Base = declarative_base() # Base = declarative_base()
class Aura: class Aura:
""" """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment