From 8f056f3778f5b2ad2f087c7f36ea0a238f7712dd Mon Sep 17 00:00:00 2001 From: floraachy <1622042529@gitlink.com> Date: Thu, 20 Mar 2025 08:37:40 +0800 Subject: [PATCH] ADD file via upload --- urls.py | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 urls.py diff --git a/urls.py b/urls.py new file mode 100644 index 0000000..5ee782c --- /dev/null +++ b/urls.py @@ -0,0 +1,25 @@ +""" +URL configuration for maturityAnalyse project. + +The `urlpatterns` list routes URLs to views. For more information please see: + https://docs.djangoproject.com/en/5.1/topics/http/urls/ +Examples: +Function views + 1. Add an import: from my_app import views + 2. Add a URL to urlpatterns: path('', views.home, name='home') +Class-based views + 1. Add an import: from other_app.views import Home + 2. Add a URL to urlpatterns: path('', Home.as_view(), name='home') +Including another URLconf + 1. Import the include() function: from django.urls import include, path + 2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) +""" +from django.contrib import admin +from django.urls import path + +from maturityAnalyse.views import calculate + +urlpatterns = [ + path('admin/', admin.site.urls), + path('maturityAnalyse/', calculate , name = "calculate"), +]