Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cs50-web
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Minhao Qiu
cs50-web
Commits
6a02f927
Commit
6a02f927
authored
Oct 5, 2019
by
Minhao Qiu
Browse files
Options
Downloads
Patches
Plain Diff
start first django app
parent
0b9bd934
No related branches found
No related tags found
No related merge requests found
Changes
21
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
app_11/mysite/mysite/wsgi.py
+16
-0
16 additions, 0 deletions
app_11/mysite/mysite/wsgi.py
with
16 additions
and
0 deletions
app_11/mysite/mysite/wsgi.py
0 → 100644
+
16
−
0
View file @
6a02f927
"""
WSGI config for mysite project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/
"""
import
os
from
django.core.wsgi
import
get_wsgi_application
os
.
environ
.
setdefault
(
'
DJANGO_SETTINGS_MODULE
'
,
'
mysite.settings
'
)
application
=
get_wsgi_application
()
This diff is collapsed.
Click to expand it.
Prev
1
2
Next
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
sign in
to comment