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:
@ -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'),
|
||||
]
|
||||
|
Reference in New Issue
Block a user