Diff of /docpat/urls.py [000000] .. [b018ba]

Switch to unified view

a b/docpat/urls.py
1
"""
2
URL configuration for docpat project.
3
4
The `urlpatterns` list routes URLs to views. For more information please see:
5
    https://docs.djangoproject.com/en/5.0/topics/http/urls/
6
Examples:
7
Function views
8
    1. Add an import:  from my_app import views
9
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
10
Class-based views
11
    1. Add an import:  from other_app.views import Home
12
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
13
Including another URLconf
14
    1. Import the include() function: from django.urls import include, path
15
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
16
"""
17
from django.contrib import admin
18
from django.urls import path
19
from docpat import views
20
urlpatterns = [
21
    path('admin/', admin.site.urls),
22
    path('diabetes/',views.diabetes),
23
    path('liver/',views.liver),
24
    path('faqs/',views.faq),
25
    path('breast/',views.breast),
26
    path('predictb/',views.predictb,name='predictb'),
27
    path('predictd/',views.predictd,name='predictd'),
28
    path('predictl/',views.predictl,name='predictl'),
29
    path('predicth/',views.predicth,name='predicth'),
30
    path('heart/',views.heart),
31
    path('diabetes_info/',views.diabetes_info),
32
    path('breast_cancer_info/',views.breast_cancer_info),
33
    path('heart_disease_info/',views.heart_disease_info),
34
    path('liver_disease_info/',views.liver_disease_info),
35
    path('',views.homepage),
36
    path('GI_diseases/', views.gi, name='GI_diseases'),
37
    path('predictg/', views.predictg, name='predictg'),
38
    path('GI_Diseases_info/',views.GI_Diseases_info),
39
]