App pages not rendering (throwing Sorry Page Not Found!)

Login page is rendering fine but not other app pages in django hosted web application (But all are working fine locally)

from django.urls import path
from . import views

urlpatterns = [
    path('', views.de_login, name="de-login"),

from django.urls import path
from . import views

urlpatterns = [
    path('de_User', views.de_User, name="Home"),
    path('valuation', views.valuation, name="Valuation"),
] (Project)

from django.contrib import admin
from django.urls import path, include

urlpatterns = [
    path('', include('de_Admin.urls')),
    path('', include('de_Login.urls')),
    path('', include('de_User.urls')),


 <form action="{% url 'de-login' %}" method="post">
  {{ form }}
  {% csrf_token %}
  <div class="form-floating mb-3">
      <input class="form-control"  name="user_name" type="text" placeholder="User Name" />
      <label for="username">User Name</label>
  <div class="form-floating mb-3">
      <input class="form-control" id="inputPassword" type="password" placeholder="Password" />
      <label for="inputPassword">Password</label>
  <div class="row col-md-12 mt-4" style="background:#e4dbdb;padding:10px;margin-left:1px;border-radius:8px;" >
      <div class="col-md-8">
          Face Recognition
      <div class="col-md-4" style="">
          <img src="{% static 'assets/img/fr.png' %}" style="hight:20%;width:45%;border:solid 1px #ccc;" >
  <div class="d-flex align-items-center justify-content-between mt-4 mb-0">
      <a class="small" href="#">Forgot Password?</a>
     <a class="btn btn-primary col-md-4" type="submit" href="{% url 'qa-creation' %}">Admin</a>
      <a class="btn btn-secondary col-md-4" href="{% url 'Home' %}">User</a>

I am trying to redirect the page from Admin and User button initially with no form actions. But this redirect to page not found

We’re going to need a lot more detail. At a minimum we’ll need a better description of your deployment environment, your root file, and any differences between what you’re running locally and what you’re trying to deploy.

No differences all are same. except static root. Installed required configuration, added static root too.

Side note: When posting code, templates, or traceback error messages here, enclose the code between lines of three backtick - ` characters. This means you’ll have a line of ```, then your code, then another line of ```. This forces the forum software to keep your code properly formatted.

You’ll need to post those url files included in your root file.

Hey Ken,
Thanks for the heads up. Can you please check this and let me know the solution? I have hosted in a domain and added this project as different folder like .

I still need a more detailed description of your deployment environment.

Also, what do you mean by:

I deployed this website in a already running domain by adding a folder(application url) for this new website. Since I am new to django I am not sure what you are asking please let me know what is exactly needed. Though I am adding a app structure I have used in this project

For example App 1(Admin)

  • templates
    • de_Admin
      • include
        • base.html
      • html page 1
      • html page 2
      • html page 3

Hope this would help you?

Also the url get varies from to after clicking the link. ie the last letter ‘r’ is missing.