File tree Expand file tree Collapse file tree
templates/streamfield/admin Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55
66setuptools .setup (
77 name = "django-streamfield" ,
8- version = "1.1.2 " ,
8+ version = "1.1.3 " ,
99 author = "Yury Lapshinov" ,
1010 author_email = "y.raagin@gmail.com" ,
1111 description = "StreamField for native Django Admin or with Grappelli" ,
Original file line number Diff line number Diff line change 11name = "streamfield"
2- VERSION = '1.1.2 '
2+ VERSION = '1.1.3 '
Original file line number Diff line number Diff line change 1- {% extends "admin/change_form.html" %}{% load admin_static i18n admin_modify admin_urls %}
1+ {% extends "admin/change_form.html" %}{% load static i18n admin_modify admin_urls %}
22
33{% block content %}
44 < form {% if has_file_field %}enctype ="multipart/form-data " {% endif %}action ="{{ form_url }} " method ="post " id ="{{ opts.model_name }}_form " novalidate > {% csrf_token %}{% block form_top %}{% endblock %}
4848 </ form >
4949{% endblock %}
5050
51-
52- <!-- Popup Hidden Field -->
53- {% if is_popup %}< input type ="hidden " name ="_popup " value ="1 " /> {% endif %}
54-
55- <!-- !!! START:StreamField Popup Hidden Field !!! -->
56- {% if request.GET.block_id and is_popup %}< input type ="hidden " name ="block_id " value ="{{ request.GET.block_id }} " /> {% endif %}
57- {% if request.GET.instance_id and is_popup %}< input type ="hidden " name ="instance_id " value ="{{ request.GET.instance_id }} " /> {% endif %}
58- {% if request.GET.app_id and is_popup %}< input type ="hidden " name ="app_id " value ="{{ request.GET.app_id }} " /> {% endif %}
59- <!-- !!! END: StreamField Popup Hidden Field !!! -->
60-
61-
You can’t perform that action at this time.
0 commit comments