diff --git a/AKModel/templates/admin/AKModel/ak_json_export.html b/AKModel/templates/admin/AKModel/ak_json_export.html index da5825044bf0300c61de979c929c4694b56327af..38e5526edc8364faf75491e68cb893b10d64751a 100644 --- a/AKModel/templates/admin/AKModel/ak_json_export.html +++ b/AKModel/templates/admin/AKModel/ak_json_export.html @@ -13,7 +13,8 @@ {% endif %}{% endfor %} ], "participants": {{ participants }}, - "timeslots": {{ timeslots }} + "timeslots": {{ timeslots }}, + "info": {{ info_dict }} } </pre> {% endblock %} diff --git a/AKModel/views/ak.py b/AKModel/views/ak.py index a8e07d262558f7f8bcf03b85b0221ce594a2cd68..90c3ef6e6f2163a3d2dfe9362a056893d6c06fc4 100644 --- a/AKModel/views/ak.py +++ b/AKModel/views/ak.py @@ -146,6 +146,8 @@ class AKJSONExportView(AdminViewMixin, FilterByEventSlugMixin, ListView): context["timeslots"] = json.dumps(timeslots) + context["info_dict"] = {} + return context