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-25 20:34:59 +00:00
|
|
|
###############################
|
|
|
|
# TO DO
|
|
|
|
# - name url correctly, thinking about the scheme of the app
|
|
|
|
###############################
|
|
|
|
|
2024-05-24 19:49:23 +00:00
|
|
|
app_name = 'food'
|
|
|
|
|
2024-05-21 09:21:13 +00:00
|
|
|
urlpatterns = [
|
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
|
|
|
|