12 lines
249 B
Python
12 lines
249 B
Python
|
from django.contrib import admin
|
||
|
from django.urls import path
|
||
|
|
||
|
from recette.views import home, recette
|
||
|
|
||
|
|
||
|
urlpatterns = [
|
||
|
path('admin/', admin.site.urls),
|
||
|
path('', home, name='home'),
|
||
|
path('recette/<int:pk>/', recette, name='recette'),
|
||
|
]
|