Help please, please help

10 views
Skip to first unread message

Dexterr Jay

unread,
May 5, 2022, 2:53:48 AM5/5/22
to django...@googlegroups.com
my main project urls.py file  has
urlpatterns = [
 path('mainapp/', include('mainapp.urls', namespace='mainap)),
]
and my app urls.py has the following path
path('', views.item_list, name='item_list'),
 
my allowed hosts in settings is
ALLOWED_HOSTS = ['.herokuapp.com']
i have already deployed the app in heroku, and but i'm getting a 404 page not found error when i open the app in my browser
How do I set my Allowed Hosts to  point  to https://mydomain.herokuapp/mainapp?
Reply all
Reply to author
Forward
0 new messages