This website requires JavaScript.
Explore
Help
Sign in
Haldis
/
haldis
Watch
5
Star
0
Fork
You've already forked haldis
0
Code
Issues
39
Pull requests
Projects
Releases
Packages
Wiki
Activity
7d122cf6e9
haldis
/
app
/
models
/
database.py
5 lines
83 B
Python
Raw
Normal View
History
Unescape
Escape
Fix pylint for models files
2019-09-10 01:06:11 +02:00
# pylint: disable=C0111
Restructuring the codebase! But for real, it's a real shitstorm in there. - Added context by making the init go through a function and not implicitly happen via imports - Fixup all context and contextless function mixups - splitup the models in sensible different files - give the dump of view functions in views/__init__.py their own file - add all routes via blueprints, not half of them - move the slack notifications function and class to its own file, no idea what it was doing in a views file in the first place.
2019-08-28 03:46:04 +02:00
from
flask_sqlalchemy
import
SQLAlchemy
db
=
SQLAlchemy
(
)
Reference in a new issue
Copy permalink