recettes/common/urls.py

12 lines
249 B
Python
Raw Normal View History

2018-05-26 16:01:04 +02:00
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'),
]