MarseyWorld/files/routes/__init__.py

52 lines
1.2 KiB
Python

# import constants then...
from files.helpers.config.const import *
# import flask then...
from flask import g, request, render_template, make_response, redirect, send_file
# import our app then...
from files.__main__ import app
# import route helpers then...
from files.routes.routehelpers import *
# import wrappers then...
from files.routes.wrappers import *
# import jinja2 then... (lmao this was in feeds.py before wtf)
from files.routes.jinja2 import *
# import routes :)
from .admin import *
from .comments import *
from .errors import *
from .reporting import *
from .front import *
from .login import *
from .mail import *
from .oauth import *
from .posts import *
from .search import *
from .settings import *
from .static import *
from .users import *
from .votes import *
from .feeds import *
if FEATURES['AWARDS']:
from .awards import *
from .giphy import *
from .subs import *
if FEATURES['GAMBLING']:
from .lottery import *
from .casino import *
from .polls import *
from .notifications import *
if FEATURES['HATS']:
from .hats import *
if FEATURES['ASSET_SUBMISSIONS']:
from .asset_submissions import *
from .special import *
from .push_notifs import *
if FEATURES['PING_GROUPS']:
from .groups import *