Browse Source

Added some comments

pull/12/head
Darks 5 months ago
parent
commit
d3980fd131
Signed by: Darks <l.gatin@neuf.fr> GPG Key ID: F61F10FA138E797C
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      app/__init__.py

+ 3
- 3
app/__init__.py View File

@@ -13,6 +13,6 @@ login = LoginManager(app)
login.login_view = 'login'
login.login_message = "Veuillez vous authentifier avant de continuer."

from app import models
from app.routes import index, login, search, account, admin, users
from app.utils import pluralize
from app import models # IDK why this is here, but it works
from app.routes import index, login, search, account, admin, users # To load routes at initialization
from app.utils import pluralize # To use pluralize into the templates

Loading…
Cancel
Save