This commit is contained in:
2025-04-22 13:40:09 +02:00
parent 63dffd1d80
commit 63556a1ac3
14 changed files with 221 additions and 344 deletions

View File

@ -10,7 +10,7 @@ Function views
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 URLconftesting
Including another URLconftesting test
1. Import the include() function: from django.urls import include, path
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
"""
@ -19,5 +19,5 @@ from django.urls import path, include
urlpatterns = [
path('admin/', admin.site.urls), # Admin site
path('', include('Sheets.urls')), # Sheets app URLs
path('', include('sheets.urls')), # Sheets app URLs
]