from django.urls import path, re_path from django.conf import settings from django.conf.urls.static import static from .views import home, view_recipe, view_batch, update_ferm, update_hop urlpatterns = [ path('', home, name='home'), path('recipes//', view_recipe, name='recipe'), path('batches//recipe/', view_recipe), path('batches//', view_batch, name='batch'), path('ingredients/fermentables/', update_ferm, name='update_fermentable'), path('ingredients/hops/', update_hop, name='update_hop'), ] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)