コード例 #1
0
from apps.utils import include

# Include api modules
include("apps.auth.api")
include("apps.sms.api")
コード例 #2
0
ファイル: admin.py プロジェクト: ItEngine/ItEngine
from apps.utils import include


# Import admin modules
include("apps.main.admin")
コード例 #3
0
ファイル: urls.py プロジェクト: ItEngine/flask-boilerplate
from flask import render_template

from app import app
from apps.utils import include


# HTTP error handling
@app.errorhandler(404)
def not_found(error):
    return render_template('404.html'), 404


# HTTP error handling
@app.errorhandler(500)
def not_found(error):
    return render_template('500.html'), 500


# Declare imports url modules
include("apps.main.urls")
コード例 #4
0
ファイル: admin.py プロジェクト: mapeveri/danubio
from apps.utils import include

# Import admin modules
include("apps.auth.admin")
include("apps.sms.admin")
コード例 #5
0
from flask import render_template

from app import app
from apps.utils import include


# HTTP error handling
@app.errorhandler(404)
def not_found(error):
    return render_template('404.html'), 404


# HTTP error handling
@app.errorhandler(500)
def not_found(error):
    return render_template('500.html'), 500


# Declare imports url modules
include("apps.auth.urls")
コード例 #6
0
ファイル: api.py プロジェクト: ItEngine/flask-boilerplate
from apps.utils import include


# Include api modules
include("apps.auth.api")
コード例 #7
0
ファイル: admin.py プロジェクト: ItEngine/flask-boilerplate
from apps.utils import include


# Import admin modules
include("apps.auth.admin")
コード例 #8
0
ファイル: api.py プロジェクト: ItEngine/ItEngine
from apps.utils import include


# Include api modules
include("apps.main.api")