Esempio n. 1
0
from apps.utils import include

# Include api modules
include("apps.auth.api")
include("apps.sms.api")
Esempio n. 2
0
from apps.utils import include


# Import admin modules
include("apps.main.admin")
Esempio n. 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")
Esempio n. 4
0
from apps.utils import include

# Import admin modules
include("apps.auth.admin")
include("apps.sms.admin")
Esempio n. 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")
Esempio n. 6
0
from apps.utils import include


# Include api modules
include("apps.auth.api")
Esempio n. 7
0
from apps.utils import include


# Import admin modules
include("apps.auth.admin")
Esempio n. 8
0
from apps.utils import include


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