mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-06-29 03:26:16 +00:00
Add basic Image Group functions
Make the Upload Pannel usable on mobile Remove useless code as Django had built-in functions to read the config Remove useless JS code Cleanup tempaltes
This commit is contained in:
parent
35c5951318
commit
e3a0eaf60b
18 changed files with 531 additions and 213 deletions
|
@ -84,6 +84,8 @@ def create_app(test_config=None):
|
|||
ALLOWED_EXTENSIONS=conf['upload']['allowed-extensions'],
|
||||
MAX_CONTENT_LENGTH=1024 * 1024 * conf['upload']['max-size'],
|
||||
WEBSITE=conf['website'],
|
||||
ADMIN=conf['admin'],
|
||||
APP_VERSION='23.03.09',
|
||||
)
|
||||
|
||||
if test_config is None:
|
||||
|
@ -138,6 +140,10 @@ def create_app(test_config=None):
|
|||
from . import routing
|
||||
app.register_blueprint(routing.blueprint)
|
||||
app.add_url_rule('/', endpoint='index')
|
||||
|
||||
# Load routes for groups
|
||||
from . import groups
|
||||
app.register_blueprint(groups.blueprint)
|
||||
|
||||
# Load routes for settings
|
||||
from . import settings
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue