Skip to content

Commit 36086d3

Browse files
committed
add wsgi entrypoint
1 parent 97f81b6 commit 36086d3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

example/wsgi.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# This is used for staging & production
2+
import os
3+
import sys
4+
5+
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "example.settings")
6+
7+
from django.core.wsgi import get_wsgi_application
8+
application = get_wsgi_application()

0 commit comments

Comments
 (0)