new file: .gitlab-ci.yml

modified:   app.py
This commit is contained in:
Russell Ballestrini 2025-01-20 20:44:18 +00:00
parent 354058ab03
commit 48817d4c08
2 changed files with 126 additions and 1 deletions

4
app.py
View file

@ -1406,7 +1406,7 @@ def view_media_view(request):
################################################################################
def main(global_config=None, **settings):
def main(*config, **settings):
# Configure logging
logging.basicConfig(level=logging.INFO)
@ -1520,6 +1520,8 @@ def main(global_config=None, **settings):
config.scan()
return config.make_wsgi_app()
# Expose the WSGI application callable for uwsgi
uwsgi_app = main({})
if __name__ == "__main__":
app = main()