Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
flowspy
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
itminedu
flowspy
Commits
dd17cb94
Commit
dd17cb94
authored
11 years ago
by
Leonidas Poulopoulos
Browse files
Options
Downloads
Patches
Plain Diff
Comply with Django 1.4 dir structure
parent
62d361a3
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
flowspy/__init__.py
+0
-0
0 additions, 0 deletions
flowspy/__init__.py
flowspy/wsgi.py
+28
-0
28 additions, 0 deletions
flowspy/wsgi.py
with
28 additions
and
0 deletions
flowspy/__init__.py
0 → 100644
+
0
−
0
View file @
dd17cb94
This diff is collapsed.
Click to expand it.
flowspy/wsgi.py
0 → 100644
+
28
−
0
View file @
dd17cb94
"""
WSGI config for flowspy project.
This module contains the WSGI application used by Django
'
s development server
and any production WSGI deployments. It should expose a module-level variable
named ``application``. Django
'
s ``runserver`` and ``runfcgi`` commands discover
this application via the ``WSGI_APPLICATION`` setting.
Usually you will have the standard Django WSGI application here, but it also
might make sense to replace the whole Django WSGI application with a custom one
that later delegates to the Django one. For example, you could introduce WSGI
middleware here, or combine a Django application with an application of another
framework.
"""
import
os
os
.
environ
.
setdefault
(
"
DJANGO_SETTINGS_MODULE
"
,
"
flowspy.settings
"
)
# This application object is used by any WSGI server configured to use this
# file. This includes Django's development server, if the WSGI_APPLICATION
# setting points here.
from
django.core.wsgi
import
get_wsgi_application
application
=
get_wsgi_application
()
# Apply WSGI middleware here.
# from helloworld.wsgi import HelloWorldApplication
# application = HelloWorldApplication(application)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment