mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 04:10:06 -05:00
added created_by scroller to start page
This commit is contained in:
@@ -1141,6 +1141,11 @@ class RecipePagination(PageNumberPagination):
|
||||
type=str,
|
||||
examples=[DateExample, BeforeDateExample]
|
||||
),
|
||||
OpenApiParameter(
|
||||
name='createdby',
|
||||
description=_('Filter recipes for ones created by the given user ID'),
|
||||
type=int,
|
||||
),
|
||||
OpenApiParameter(
|
||||
name='updatedon',
|
||||
description=_('Filter recipes updated on or after YYYY-MM-DD. Prepending ''-'' filters on or before date.'),
|
||||
@@ -1840,7 +1845,7 @@ class ImageToRecipeView(APIView):
|
||||
|
||||
# TODO cant use ingredient splitting because scraper gets upset "Please separate the ingredients into amount, unit, food and if required a note. "
|
||||
# TODO maybe not use scraper?
|
||||
messages = [
|
||||
messages = [
|
||||
{
|
||||
"role": "user",
|
||||
"content": [
|
||||
|
||||
Reference in New Issue
Block a user