mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-06-21 09:58:23 +02:00
création de forms fonctionnel (form + views + url + html), few changes in models.py
This commit is contained in:
@ -11,6 +11,7 @@ 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.Basic_foodCreateView.as_view(), name = 'basic_food'),
|
||||
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