Skip to content

Deployement Steps

Latest

Choose a tag to compare

@imvickykumar999 imvickykumar999 released this 19 Jun 07:23
· 3 commits to main since this release
f42f0bb
https://cleanwagtail.pythonanywhere.com

image

https://www.pythonanywhere.com/user/cleanwagtail/files/var/www/cleanwagtail_pythonanywhere_com_wsgi.py?edit

# This file contains the WSGI configuration required to serve up your
# web application at http://cleanwagtail.pythonanywhere.com/
# It works by setting the variable 'application' to a WSGI handler of some
# description.
#
# The below has been auto-generated for your Django project

import os
import sys

# add your project directory to the sys.path
project_home = '/home/cleanwagtail/cleanblog_wagtail'
if project_home not in sys.path:
    sys.path.insert(0, project_home)

# set environment variable to tell django where your settings.py is
os.environ['DJANGO_SETTINGS_MODULE'] = 'cleanblog_wagtail.settings.dev'


# serve django via WSGI
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()