1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 09:58:23 +02:00

Un peu de nettoyage, rajout de commentaires

This commit is contained in:
quark
2024-05-25 22:34:59 +02:00
committed by korenstin
parent 3f997f94fa
commit 896095a44c
11 changed files with 51 additions and 158 deletions

View File

@ -5,12 +5,14 @@ from django.urls import path
from . import views
###############################
# TO DO
# - name url correctly, thinking about the scheme of the app
###############################
app_name = 'food'
urlpatterns = [
path('test_basic_food_form',views.test_basic_foodform),
path('test_transformed_food_form', views.test_transformed_foodform),
path('test_allergen_form', views.test_allergenform),
path('0', views.BasicFoodCreateView.as_view(), name = 'basic_food'),
path('1', views.TransformedFoodCreateView.as_view(), name = 'transformed_food'),
]