mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 04:10:06 -05:00
resolve conflicts
Signed-off-by: Tobias Lindenberg <tobias@lindenberg.pm>
This commit is contained in:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user