Fix batch cards endpoint still referring to photo_card.html.

This commit is contained in:
voussoir 2021-01-28 17:01:00 -08:00
parent c40deb3631
commit e717833d41
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -242,10 +242,10 @@ def post_batch_photos_photo_cards():
# Photo filenames are prevented from having colons, so using it as a split # Photo filenames are prevented from having colons, so using it as a split
# delimiter should be safe. # delimiter should be safe.
template = ''' template = '''
{% import "photo_card.html" as photo_card %} {% import "cards.html" as cards %}
{% for photo in photos %} {% for photo in photos %}
{{photo.id}}: {{photo.id}}:
{{photo_card.create_photo_card(photo)}} {{cards.create_photo_card(photo)}}
:SPLITME: :SPLITME:
{% endfor %} {% endfor %}
''' '''