testing
This commit is contained in:
@ -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
|
||||
]
|
Reference in New Issue
Block a user