Created
February 25, 2019 19:09
-
-
Save SerhatTeker/7f4b57caafff35f7d843af4f22caf6e1 to your computer and use it in GitHub Desktop.
Django AppRegistry Manual - Django Manual Test Setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# region Django Conf Test Setup | |
import os | |
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'config.settings.dev') | |
from django.core.wsgi import get_wsgi_application | |
application = get_wsgi_application() | |
# endregion | |
# code to test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment