[Python] when deploying DJANGO app in CPANEL, but only the home page works

Discussão em 'Python' iniciado por Stack, Novembro 29, 2024.

  1. Stack

    Stack Membro Participativo

    This is my urls:

    path('', views.test, name='home'),
    path('TEST/', views.test, name='test')


    home has button that redirect to test.

    I am not using any login, database or anything, just 2 html pages. but only when the path is '' that is working. I tryed on localhost and pythanywhere and it's working prefectly. the probleme only occur on Cpanel.

    Continue reading...

Compartilhe esta Página