How to Host a Django Project on Shared Hosting - 2026

Опубликовано: 20 Июнь 2026
на канале: Chrysanthus Obinna Chiagwah
93
5

GitHub Repository: https://github.com/chrysanthusobinna/djang...
passenger_wsgi.py file:


import os
import sys
sys.path.insert(0, os.path.dirname(__file__))
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "your_project.settings")
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()



⚠️ Make sure to replace "your_project" with your actual Django project name.
If you found this helpful, don’t forget to like the video and subscribe for more tutorials 🚀