Your problem is caused by not properly structurizing your url files. An
example (just for reference) is shown below:
*/myappointments/urls.py*
# includes...
urlpatterns = [
path('admin/', admin.site.urls),
path('', include('clinic.urls'), namespace='clinic'), # for
example.com/ where "s
I have a project named myappointments, which has two apps, clinic and
appointments. As of now, I am using the following urls in clinic.urls:
path('newclinic', views.newclinic, name="newclinic"),
path('/', views.clinic_home, name="clinic_home"),
path('/doctors', views.doctorlist, name="doctorlist")
2 matches
Mail list logo