Skip to content

Commit

Permalink
Move app/db to core subpackage
Browse files Browse the repository at this point in the history
  • Loading branch information
ThiefMaster committed Jul 16, 2019
1 parent 6cb17b1 commit d3e0a0d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
NEWDLE_CONFIG=newdle.cfg
FLASK_ENV=development
FLASK_APP=newdle.app
FLASK_APP=newdle.core.app
Empty file added newdle/core/__init__.py
Empty file.
4 changes: 2 additions & 2 deletions newdle/app.py → newdle/core/app.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from flask import Flask
from werkzeug.middleware.proxy_fix import ProxyFix

from .api import api
from .db import db
from .frontend import frontend
from ..api import api
from ..frontend import frontend


def _configure_app(app):
Expand Down
File renamed without changes.

0 comments on commit d3e0a0d

Please sign in to comment.