Trabalhando com URLs dinâmicas em urls.py e nos templates HTML do Django

This commit is contained in:
Luiz Otávio
2023-04-24 08:52:39 -03:00
parent 34374a59c7
commit 5cd6cc2c0f
6 changed files with 21 additions and 9 deletions

View File

@@ -2,6 +2,8 @@ from django.urls import path
from . import views
app_name = 'home'
urlpatterns = [
path('', views.home),
path('', views.home, name='home'),
]