From dd165b2839ba6041b9217c1225c4271586e10cd1 Mon Sep 17 00:00:00 2001 From: ashishmohite Date: Sat, 28 Jan 2017 12:33:48 +0530 Subject: [PATCH] Resolve - https://github.com/Chitrank-Dixit/django-fcm/issues/32 - TemplateDoesNotExist for extended model #32 --- fcm/templates/fcm/admin/send_message.html | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 fcm/templates/fcm/admin/send_message.html diff --git a/fcm/templates/fcm/admin/send_message.html b/fcm/templates/fcm/admin/send_message.html new file mode 100644 index 0000000..bc8b8ec --- /dev/null +++ b/fcm/templates/fcm/admin/send_message.html @@ -0,0 +1,22 @@ +{% extends "admin/change_form.html" %} +{% load i18n static %} + +{% block breadcrumbs %} + {% with app_label=opts.app_label original=_('Send message') has_change_permission=1 %} + {{ block.super }} + {% endwith %} +{% endblock %} + +{% block field_sets %} +

{% trans "Send message" %}

+
+ {{ form }} +
+{% endblock field_sets %} + +{% block inline_field_sets %}{% endblock inline_field_sets %} + + +{% block submit_buttons_bottom %} + +{% endblock %}