예제 #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
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
from apps.utils import include


# Include api modules
include("apps.auth.api")
예제 #7
0
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")