Fix batch cards endpoint still referring to photo_card.html.
This commit is contained in:
parent
c40deb3631
commit
e717833d41
1 changed files with 2 additions and 2 deletions
|
@ -242,10 +242,10 @@ def post_batch_photos_photo_cards():
|
|||
# Photo filenames are prevented from having colons, so using it as a split
|
||||
# delimiter should be safe.
|
||||
template = '''
|
||||
{% import "photo_card.html" as photo_card %}
|
||||
{% import "cards.html" as cards %}
|
||||
{% for photo in photos %}
|
||||
{{photo.id}}:
|
||||
{{photo_card.create_photo_card(photo)}}
|
||||
{{cards.create_photo_card(photo)}}
|
||||
:SPLITME:
|
||||
{% endfor %}
|
||||
'''
|
||||
|
|
Loading…
Reference in a new issue