Example #1
0
from apps.utils import include

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


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

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


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


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


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