*My Wsgi.py File:***
import os import sys path = '/home/Khader/dating_app' if path not in sys.path: sys.path.insert(0, path) os.environ['DJANGO_SETTINGS_MODULE'] = 'dating_app.settings' from django.core.wsgi import get_wsgi_application application = get_wsgi_application()
*My urls.py File:*
from django.urls import include, re_path
from django.contrib import admin
from profiles import urls as profile_urls
from chat import urls as chat_urls
urlpatterns = [
re_path(r'^admin/', admin.site.urls),
re_path(r'^', include(home_urls)),
re_path(r'accounts/', include(profile_urls)),
re_path(r'chat/', include(chat_urls)),
]