Ejemplo n.º 1
0
from apps.utils import include

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


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

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


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


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


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