2024-05-24 19:49:23 +00:00
|
|
|
# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay
|
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
2024-05-21 09:21:13 +00:00
|
|
|
from django.urls import path
|
|
|
|
|
|
|
|
from . import views
|
|
|
|
|
2024-05-24 19:49:23 +00:00
|
|
|
app_name = 'food'
|
|
|
|
|
2024-05-21 09:21:13 +00:00
|
|
|
urlpatterns = [
|
2024-05-24 19:49:23 +00:00
|
|
|
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),
|
2024-05-25 13:27:26 +00:00
|
|
|
path('0', views.BasicFoodCreateView.as_view(), name = 'basic_food'),
|
|
|
|
path('1', views.TransformedFoodCreateView.as_view(), name = 'transformed_food'),
|
2024-05-21 09:21:13 +00:00
|
|
|
]
|
2024-05-24 19:49:23 +00:00
|
|
|
|