import tag recipes and show results after import
This commit is contained in:
@ -1,8 +1,19 @@
|
||||
import datetime
|
||||
|
||||
from cookbook.models import Keyword
|
||||
|
||||
|
||||
class Integration:
|
||||
request = None
|
||||
keyword = None
|
||||
|
||||
def __init__(self, request):
|
||||
self.request = request
|
||||
self.keyword = Keyword.objects.create(
|
||||
name=f'Import {datetime.datetime.now()}',
|
||||
description=f'Imported by {request.user.get_user_name()} on {datetime.datetime.now()}',
|
||||
icon='📥'
|
||||
)
|
||||
|
||||
def do_export(self, recipes):
|
||||
raise Exception('Method not implemented in storage integration')
|
||||
|
Reference in New Issue
Block a user