added basic exporting capability
This commit is contained in:
@ -3,7 +3,7 @@ from pydoc import locate
|
||||
from django.urls import path
|
||||
|
||||
from .views import *
|
||||
from cookbook.views import api
|
||||
from cookbook.views import api, import_export
|
||||
from cookbook.helper import dal
|
||||
|
||||
urlpatterns = [
|
||||
@ -14,6 +14,9 @@ urlpatterns = [
|
||||
path('shopping/', views.shopping_list, name='view_shopping'),
|
||||
path('settings/', views.settings, name='view_settings'),
|
||||
|
||||
path('import/', import_export.import_recipe, name='view_import'),
|
||||
path('export/', import_export.export_recipe, name='view_export'),
|
||||
|
||||
path('view/recipe/<int:pk>', views.recipe_view, name='view_recipe'),
|
||||
|
||||
path('new/recipe_import/<int:import_id>/', new.create_new_external_recipe, name='new_recipe_import'),
|
||||
|
Reference in New Issue
Block a user