File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
test_utils/project/placeholderapp/templates Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 2
2
{% load placeholder_tags %}
3
3
4
4
{% block content %}
5
- < h1 > {% show_editable_model instance "char_1" "admin:placeholderapp_example1_edit_field" %}</ h1 >
6
- {% show_editable_model instance "char_2" "admin:placeholderapp_example1_edit_field" " char_1,char_2" %}
5
+ < h1 > {% show_editable_model instance "char_1" %}</ h1 >
6
+ {% show_editable_model instance "char_2" "char_1,char_2" %}
7
7
{% render_placeholder instance.placeholder %}
8
8
{% endblock content %}
Original file line number Diff line number Diff line change 2
2
{% load placeholder_tags %}
3
3
4
4
{% block content %}
5
- < h1 > {% show_editable_model instance "char_1" "admin:placeholderapp_multilingualexample1_edit_field " %}</ h1 >
6
- {% show_editable_model instance "char_2" "admin:placeholderapp_multilingualexample1_edit_field" " char_1,char_2" %}
5
+ < h1 > {% show_editable_model instance "char_1" "char_1 " %}</ h1 >
6
+ {% show_editable_model instance "char_2" "char_1,char_2" %}
7
7
{% render_placeholder instance.placeholder_1 %}
8
8
{% endblock content %}
Original file line number Diff line number Diff line change @@ -298,7 +298,7 @@ def test_admin_url(self):
298
298
{% load placeholder_tags %}
299
299
300
300
{% block content %}
301
- <h1>{% show_editable_model instance "callable_item" "admin:placeholderapp_example1_edit_field " %}</h1>
301
+ <h1>{% show_editable_model instance "callable_item" "char_1 " %}</h1>
302
302
{% endblock content %}
303
303
'''
304
304
request = self .get_page_request (page , user , edit = True )
@@ -315,7 +315,7 @@ def test_admin_url_extra_field(self):
315
315
{% load placeholder_tags %}
316
316
317
317
{% block content %}
318
- <h1>{% show_editable_model instance "callable_item" "admin:placeholderapp_example1_edit_field" " char_2" %}</h1>
318
+ <h1>{% show_editable_model instance "callable_item" "char_2" %}</h1>
319
319
{% endblock content %}
320
320
'''
321
321
request = self .get_page_request (page , user , edit = True )
@@ -334,7 +334,7 @@ def test_admin_url_multiple_fields(self):
334
334
{% load placeholder_tags %}
335
335
336
336
{% block content %}
337
- <h1>{% show_editable_model instance "callable_item" "admin:placeholderapp_example1_edit_field" " char_1,char_2" %}</h1>
337
+ <h1>{% show_editable_model instance "callable_item" "char_1,char_2" "en" "admin:placeholderapp_example1_edit_field " %}</h1>
338
338
{% endblock content %}
339
339
'''
340
340
request = self .get_page_request (page , user , edit = True )
You can’t perform that action at this time.
0 commit comments