Skip to content

Commit

Permalink
Remove docstring from urls.py files
Browse files Browse the repository at this point in the history
  • Loading branch information
acsany committed Jan 8, 2025
1 parent 2f5fe1e commit a672fd1
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 112 deletions.
16 changes: 0 additions & 16 deletions django-diary/source_code_final/diary/urls.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
"""
URL configuration for diary 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 include, path

Expand Down
16 changes: 0 additions & 16 deletions django-diary/source_code_step_1/diary/urls.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
"""
URL configuration for diary 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

Expand Down
16 changes: 0 additions & 16 deletions django-diary/source_code_step_2/diary/urls.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
"""
URL configuration for diary 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

Expand Down
16 changes: 0 additions & 16 deletions django-diary/source_code_step_3/diary/urls.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
"""
URL configuration for diary 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 include, path

Expand Down
16 changes: 0 additions & 16 deletions django-diary/source_code_step_4/diary/urls.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
"""
URL configuration for diary 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 include, path

Expand Down
16 changes: 0 additions & 16 deletions django-diary/source_code_step_5/diary/urls.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
"""
URL configuration for diary 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 include, path

Expand Down
16 changes: 0 additions & 16 deletions django-diary/source_code_step_6/diary/urls.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
"""
URL configuration for diary 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 include, path

Expand Down

0 comments on commit a672fd1

Please sign in to comment.