resolve conflicts

Signed-off-by: Tobias Lindenberg <tobias@lindenberg.pm>
This commit is contained in:
Tobias Lindenberg
2021-01-10 14:44:20 +01:00
5 changed files with 149 additions and 2 deletions

View File

@@ -1,11 +1,12 @@
from pydoc import locate
from django.urls import include, path
from django.views.generic import TemplateView
from recipes.version import VERSION_NUMBER
from rest_framework import routers
from rest_framework.schemas import get_schema_view
from cookbook.helper import dal
from recipes.version import VERSION_NUMBER
from .models import (Comment, Food, InviteLink, Keyword, MealPlan, Recipe,
RecipeBook, RecipeBookEntry, RecipeImport, ShoppingList,
@@ -45,6 +46,16 @@ urlpatterns = [
path('shopping/<int:pk>', views.shopping_list, name='view_shopping'),
path('settings/', views.user_settings, name='view_settings'),
path('history/', views.history, name='view_history'),
path('offline/', views.offline, name='view_offline'),
path(
'service-worker.js', (
TemplateView.as_view(
template_name="service-worker.js",
content_type='application/javascript',
)
),
name='service_worker'
),
path('test/', views.test, name='view_test'),
path('import/', import_export.import_recipe, name='view_import'),