brewery-website/beer/urls.py
Chris Giacofei 9566f203a0 Make a basic recipe display page.
No modificiation possible from here yet.
2024-06-18 15:16:22 -04:00

11 lines
327 B
Python

from django.urls import path
from django.conf import settings
from django.conf.urls.static import static
from .views import home, view_recipe
urlpatterns = [
path('', home, name='home'),
path('recipes/<int:recipe_id>/', view_recipe, name='recipe'),
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)