Your commit message
This commit is contained in:
parent
7766266049
commit
63dffd1d80
@ -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 URLconf
|
||||
Including another URLconftesting
|
||||
1. Import the include() function: from django.urls import include, path
|
||||
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user