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? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAC32Mki%3DmD8B0yPwDMTVvmAmk6QXpshXQF3mTysOc%3D1vjnnPhw%40mail.gmail.com.