This commit is contained in:
Sascha Ißbrücker
2019-07-02 02:05:09 +02:00
parent e07da529f1
commit d2f896966a
2 changed files with 2 additions and 4 deletions

View File

@@ -5,6 +5,7 @@ from django.utils import timezone
from bookmarks.models import Tag
def get_or_create_tags(tag_names: List[str], user: User):
return [get_or_create_tag(tag_name, user) for tag_name in tag_names]