File tree Expand file tree Collapse file tree 7 files changed +0
-112
lines changed
Expand file tree Collapse file tree 7 files changed +0
-112
lines changed Original file line number Diff line number Diff line change 1- """
2- URL configuration for diary project.
3-
4- The `urlpatterns` list routes URLs to views. For more information please see:
5- https://docs.djangoproject.com/en/5.1/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- """
171from django .contrib import admin
182from django .urls import include , path
193
Original file line number Diff line number Diff line change 1- """
2- URL configuration for diary project.
3-
4- The `urlpatterns` list routes URLs to views. For more information please see:
5- https://docs.djangoproject.com/en/5.1/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- """
171from django .contrib import admin
182from django .urls import path
193
Original file line number Diff line number Diff line change 1- """
2- URL configuration for diary project.
3-
4- The `urlpatterns` list routes URLs to views. For more information please see:
5- https://docs.djangoproject.com/en/5.1/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- """
171from django .contrib import admin
182from django .urls import path
193
Original file line number Diff line number Diff line change 1- """
2- URL configuration for diary project.
3-
4- The `urlpatterns` list routes URLs to views. For more information please see:
5- https://docs.djangoproject.com/en/5.1/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- """
171from django .contrib import admin
182from django .urls import include , path
193
Original file line number Diff line number Diff line change 1- """
2- URL configuration for diary project.
3-
4- The `urlpatterns` list routes URLs to views. For more information please see:
5- https://docs.djangoproject.com/en/5.1/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- """
171from django .contrib import admin
182from django .urls import include , path
193
Original file line number Diff line number Diff line change 1- """
2- URL configuration for diary project.
3-
4- The `urlpatterns` list routes URLs to views. For more information please see:
5- https://docs.djangoproject.com/en/5.1/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- """
171from django .contrib import admin
182from django .urls import include , path
193
Original file line number Diff line number Diff line change 1- """
2- URL configuration for diary project.
3-
4- The `urlpatterns` list routes URLs to views. For more information please see:
5- https://docs.djangoproject.com/en/5.1/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- """
171from django .contrib import admin
182from django .urls import include , path
193
You can’t perform that action at this time.
0 commit comments