organizations&organizationtypes

This commit is contained in:
Andreas Stephanides
2017-02-10 22:06:49 +01:00
parent 0c1b586962
commit 621e1ca1ad
19 changed files with 474 additions and 86 deletions

View File

@@ -85,7 +85,8 @@ def after_request(response):
from .articles.views import article_pages
from .sections.views import section_pages
from .compiler.views import compiler_pages
from .organizations.views import organization_pages
from .organizationtypes.views import organizationtype_pages
@app.route("/")
@app.route("/index")
@@ -97,6 +98,9 @@ def home():
app.register_blueprint(article_pages, url_prefix='/articles')
app.register_blueprint(section_pages, url_prefix='/sections')
app.register_blueprint(compiler_pages, url_prefix='/compiler')
app.register_blueprint(organization_pages, url_prefix='/organizations')
app.register_blueprint(organization_pages, url_prefix='/organizations')
app.register_blueprint(organizationtype_pages, url_prefix='/organizationtypes')
# ------------ Telegram Bot