diff --git a/.gitignore b/.gitignore index fa58fbf..1d9caf8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ badtest.html node_modules +source_django report.xml # Created by https://www.toptal.com/developers/gitignore/api/macos,python # Edit at https://www.toptal.com/developers/gitignore?templates=macos,python diff --git a/tests/source_django/27584_child.html b/tests/source_django/27584_child.html deleted file mode 100644 index 71584f0..0000000 --- a/tests/source_django/27584_child.html +++ /dev/null @@ -1,3 +0,0 @@ -{% load tag_27584 %} -{% badtag %} -{% endbadtag %} diff --git a/tests/source_django/27584_parent.html b/tests/source_django/27584_parent.html deleted file mode 100644 index c7ab8b6..0000000 --- a/tests/source_django/27584_parent.html +++ /dev/null @@ -1 +0,0 @@ -{% include "27584_child.html" %} diff --git a/tests/source_django/27956_child.html b/tests/source_django/27956_child.html deleted file mode 100644 index b0af140..0000000 --- a/tests/source_django/27956_child.html +++ /dev/null @@ -1,2 +0,0 @@ -{% extends "27956_parent.html" %} -{% block content %}{% endblock %} diff --git a/tests/source_django/27956_parent.html b/tests/source_django/27956_parent.html deleted file mode 100644 index 09dcd30..0000000 --- a/tests/source_django/27956_parent.html +++ /dev/null @@ -1,4 +0,0 @@ -{% load tag_27584 %} -{% badtag %} -{% endbadtag %} -{% block content %}{% endblock %} diff --git a/tests/source_django/404.html b/tests/source_django/404.html deleted file mode 100644 index f32cda6..0000000 --- a/tests/source_django/404.html +++ /dev/null @@ -1,2 +0,0 @@ -{% block foo %} - This template is deliberately bad - we want it to raise an exception when it is used. diff --git a/tests/source_django/500.html b/tests/source_django/500.html deleted file mode 100644 index 86146c1..0000000 --- a/tests/source_django/500.html +++ /dev/null @@ -1,19 +0,0 @@ -{% extends "admin/base_site.html" %} -{% load i18n %} -{% block breadcrumbs %} - -{% endblock %} -{% block title %} - {% translate 'Server error (500)' %} -{% endblock %} -{% block content %} -

- {% translate 'Server Error (500)' %} -

-

- {% translate 'There’s been an error. It’s been reported to the site administrators via email and should be fixed shortly. Thanks for your patience.' %} -

-{% endblock %} diff --git a/tests/source_django/about.html b/tests/source_django/about.html deleted file mode 100644 index f946f63..0000000 --- a/tests/source_django/about.html +++ /dev/null @@ -1,2 +0,0 @@ -

About

-{% now "U.u" %} diff --git a/tests/source_django/actions.html b/tests/source_django/actions.html deleted file mode 100644 index c2a0428..0000000 --- a/tests/source_django/actions.html +++ /dev/null @@ -1,11 +0,0 @@ -{% extends "admin/actions.html" %} -{% load i18n %} -{% block actions-submit %} - -{% endblock %} diff --git a/tests/source_django/add_form.html b/tests/source_django/add_form.html deleted file mode 100644 index f42ba4b..0000000 --- a/tests/source_django/add_form.html +++ /dev/null @@ -1 +0,0 @@ -{% extends "admin/change_form.html" %} diff --git a/tests/source_django/alternative.html b/tests/source_django/alternative.html deleted file mode 100644 index e69de29..0000000 diff --git a/tests/source_django/app_index.html b/tests/source_django/app_index.html deleted file mode 100644 index 22423d2..0000000 --- a/tests/source_django/app_index.html +++ /dev/null @@ -1,5 +0,0 @@ -{% extends "admin/app_index.html" %} -{% block content %} - Hello from a custom app_index template - {{ block.super }} -{% endblock %} diff --git a/tests/source_django/app_list.html b/tests/source_django/app_list.html deleted file mode 100644 index 1326d82..0000000 --- a/tests/source_django/app_list.html +++ /dev/null @@ -1,54 +0,0 @@ -{% load i18n %} -{% if app_list %} - {% for app in app_list %} -
- - - {% for model in app.models %} - - {% if model.admin_url %} - - {% else %} - - {% endif %} - {% if model.add_url %} - - {% else %} - - {% endif %} - {% if model.admin_url and show_changelinks %} - {% if model.view_only %} - - {% else %} - - {% endif %} - {% elif show_changelinks %} - - {% endif %} - - {% endfor %} -
- - {{ app.name }} - -
- - {{ model.name }} - - {{ model.name }} - {% translate 'Add' %} - - {% translate 'View' %} - - {% translate 'Change' %} -
-
-{% endfor %} -{% else %} -

- {% translate 'You don’t have permission to view or edit anything.' %} -

-{% endif %} diff --git a/tests/source_django/apple_detail.html b/tests/source_django/apple_detail.html deleted file mode 100644 index a06f41e..0000000 --- a/tests/source_django/apple_detail.html +++ /dev/null @@ -1,3 +0,0 @@ -This is a -{% if tasty %}tasty{% endif %} -{{ apple.color }} apple{{ extra }} diff --git a/tests/source_django/article_archive_day.html b/tests/source_django/article_archive_day.html deleted file mode 100644 index bd2d67f..0000000 --- a/tests/source_django/article_archive_day.html +++ /dev/null @@ -1 +0,0 @@ -This template intentionally left blank diff --git a/tests/source_django/article_archive_month.html b/tests/source_django/article_archive_month.html deleted file mode 100644 index bd2d67f..0000000 --- a/tests/source_django/article_archive_month.html +++ /dev/null @@ -1 +0,0 @@ -This template intentionally left blank diff --git a/tests/source_django/article_confirm_delete.html b/tests/source_django/article_confirm_delete.html deleted file mode 100644 index bd2d67f..0000000 --- a/tests/source_django/article_confirm_delete.html +++ /dev/null @@ -1 +0,0 @@ -This template intentionally left blank diff --git a/tests/source_django/article_detail.html b/tests/source_django/article_detail.html deleted file mode 100644 index 952299d..0000000 --- a/tests/source_django/article_detail.html +++ /dev/null @@ -1 +0,0 @@ -Article detail template. diff --git a/tests/source_django/article_form.html b/tests/source_django/article_form.html deleted file mode 100644 index cd9c6a6..0000000 --- a/tests/source_django/article_form.html +++ /dev/null @@ -1,2 +0,0 @@ -Article form template. -{{ form.errors }} diff --git a/tests/source_django/article_list.html b/tests/source_django/article_list.html deleted file mode 100644 index 1d9335e..0000000 --- a/tests/source_django/article_list.html +++ /dev/null @@ -1 +0,0 @@ -{{ object_list }} diff --git a/tests/source_django/artist_detail.html b/tests/source_django/artist_detail.html deleted file mode 100644 index b235552..0000000 --- a/tests/source_django/artist_detail.html +++ /dev/null @@ -1 +0,0 @@ -This is an {{ artist }}. diff --git a/tests/source_django/artist_form.html b/tests/source_django/artist_form.html deleted file mode 100644 index ee00eac..0000000 --- a/tests/source_django/artist_form.html +++ /dev/null @@ -1 +0,0 @@ -A form: {{ form }} diff --git a/tests/source_django/attrs.html b/tests/source_django/attrs.html deleted file mode 100644 index e9811c4..0000000 --- a/tests/source_django/attrs.html +++ /dev/null @@ -1,6 +0,0 @@ -{% for name, value in widget.attrs.items %} - {% if value is not False %} - {{ name }} - {% if value is not True %}="{{ value|stringformat:'s' }}"{% endif %} - {% endif %} -{% endfor %} diff --git a/tests/source_django/auth_attrs_access.html b/tests/source_django/auth_attrs_access.html deleted file mode 100644 index b5c65db..0000000 --- a/tests/source_django/auth_attrs_access.html +++ /dev/null @@ -1 +0,0 @@ -{{ user }} diff --git a/tests/source_django/auth_attrs_messages.html b/tests/source_django/auth_attrs_messages.html deleted file mode 100644 index 7b7e448..0000000 --- a/tests/source_django/auth_attrs_messages.html +++ /dev/null @@ -1 +0,0 @@ -{% for m in messages %}{{ m }}{% endfor %} diff --git a/tests/source_django/auth_attrs_no_access.html b/tests/source_django/auth_attrs_no_access.html deleted file mode 100644 index e69de29..0000000 diff --git a/tests/source_django/auth_attrs_perm_in_perms.html b/tests/source_django/auth_attrs_perm_in_perms.html deleted file mode 100644 index 04f26e6..0000000 --- a/tests/source_django/auth_attrs_perm_in_perms.html +++ /dev/null @@ -1,4 +0,0 @@ -{% if 'auth' in perms %}Has auth permissions{% endif %} -{% if 'auth.add_permission' in perms %}Has auth.add_permission permissions{% endif %} -{% if 'nonexistent' in perms %}nonexistent perm found{% endif %} -{% if 'auth.nonexistent' in perms %}auth.nonexistent perm found{% endif %} diff --git a/tests/source_django/auth_attrs_perms.html b/tests/source_django/auth_attrs_perms.html deleted file mode 100644 index b1c829b..0000000 --- a/tests/source_django/auth_attrs_perms.html +++ /dev/null @@ -1,4 +0,0 @@ -{% if perms.auth %}Has auth permissions{% endif %} -{% if perms.auth.add_permission %}Has auth.add_permission permissions{% endif %} -{% if perms.nonexistent %}nonexistent perm found{% endif %} -{% if perms.auth.nonexistent in perms %}auth.nonexistent perm found{% endif %} diff --git a/tests/source_django/auth_attrs_test_access.html b/tests/source_django/auth_attrs_test_access.html deleted file mode 100644 index 06959ff..0000000 --- a/tests/source_django/auth_attrs_test_access.html +++ /dev/null @@ -1,5 +0,0 @@ -{% if session_accessed %} - Session accessed -{% else %} - Session not accessed -{% endif %} diff --git a/tests/source_django/auth_attrs_user.html b/tests/source_django/auth_attrs_user.html deleted file mode 100644 index dc4c6b1..0000000 --- a/tests/source_django/auth_attrs_user.html +++ /dev/null @@ -1,4 +0,0 @@ -unicode: {{ user }} -id: {{ user.pk }} -username: {{ user.username }} -url: {% url 'userpage' user %} diff --git a/tests/source_django/author_confirm_delete.html b/tests/source_django/author_confirm_delete.html deleted file mode 100644 index a7e0828..0000000 --- a/tests/source_django/author_confirm_delete.html +++ /dev/null @@ -1 +0,0 @@ -Are you sure? diff --git a/tests/source_django/author_detail.html b/tests/source_django/author_detail.html deleted file mode 100644 index e35e752..0000000 --- a/tests/source_django/author_detail.html +++ /dev/null @@ -1 +0,0 @@ -This is an {{ author }}. diff --git a/tests/source_django/author_form.html b/tests/source_django/author_form.html deleted file mode 100644 index ee00eac..0000000 --- a/tests/source_django/author_form.html +++ /dev/null @@ -1 +0,0 @@ -A form: {{ form }} diff --git a/tests/source_django/author_list.html b/tests/source_django/author_list.html deleted file mode 100644 index 5911a35..0000000 --- a/tests/source_django/author_list.html +++ /dev/null @@ -1 +0,0 @@ -{% for item in object_list %}{{ item }}{% endfor %} diff --git a/tests/source_django/author_objects.html b/tests/source_django/author_objects.html deleted file mode 100644 index 5911a35..0000000 --- a/tests/source_django/author_objects.html +++ /dev/null @@ -1 +0,0 @@ -{% for item in object_list %}{{ item }}{% endfor %} diff --git a/tests/source_django/author_view.html b/tests/source_django/author_view.html deleted file mode 100644 index bc80523..0000000 --- a/tests/source_django/author_view.html +++ /dev/null @@ -1 +0,0 @@ -This is an alternate template_name_suffix for an {{ author }}. diff --git a/tests/source_django/base.html b/tests/source_django/base.html deleted file mode 100644 index e69de29..0000000 diff --git a/tests/source_django/base_site.html b/tests/source_django/base_site.html deleted file mode 100644 index cf4eee3..0000000 --- a/tests/source_django/base_site.html +++ /dev/null @@ -1,2 +0,0 @@ -{% extends "admin/base.html" %} -{% block bodyclass %}bodyclass_consistency_check{% endblock %} diff --git a/tests/source_django/book_archive.html b/tests/source_django/book_archive.html deleted file mode 100644 index 03f45a3..0000000 --- a/tests/source_django/book_archive.html +++ /dev/null @@ -1 +0,0 @@ -Archive of books from {{ date_list }}. {{ object_list|length }} books found. diff --git a/tests/source_django/book_archive_day.html b/tests/source_django/book_archive_day.html deleted file mode 100644 index 600b322..0000000 --- a/tests/source_django/book_archive_day.html +++ /dev/null @@ -1 +0,0 @@ -Archive for {{ day }}. Previous day is {{ previous_day }} diff --git a/tests/source_django/book_archive_month.html b/tests/source_django/book_archive_month.html deleted file mode 100644 index 1b2f426..0000000 --- a/tests/source_django/book_archive_month.html +++ /dev/null @@ -1 +0,0 @@ -Books in {{ month }}. diff --git a/tests/source_django/book_archive_week.html b/tests/source_django/book_archive_week.html deleted file mode 100644 index 05e13f2..0000000 --- a/tests/source_django/book_archive_week.html +++ /dev/null @@ -1 +0,0 @@ -Archive for {{ week }}. diff --git a/tests/source_django/book_archive_year.html b/tests/source_django/book_archive_year.html deleted file mode 100644 index fde198d..0000000 --- a/tests/source_django/book_archive_year.html +++ /dev/null @@ -1 +0,0 @@ -Archive of books from {{ year }}. {{ object_list|length }} books found. diff --git a/tests/source_django/book_detail.html b/tests/source_django/book_detail.html deleted file mode 100644 index a6b7bd2..0000000 --- a/tests/source_django/book_detail.html +++ /dev/null @@ -1 +0,0 @@ -This is {{ book }}. diff --git a/tests/source_django/book_list.html b/tests/source_django/book_list.html deleted file mode 100644 index 5911a35..0000000 --- a/tests/source_django/book_list.html +++ /dev/null @@ -1 +0,0 @@ -{% for item in object_list %}{{ item }}{% endfor %} diff --git a/tests/source_django/bookmarklets.html b/tests/source_django/bookmarklets.html deleted file mode 100644 index 9bacb10..0000000 --- a/tests/source_django/bookmarklets.html +++ /dev/null @@ -1,32 +0,0 @@ -{% extends "admin/base_site.html" %} -{% load i18n %} -{% block breadcrumbs %} - -{% endblock %} -{% block title %} - {% translate "Documentation bookmarklets" %} -{% endblock %} -{% block content %} -

- {% blocktranslate trimmed %} - To install bookmarklets, drag the link to your bookmarks toolbar, or right-click - the link and add it to your bookmarks. Now you can select the bookmarklet - from any page in the site. - {% endblocktranslate %} -

-
-

- - {% translate "Documentation for this page" %} - -

-

- {% translate "Jumps you from any page to the documentation for the view that generates that page." %} -

-
-{% endblock %} diff --git a/tests/source_django/broken_base.html b/tests/source_django/broken_base.html deleted file mode 100644 index aa41f44..0000000 --- a/tests/source_django/broken_base.html +++ /dev/null @@ -1 +0,0 @@ -{% include "missing.html" %} diff --git a/tests/source_django/change_form.html b/tests/source_django/change_form.html deleted file mode 100644 index f42ba4b..0000000 --- a/tests/source_django/change_form.html +++ /dev/null @@ -1 +0,0 @@ -{% extends "admin/change_form.html" %} diff --git a/tests/source_django/change_form_object_tools.html b/tests/source_django/change_form_object_tools.html deleted file mode 100644 index 65a48ee..0000000 --- a/tests/source_django/change_form_object_tools.html +++ /dev/null @@ -1,12 +0,0 @@ -{% extends "admin/change_form_object_tools.html" %} -{% load i18n admin_urls %} -{% block object-tools-items %} -
  • - - {% translate "Export" %} - -
  • - {{ block.super }} -{% endblock %} diff --git a/tests/source_django/change_list.html b/tests/source_django/change_list.html deleted file mode 100644 index 1815bd5..0000000 --- a/tests/source_django/change_list.html +++ /dev/null @@ -1,2 +0,0 @@ -{% extends "admin/change_list.html" %} -{% block extrahead %}{% endblock %} diff --git a/tests/source_django/change_list_object_tools.html b/tests/source_django/change_list_object_tools.html deleted file mode 100644 index ac20d17..0000000 --- a/tests/source_django/change_list_object_tools.html +++ /dev/null @@ -1,12 +0,0 @@ -{% extends "admin/change_list_object_tools.html" %} -{% load i18n admin_urls %} -{% block object-tools-items %} -
  • - - {% translate "Export" %} - -
  • - {{ block.super }} -{% endblock %} diff --git a/tests/source_django/change_list_results.html b/tests/source_django/change_list_results.html deleted file mode 100644 index bed887c..0000000 --- a/tests/source_django/change_list_results.html +++ /dev/null @@ -1,60 +0,0 @@ -{% load i18n static %} -{% if result_hidden_fields %} -
    - {# DIV for HTML validation #} - {% for item in result_hidden_fields %}{{ item }}{% endfor %} -
    -{% endif %} -{% if results %} -
    - - - - {% for header in result_headers %} - - {% endfor %} - - - - {% for result in results %} - {% if result.form.non_field_errors %} - - - - {% endif %} - - {% for item in result %}{{ item }}{% endfor %} - - {% endfor %} - -
    - {% if header.sortable %} - {% if header.sort_priority > 0 %} -
    - - {% if num_sorted_fields > 1 %} - - {{ header.sort_priority }} - - {% endif %} - - -
    - {% endif %} - {% endif %} -
    - {% if header.sortable %} - {{ header.text|capfirst }} - {% else %} - {{ header.text|capfirst }} - {% endif %} -
    -
    -
    {{ result.form.non_field_errors }}
    -
    -{% endif %} diff --git a/tests/source_django/change_password.html b/tests/source_django/change_password.html deleted file mode 100644 index 3147d50..0000000 --- a/tests/source_django/change_password.html +++ /dev/null @@ -1,70 +0,0 @@ -{% extends "admin/base_site.html" %} -{% load i18n static %} -{% load admin_urls %} -{% block extrastyle %} - {{ block.super }} - -{% endblock %} -{% block bodyclass %}{{ block.super }} {{ opts.app_label }}-{{ opts.model_name }} change-form{% endblock %} -{% if not is_popup %} - {% block breadcrumbs %} - - {% endblock %} -{% endif %} -{% block content %} -
    -
    - {% csrf_token %} - {% block form_top %}{% endblock %} - -
    - {% if is_popup %}{% endif %} - {% if form.errors %} -

    - {% if form.errors.items|length == 1 %} - {% translate "Please correct the error below." %} - {% else %} - {% translate "Please correct the errors below." %} - {% endif %} -

    - {% endif %} -

    - {% blocktranslate with username=original %}Enter a new password for the user {{ username }}.{% endblocktranslate %} -

    -
    -
    - {{ form.password1.errors }} - {{ form.password1.label_tag }} {{ form.password1 }} - {% if form.password1.help_text %}
    {{ form.password1.help_text|safe }}
    {% endif %} -
    -
    - {{ form.password2.errors }} - {{ form.password2.label_tag }} {{ form.password2 }} - {% if form.password2.help_text %}
    {{ form.password2.help_text|safe }}
    {% endif %} -
    -
    -
    - -
    -
    -
    -
    -{% endblock %} diff --git a/tests/source_django/checkbox.html b/tests/source_django/checkbox.html deleted file mode 100644 index 08b1e61..0000000 --- a/tests/source_django/checkbox.html +++ /dev/null @@ -1 +0,0 @@ -{% include "django/forms/widgets/input.html" %} diff --git a/tests/source_django/checkbox_option.html b/tests/source_django/checkbox_option.html deleted file mode 100644 index bb9acba..0000000 --- a/tests/source_django/checkbox_option.html +++ /dev/null @@ -1 +0,0 @@ -{% include "django/forms/widgets/input_option.html" %} diff --git a/tests/source_django/checkbox_select.html b/tests/source_django/checkbox_select.html deleted file mode 100644 index 780899a..0000000 --- a/tests/source_django/checkbox_select.html +++ /dev/null @@ -1 +0,0 @@ -{% include "django/forms/widgets/multiple_input.html" %} diff --git a/tests/source_django/clearable_file_input.html b/tests/source_django/clearable_file_input.html deleted file mode 100644 index 22a7d86..0000000 --- a/tests/source_django/clearable_file_input.html +++ /dev/null @@ -1,16 +0,0 @@ -{% if widget.is_initial %} - {{ widget.initial_text }}: - {{ widget.value }} - {% if not widget.required %} - - - {% endif %} -
    - {{ widget.input_text }}: -{% endif %} - diff --git a/tests/source_django/confirm_delete.html b/tests/source_django/confirm_delete.html deleted file mode 100644 index 1eabf91..0000000 --- a/tests/source_django/confirm_delete.html +++ /dev/null @@ -1 +0,0 @@ -Generic: Are you sure? diff --git a/tests/source_django/csrf.html b/tests/source_django/csrf.html deleted file mode 100644 index a8367c4..0000000 --- a/tests/source_django/csrf.html +++ /dev/null @@ -1 +0,0 @@ -{% csrf_token %} diff --git a/tests/source_django/custom_filter_template.html b/tests/source_django/custom_filter_template.html deleted file mode 100644 index a377393..0000000 --- a/tests/source_django/custom_filter_template.html +++ /dev/null @@ -1,8 +0,0 @@ -

    By {{ filter_title }} (custom)

    - diff --git a/tests/source_django/custom_widget.html b/tests/source_django/custom_widget.html deleted file mode 100644 index c6e8abd..0000000 --- a/tests/source_django/custom_widget.html +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tests/source_django/cyclic_context_boundfield_render.html b/tests/source_django/cyclic_context_boundfield_render.html deleted file mode 100644 index 726e82a..0000000 --- a/tests/source_django/cyclic_context_boundfield_render.html +++ /dev/null @@ -1,2 +0,0 @@ -{% load tags %} -{% count_render %} diff --git a/tests/source_django/date.html b/tests/source_django/date.html deleted file mode 100644 index 08b1e61..0000000 --- a/tests/source_django/date.html +++ /dev/null @@ -1 +0,0 @@ -{% include "django/forms/widgets/input.html" %} diff --git a/tests/source_django/date_hierarchy.html b/tests/source_django/date_hierarchy.html deleted file mode 100644 index c92db1a..0000000 --- a/tests/source_django/date_hierarchy.html +++ /dev/null @@ -1,12 +0,0 @@ -{% extends "admin/date_hierarchy.html" %} -{% load i18n %} -{% block date-hierarchy-choices %} - - -{% endblock %} diff --git a/tests/source_django/datearticle_archive_month.html b/tests/source_django/datearticle_archive_month.html deleted file mode 100644 index bd2d67f..0000000 --- a/tests/source_django/datearticle_archive_month.html +++ /dev/null @@ -1 +0,0 @@ -This template intentionally left blank diff --git a/tests/source_django/datetime.html b/tests/source_django/datetime.html deleted file mode 100644 index 08b1e61..0000000 --- a/tests/source_django/datetime.html +++ /dev/null @@ -1 +0,0 @@ -{% include "django/forms/widgets/input.html" %} diff --git a/tests/source_django/debug.html b/tests/source_django/debug.html deleted file mode 100644 index 2704320..0000000 --- a/tests/source_django/debug.html +++ /dev/null @@ -1,10 +0,0 @@ -{% if debug == True %} - Have debug - First query list: {{ sql_queries|length }} - {% for obj in debug_objects.all %}{{ obj }}{% endfor %} - Second query list: {{ sql_queries|length }} - {% for obj in debug_objects.all %}{{ obj }}{% endfor %} - Third query list: {{ sql_queries|length }} - {% for obj in other_debug_objects.all %}{{ obj }}{% endfor %} - Fourth query list: {{ sql_queries|length }} -{% endif %} diff --git a/tests/source_django/default.html b/tests/source_django/default.html deleted file mode 100644 index e0f8387..0000000 --- a/tests/source_django/default.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - {{ flatpage.title }} - - -

    - {{ flatpage.content }} -

    - - diff --git a/tests/source_django/default_urlconf.html b/tests/source_django/default_urlconf.html deleted file mode 100644 index ce6fac2..0000000 --- a/tests/source_django/default_urlconf.html +++ /dev/null @@ -1,293 +0,0 @@ -{% load i18n %} - -{% get_current_language as LANGUAGE_CODE %}{% get_current_language_bidi as LANGUAGE_BIDI %} - - - - {% translate "The install worked successfully! Congratulations!" %} - - - - - -
    - -

    - {% blocktranslate %}View release notes for Django {{ version }}{% endblocktranslate %} -

    -
    -
    - -

    {% translate "The install worked successfully! Congratulations!" %}

    -

    - {% blocktranslate %}You are seeing this page because DEBUG=True is in your settings file and you have not configured any URLs.{% endblocktranslate %} -

    -
    - - - diff --git a/tests/source_django/delete_confirmation.html b/tests/source_django/delete_confirmation.html deleted file mode 100644 index 9353c5b..0000000 --- a/tests/source_django/delete_confirmation.html +++ /dev/null @@ -1 +0,0 @@ -{% extends "admin/delete_confirmation.html" %} diff --git a/tests/source_django/delete_selected_confirmation.html b/tests/source_django/delete_selected_confirmation.html deleted file mode 100644 index 9268536..0000000 --- a/tests/source_django/delete_selected_confirmation.html +++ /dev/null @@ -1 +0,0 @@ -{% extends "admin/delete_selected_confirmation.html" %} diff --git a/tests/source_django/description.html b/tests/source_django/description.html deleted file mode 100644 index 850e85e..0000000 --- a/tests/source_django/description.html +++ /dev/null @@ -1 +0,0 @@ -Description in your templates: {{ obj }} diff --git a/tests/source_django/description_context.html b/tests/source_django/description_context.html deleted file mode 100644 index b8872fd..0000000 --- a/tests/source_django/description_context.html +++ /dev/null @@ -1 +0,0 @@ -{{ obj }} (foo is {{ foo }}) diff --git a/tests/source_django/detail.html b/tests/source_django/detail.html deleted file mode 100644 index 8f95ce5..0000000 --- a/tests/source_django/detail.html +++ /dev/null @@ -1 +0,0 @@ -Look, an {{ object }}. diff --git a/tests/source_django/django_escaping.html b/tests/source_django/django_escaping.html deleted file mode 100644 index b3fba78..0000000 --- a/tests/source_django/django_escaping.html +++ /dev/null @@ -1,3 +0,0 @@ -{{ media }} -{{ test_form  }} -{{ test_form.test_field }} diff --git a/tests/source_django/dummy.html b/tests/source_django/dummy.html deleted file mode 100644 index e69de29..0000000 diff --git a/tests/source_django/email.html b/tests/source_django/email.html deleted file mode 100644 index 08b1e61..0000000 --- a/tests/source_django/email.html +++ /dev/null @@ -1 +0,0 @@ -{% include "django/forms/widgets/input.html" %} diff --git a/tests/source_django/empty.html b/tests/source_django/empty.html deleted file mode 100644 index e69de29..0000000 diff --git a/tests/source_django/epub-cover.html b/tests/source_django/epub-cover.html deleted file mode 100644 index 7c00f7a..0000000 --- a/tests/source_django/epub-cover.html +++ /dev/null @@ -1,13 +0,0 @@ -{%- extends "epub/epub-cover.html" %} -{% block content %} -
    -

    Django Documentation

    -

    - Release {{ release }} -

    -

    {{ copyright }}

    -

    - {{ last_updated }} -

    -
    -{% endblock %} diff --git a/tests/source_django/error.html b/tests/source_django/error.html deleted file mode 100644 index 8971879..0000000 --- a/tests/source_django/error.html +++ /dev/null @@ -1,5 +0,0 @@ -{% if errors %} -
    - {% for error in errors %}
    {{ error }}
    {% endfor %} -
    -{% endif %} diff --git a/tests/source_django/error_extends.html b/tests/source_django/error_extends.html deleted file mode 100644 index 40f383c..0000000 --- a/tests/source_django/error_extends.html +++ /dev/null @@ -1,2 +0,0 @@ -{% extends "./../two.html" %} -{% block content %}{{ block.super }} one{% endblock %} diff --git a/tests/source_django/error_include.html b/tests/source_django/error_include.html deleted file mode 100644 index a5efe30..0000000 --- a/tests/source_django/error_include.html +++ /dev/null @@ -1 +0,0 @@ -{% include "./../three.html" %} diff --git a/tests/source_django/extend-missing.html b/tests/source_django/extend-missing.html deleted file mode 100644 index e3c106e..0000000 --- a/tests/source_django/extend-missing.html +++ /dev/null @@ -1 +0,0 @@ -{% extends "missing.html" %} diff --git a/tests/source_django/extended.html b/tests/source_django/extended.html deleted file mode 100644 index 55d848d..0000000 --- a/tests/source_django/extended.html +++ /dev/null @@ -1,3 +0,0 @@ -{% extends "base.html" %} -{% block title %}Extended template{% endblock %} -{% block content %}This is just a template extending the base.{% endblock %} diff --git a/tests/source_django/extends.html b/tests/source_django/extends.html deleted file mode 100644 index d14bfa2..0000000 --- a/tests/source_django/extends.html +++ /dev/null @@ -1 +0,0 @@ -{% extends "template_used/base.html" %} diff --git a/tests/source_django/fieldset.html b/tests/source_django/fieldset.html deleted file mode 100644 index a18e427..0000000 --- a/tests/source_django/fieldset.html +++ /dev/null @@ -1,34 +0,0 @@ -
    - {% if fieldset.name %}

    {{ fieldset.name }}

    {% endif %} - {% if fieldset.description %}
    {{ fieldset.description|safe }}
    {% endif %} - {% for line in fieldset %} -
    - {% if line.fields|length_is:'1' %} - {{ line.errors }} - {% endif %} - {% for field in line %} -
    - {% if not line.fields|length_is:'1' and not field.is_readonly %} - {{ field.errors }} - {% endif %} - {% if field.is_checkbox %} - {{ field.field }}{{ field.label_tag }} - {% else %} - {{ field.label_tag }} - {% if field.is_readonly %} -
    {{ field.contents }}
    - {% else %} - {{ field.field }} - {% endif %} - {% endif %} - {% if field.field.help_text %}
    {{ field.field.help_text|safe }}
    {% endif %} -
    - {% endfor %} -
    - {% endfor %} -
    diff --git a/tests/source_django/file.html b/tests/source_django/file.html deleted file mode 100644 index 08b1e61..0000000 --- a/tests/source_django/file.html +++ /dev/null @@ -1 +0,0 @@ -{% include "django/forms/widgets/input.html" %} diff --git a/tests/source_django/filter.html b/tests/source_django/filter.html deleted file mode 100644 index 78dcc73..0000000 --- a/tests/source_django/filter.html +++ /dev/null @@ -1,10 +0,0 @@ -{% load i18n %} -

    {% blocktranslate with filter_title=title %} By {{ filter_title }} {% endblocktranslate %}

    - diff --git a/tests/source_django/foo.html b/tests/source_django/foo.html deleted file mode 100644 index df6a819..0000000 --- a/tests/source_django/foo.html +++ /dev/null @@ -1 +0,0 @@ -no priority diff --git a/tests/source_django/foreign_key_raw_id.html b/tests/source_django/foreign_key_raw_id.html deleted file mode 100644 index 14b8a65..0000000 --- a/tests/source_django/foreign_key_raw_id.html +++ /dev/null @@ -1,14 +0,0 @@ -{% include 'django/forms/widgets/input.html' %} -{% if related_url %} - -{% endif %} -{% if link_label %} - - {% if link_url %}{% endif %} - {{ link_label }} - {% if link_url %}{% endif %} - -{% endif %} diff --git a/tests/source_django/form.html b/tests/source_django/form.html deleted file mode 100644 index b89d46c..0000000 --- a/tests/source_django/form.html +++ /dev/null @@ -1 +0,0 @@ -A generic form: {{ form }} diff --git a/tests/source_django/form_snippet.html b/tests/source_django/form_snippet.html deleted file mode 100644 index 194e23d..0000000 --- a/tests/source_django/form_snippet.html +++ /dev/null @@ -1,6 +0,0 @@ -{% for field in form %} -
    - {{ field.errors }} - {{ field.label_tag }} {{ field }} -
    -{% endfor %} diff --git a/tests/source_django/form_view.html b/tests/source_django/form_view.html deleted file mode 100644 index 7f8b9fa..0000000 --- a/tests/source_django/form_view.html +++ /dev/null @@ -1,18 +0,0 @@ -{% extends "base.html" %} -{% block title %}Submit data{% endblock %} -{% block content %} -

    {{ message }}

    -
    - {% if form.errors %} -

    - Please correct the errors below: -

    - {% endif %} - -
    -{% endblock %} diff --git a/tests/source_django/genindex.html b/tests/source_django/genindex.html deleted file mode 100644 index 62223f2..0000000 --- a/tests/source_django/genindex.html +++ /dev/null @@ -1,3 +0,0 @@ -{% extends "basic/genindex.html" %} -{% block bodyclass %}{% endblock %} -{% block sidebarwrapper %}{% endblock %} diff --git a/tests/source_django/goodbye.html b/tests/source_django/goodbye.html deleted file mode 100644 index b8fb727..0000000 --- a/tests/source_django/goodbye.html +++ /dev/null @@ -1 +0,0 @@ -Goodbye! (Django templates) diff --git a/tests/source_django/hello.html b/tests/source_django/hello.html deleted file mode 100644 index 7f54a62..0000000 --- a/tests/source_django/hello.html +++ /dev/null @@ -1 +0,0 @@ -Hello! (Django templates) diff --git a/tests/source_django/hidden.html b/tests/source_django/hidden.html deleted file mode 100644 index 08b1e61..0000000 --- a/tests/source_django/hidden.html +++ /dev/null @@ -1 +0,0 @@ -{% include "django/forms/widgets/input.html" %} diff --git a/tests/source_django/html_password_reset_email.html b/tests/source_django/html_password_reset_email.html deleted file mode 100644 index 263e7dd..0000000 --- a/tests/source_django/html_password_reset_email.html +++ /dev/null @@ -1,3 +0,0 @@ - - Link - diff --git a/tests/source_django/ignored.html b/tests/source_django/ignored.html deleted file mode 100644 index 86fdecc..0000000 --- a/tests/source_django/ignored.html +++ /dev/null @@ -1,2 +0,0 @@ -{% load i18n %} -{% translate "This subdir should be ignored too." %} diff --git a/tests/source_django/inc1.html b/tests/source_django/inc1.html deleted file mode 100644 index a854bef..0000000 --- a/tests/source_django/inc1.html +++ /dev/null @@ -1 +0,0 @@ -{% include "./../../three.html" %} diff --git a/tests/source_django/inc2.html b/tests/source_django/inc2.html deleted file mode 100644 index 376f479..0000000 --- a/tests/source_django/inc2.html +++ /dev/null @@ -1 +0,0 @@ -{% include "./include_content.html" %} diff --git a/tests/source_django/inc3.html b/tests/source_django/inc3.html deleted file mode 100644 index 7a8374d..0000000 --- a/tests/source_django/inc3.html +++ /dev/null @@ -1 +0,0 @@ -{% include tmpl %} diff --git a/tests/source_django/include.html b/tests/source_django/include.html deleted file mode 100644 index 2d6c954..0000000 --- a/tests/source_django/include.html +++ /dev/null @@ -1 +0,0 @@ -{% include "template_used/base.html" %} diff --git a/tests/source_django/include_content.html b/tests/source_django/include_content.html deleted file mode 100644 index 132d8b8..0000000 --- a/tests/source_django/include_content.html +++ /dev/null @@ -1 +0,0 @@ -dir2 include diff --git a/tests/source_django/include_tpl.html b/tests/source_django/include_tpl.html deleted file mode 100644 index 7a8374d..0000000 --- a/tests/source_django/include_tpl.html +++ /dev/null @@ -1 +0,0 @@ -{% include tmpl %} diff --git a/tests/source_django/included_base.html b/tests/source_django/included_base.html deleted file mode 100644 index ca0c516..0000000 --- a/tests/source_django/included_base.html +++ /dev/null @@ -1,3 +0,0 @@ -{% block content %} - {% block error_here %}{% endblock %} -{% endblock %} diff --git a/tests/source_django/included_content.html b/tests/source_django/included_content.html deleted file mode 100644 index 332beeb..0000000 --- a/tests/source_django/included_content.html +++ /dev/null @@ -1,9 +0,0 @@ -{% extends "included_base.html" %} -{% block content %} - content - {{ block.super }} -{% endblock %} -{% block error_here %} - error here - {% url "nonexistent_url" %} -{% endblock %} diff --git a/tests/source_django/inclusion.html b/tests/source_django/inclusion.html deleted file mode 100644 index 4000d3a..0000000 --- a/tests/source_django/inclusion.html +++ /dev/null @@ -1 +0,0 @@ -{{ result }} diff --git a/tests/source_django/inclusion_base.html b/tests/source_django/inclusion_base.html deleted file mode 100644 index 795c4da..0000000 --- a/tests/source_django/inclusion_base.html +++ /dev/null @@ -1 +0,0 @@ -{% block content %}base{% endblock %} diff --git a/tests/source_django/inclusion_extends1.html b/tests/source_django/inclusion_extends1.html deleted file mode 100644 index 4827f42..0000000 --- a/tests/source_django/inclusion_extends1.html +++ /dev/null @@ -1,2 +0,0 @@ -{% extends 'inclusion_base.html' %} -{% block content %}one{% endblock %} diff --git a/tests/source_django/inclusion_extends2.html b/tests/source_django/inclusion_extends2.html deleted file mode 100644 index 0ec4d64..0000000 --- a/tests/source_django/inclusion_extends2.html +++ /dev/null @@ -1,2 +0,0 @@ -{% extends 'inclusion_base.html' %} -{% block content %}two{% endblock %} diff --git a/tests/source_django/index.html b/tests/source_django/index.html deleted file mode 100644 index 87cbe7f..0000000 --- a/tests/source_django/index.html +++ /dev/null @@ -1,5 +0,0 @@ -{% extends "admin/index.html" %} -{% block content %} - Hello from a custom index template {{ foo }} - {{ block.super }} -{% endblock %} diff --git a/tests/source_django/input.html b/tests/source_django/input.html deleted file mode 100644 index 4760798..0000000 --- a/tests/source_django/input.html +++ /dev/null @@ -1,4 +0,0 @@ - diff --git a/tests/source_django/input_option.html b/tests/source_django/input_option.html deleted file mode 100644 index 767b160..0000000 --- a/tests/source_django/input_option.html +++ /dev/null @@ -1,8 +0,0 @@ -{% if widget.wrap_label %} - -{% endif %} diff --git a/tests/source_django/invalid_setup.html b/tests/source_django/invalid_setup.html deleted file mode 100644 index affaa9c..0000000 --- a/tests/source_django/invalid_setup.html +++ /dev/null @@ -1,13 +0,0 @@ -{% extends "admin/base_site.html" %} -{% load i18n %} -{% block breadcrumbs %} - -{% endblock %} -{% block content %} -

    - {% translate 'Something’s wrong with your database installation. Make sure the appropriate database tables have been created, and make sure the database is readable by the appropriate user.' %} -

    -{% endblock %} diff --git a/tests/source_django/jsi18n-multi-catalogs.html b/tests/source_django/jsi18n-multi-catalogs.html deleted file mode 100644 index 8074058..0000000 --- a/tests/source_django/jsi18n-multi-catalogs.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - -

    - -

    -

    - -

    - - diff --git a/tests/source_django/jsi18n.html b/tests/source_django/jsi18n.html deleted file mode 100644 index d0eac95..0000000 --- a/tests/source_django/jsi18n.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - - -

    - -

    -

    - -

    -

    - -

    -

    - -

    -

    - - -

    -

    - -

    -

    - -

    -

    - -

    - - diff --git a/tests/source_django/label.html b/tests/source_django/label.html deleted file mode 100644 index a4a30c0..0000000 --- a/tests/source_django/label.html +++ /dev/null @@ -1,5 +0,0 @@ -{% if use_tag %} - -{% else %} - {{ label }} -{% endif %} diff --git a/tests/source_django/layout.html b/tests/source_django/layout.html deleted file mode 100644 index 294201b..0000000 --- a/tests/source_django/layout.html +++ /dev/null @@ -1,167 +0,0 @@ -{% extends "basic/layout.html" %} -{%- macro secondnav() %} - {%- if prev %} - « - previous - {{ reldelim2 }} - {%- endif %} - {%- if parents %} - up - {%- else %} - up - {%- endif %} - {%- if next %} - {{ reldelim2 }} - next - » - {%- endif %} -{%- endmacro %} -{% block extrahead %} - {# When building htmlhelp (CHM format) disable jQuery inclusion, #} - {# as it causes problems in compiled CHM files. #} - {% if builder != "htmlhelp" %} - {{ super() }} - - - {% endif %} - {%- if include_console_assets -%} - - {%- endif -%} -{% endblock %} -{% block document %} -
    -
    -

    - {{ docstitle }} -

    - - -
    -
    -
    -
    -
    - {% block body %}{% endblock %} -
    -
    -
    - {% block sidebarwrapper %} - {% if pagename != 'index' %} - - {% endif %} - {% endblock %} -
    -
    - -
    -
    -{% endblock %} -{% block sidebarrel %} -

    Browse

    - -

    You are here:

    - -{% endblock %} -{# Empty some default blocks out #} -{% block relbar1 %}{% endblock %} -{% block relbar2 %}{% endblock %} -{% block sidebar1 %}{% endblock %} -{% block sidebar2 %}{% endblock %} -{% block footer %}{% endblock %} diff --git a/tests/source_django/list.html b/tests/source_django/list.html deleted file mode 100644 index 5911a35..0000000 --- a/tests/source_django/list.html +++ /dev/null @@ -1 +0,0 @@ -{% for item in object_list %}{{ item }}{% endfor %} diff --git a/tests/source_django/logged_out.html b/tests/source_django/logged_out.html deleted file mode 100644 index 0a06d95..0000000 --- a/tests/source_django/logged_out.html +++ /dev/null @@ -1 +0,0 @@ -Logged out diff --git a/tests/source_django/login.html b/tests/source_django/login.html deleted file mode 100644 index 39b9d71..0000000 --- a/tests/source_django/login.html +++ /dev/null @@ -1,27 +0,0 @@ -{% extends "base.html" %} -{% block title %}Login{% endblock %} -{% block content %} - {% if form.errors %} -

    - Your username and password didn't match. Please try again. -

    - {% endif %} -
    - - - - - - - - - -
    - - {{ form.username }}
    - - {{ form.password }}
    - - -
    -{% endblock %} diff --git a/tests/source_django/logout.html b/tests/source_django/logout.html deleted file mode 100644 index 32bdd82..0000000 --- a/tests/source_django/logout.html +++ /dev/null @@ -1,5 +0,0 @@ -{% extends "registration/logged_out.html" %} -{% block content %} - Hello from a custom logout template - {{ block.super }} -{% endblock %} diff --git a/tests/source_django/looped.html b/tests/source_django/looped.html deleted file mode 100644 index 17cf24a..0000000 --- a/tests/source_django/looped.html +++ /dev/null @@ -1,2 +0,0 @@ -{% extends "./dir2/../looped.html" %} -{% block content %}{{ block.super }} dir1 three{% endblock %} diff --git a/tests/source_django/many_to_many_raw_id.html b/tests/source_django/many_to_many_raw_id.html deleted file mode 100644 index 0dd0331..0000000 --- a/tests/source_django/many_to_many_raw_id.html +++ /dev/null @@ -1 +0,0 @@ -{% include 'admin/widgets/foreign_key_raw_id.html' %} diff --git a/tests/source_django/media_ignored.html b/tests/source_django/media_ignored.html deleted file mode 100644 index e69de29..0000000 diff --git a/tests/source_django/missing_docutils.html b/tests/source_django/missing_docutils.html deleted file mode 100644 index 1ef1d4f..0000000 --- a/tests/source_django/missing_docutils.html +++ /dev/null @@ -1,22 +0,0 @@ -{% extends "admin/base_site.html" %} -{% load i18n %} -{% block breadcrumbs %} - -{% endblock %} -{% block title %} - {% translate 'Please install docutils' %} -{% endblock %} -{% block content %} -

    {% translate 'Documentation' %}

    -
    -

    - {% blocktranslate with "https://docutils.sourceforge.io/" as link %}The admin documentation system requires Python’s docutils library.{% endblocktranslate %} -

    -

    - {% blocktranslate with "https://docutils.sourceforge.io/" as link %}Please ask your administrators to install docutils.{% endblocktranslate %} -

    -
    -{% endblock %} diff --git a/tests/source_django/model_detail.html b/tests/source_django/model_detail.html deleted file mode 100644 index 55da34e..0000000 --- a/tests/source_django/model_detail.html +++ /dev/null @@ -1,79 +0,0 @@ -{% extends "admin/base_site.html" %} -{% load i18n %} -{% block extrahead %} - {{ block.super }} - -{% endblock %} -{% block breadcrumbs %} - -{% endblock %} -{% block title %} - {% blocktranslate %}Model: {{ name }}{% endblocktranslate %} -{% endblock %} -{% block content %} -
    -

    {{ name }}

    -

    {{ summary }}

    - {{ description }} -

    {% translate 'Fields' %}

    -
    - - - - - - - - - - {% for field in fields|dictsort:"name" %} - - - - - - {% endfor %} - -
    {% translate 'Field' %}{% translate 'Type' %}{% translate 'Description' %}
    {{ field.name }}{{ field.data_type }} - {{ field.verbose }} - {% if field.help_text %}- {{ field.help_text|safe }}{% endif %} -
    -
    - {% if methods %} -

    {% translate 'Methods with arguments' %}

    -
    - - - - - - - - - - {% for method in methods|dictsort:"name" %} - - - - - - {% endfor %} - -
    {% translate 'Method' %}{% translate 'Arguments' %}{% translate 'Description' %}
    {{ method.name }}{{ method.arguments }}{{ method.verbose }}
    -
    - {% endif %} -

    - ‹ {% translate 'Back to Model documentation' %} -

    -
    -{% endblock %} diff --git a/tests/source_django/model_index.html b/tests/source_django/model_index.html deleted file mode 100644 index 6f7dd9c..0000000 --- a/tests/source_django/model_index.html +++ /dev/null @@ -1,51 +0,0 @@ -{% extends "admin/base_site.html" %} -{% load i18n %} -{% block coltype %}colSM{% endblock %} -{% block breadcrumbs %} - -{% endblock %} -{% block title %} - {% translate 'Models' %} -{% endblock %} -{% block content %} -

    {% translate 'Model documentation' %}

    - {% regroup models by app_config as grouped_models %} -
    - {% for group in grouped_models %} -
    -

    {{ group.grouper.verbose_name }} ({{ group.grouper.name }})

    - - {% for model in group.list %} - - - - {% endfor %} -
    - - {{ model.object_name }} - -
    -
    - {% endfor %} -
    -{% endblock %} -{% block sidebar %} - -{% endblock %} diff --git a/tests/source_django/modindex.html b/tests/source_django/modindex.html deleted file mode 100644 index ca5a2d4..0000000 --- a/tests/source_django/modindex.html +++ /dev/null @@ -1,3 +0,0 @@ -{% extends "basic/modindex.html" %} -{% block bodyclass %}{% endblock %} -{% block sidebarwrapper %}{% endblock %} diff --git a/tests/source_django/multiple_hidden.html b/tests/source_django/multiple_hidden.html deleted file mode 100644 index b9695de..0000000 --- a/tests/source_django/multiple_hidden.html +++ /dev/null @@ -1 +0,0 @@ -{% include "django/forms/widgets/multiwidget.html" %} diff --git a/tests/source_django/multiple_input.html b/tests/source_django/multiple_input.html deleted file mode 100644 index 6e91744..0000000 --- a/tests/source_django/multiple_input.html +++ /dev/null @@ -1,15 +0,0 @@ -{% with id=widget.attrs.id %} -
    - {% for group, options, index in widget.optgroups %} - {% if group %} -
    - - {% endif %} - {% for option in options %} -
    {% include option.template_name with widget=option %}
    - {% endfor %} - {% if group %}
    {% endif %} - {% endfor %} -
    - {% endwith %} diff --git a/tests/source_django/multiwidget.html b/tests/source_django/multiwidget.html deleted file mode 100644 index d49fffb..0000000 --- a/tests/source_django/multiwidget.html +++ /dev/null @@ -1,5 +0,0 @@ -{% spaceless %} - {% for widget in widget.subwidgets %} - {% include widget.template_name %} - {% endfor %} -{% endspaceless %} diff --git a/tests/source_django/my_technical_500.html b/tests/source_django/my_technical_500.html deleted file mode 100644 index 7e8f7a9..0000000 --- a/tests/source_django/my_technical_500.html +++ /dev/null @@ -1 +0,0 @@ -

    Oh no, an error occurred!

    diff --git a/tests/source_django/nav_sidebar.html b/tests/source_django/nav_sidebar.html deleted file mode 100644 index 3eedcab..0000000 --- a/tests/source_django/nav_sidebar.html +++ /dev/null @@ -1,12 +0,0 @@ -{% load i18n %} - - diff --git a/tests/source_django/number.html b/tests/source_django/number.html deleted file mode 100644 index 08b1e61..0000000 --- a/tests/source_django/number.html +++ /dev/null @@ -1 +0,0 @@ -{% include "django/forms/widgets/input.html" %} diff --git a/tests/source_django/object_delete_summary.html b/tests/source_django/object_delete_summary.html deleted file mode 100644 index a2706a1..0000000 --- a/tests/source_django/object_delete_summary.html +++ /dev/null @@ -1,5 +0,0 @@ -{% load i18n %} -

    {% translate "Summary" %}

    - diff --git a/tests/source_django/object_history.html b/tests/source_django/object_history.html deleted file mode 100644 index aee3b5b..0000000 --- a/tests/source_django/object_history.html +++ /dev/null @@ -1 +0,0 @@ -{% extends "admin/object_history.html" %} diff --git a/tests/source_django/one.html b/tests/source_django/one.html deleted file mode 100644 index bde02ec..0000000 --- a/tests/source_django/one.html +++ /dev/null @@ -1,2 +0,0 @@ -{% extends "./two.html" %} -{% block content %}{{ block.super }} one{% endblock %} diff --git a/tests/source_django/one1.html b/tests/source_django/one1.html deleted file mode 100644 index dc27431..0000000 --- a/tests/source_django/one1.html +++ /dev/null @@ -1,2 +0,0 @@ -{% extends './../one.html' %} -{% block content %}{{ block.super }} dir1 one{% endblock %} diff --git a/tests/source_django/one2.html b/tests/source_django/one2.html deleted file mode 100644 index a03a063..0000000 --- a/tests/source_django/one2.html +++ /dev/null @@ -1,2 +0,0 @@ -{% extends '../one.html' %} -{% block content %}{{ block.super }} dir1 one{% endblock %} diff --git a/tests/source_django/one3.html b/tests/source_django/one3.html deleted file mode 100644 index 4303551..0000000 --- a/tests/source_django/one3.html +++ /dev/null @@ -1,2 +0,0 @@ -{% extends "../one.html" %} -{% block content %}{{ block.super }} dir1 one{% endblock %} diff --git a/tests/source_django/one_var.html b/tests/source_django/one_var.html deleted file mode 100644 index f2dcc64..0000000 --- a/tests/source_django/one_var.html +++ /dev/null @@ -1,2 +0,0 @@ -{% extends tmpl %} -{% block content %}{{ block.super }} one{% endblock %} diff --git a/tests/source_django/openlayers-osm.html b/tests/source_django/openlayers-osm.html deleted file mode 100644 index b508eda..0000000 --- a/tests/source_django/openlayers-osm.html +++ /dev/null @@ -1,9 +0,0 @@ -{% extends "gis/openlayers.html" %} -{% load l10n %} -{% block options %} - {{ block.super }} - options['default_lon'] = {{ default_lon|unlocalize }}; - options['default_lat'] = {{ default_lat|unlocalize }}; - options['default_zoom'] = {{ default_zoom|unlocalize }}; -{% endblock %} -{% block base_layer %}var base_layer = new ol.layer.Tile({source: new ol.source.OSM()});{% endblock %} diff --git a/tests/source_django/openlayers.html b/tests/source_django/openlayers.html deleted file mode 100644 index fed5b7b..0000000 --- a/tests/source_django/openlayers.html +++ /dev/null @@ -1,51 +0,0 @@ -{% load i18n l10n %} - -
    -
    - {% if not disabled %} - - {% translate "Delete all Features" %} - - {% endif %} - {% if display_raw %} -

    - {% translate "Debugging window (serialized value)" %} -

    - {% endif %} - - -
    diff --git a/tests/source_django/osm.html b/tests/source_django/osm.html deleted file mode 100644 index 0fb014a..0000000 --- a/tests/source_django/osm.html +++ /dev/null @@ -1,4 +0,0 @@ -{% extends "gis/admin/openlayers.html" %} -{% block openlayers %} - {% include "gis/admin/osm.js" %} -{% endblock %} diff --git a/tests/source_django/other-recursive.html b/tests/source_django/other-recursive.html deleted file mode 100644 index 84e5ac9..0000000 --- a/tests/source_django/other-recursive.html +++ /dev/null @@ -1 +0,0 @@ -{% extends "recursive.html" %} diff --git a/tests/source_django/p.html b/tests/source_django/p.html deleted file mode 100644 index f2b6d25..0000000 --- a/tests/source_django/p.html +++ /dev/null @@ -1,22 +0,0 @@ -{{ errors }} -{% if errors and not fields %} -

    - {% for field in hidden_fields %}{{ field }}{% endfor %} -

    -{% endif %} -{% for field, errors in fields %} - {{ errors }} -

    - {% if field.label %}{{ field.label_tag }}{% endif %} - {{ field }} - {% if field.help_text %}{{ field.help_text }}{% endif %} - {% if forloop.last %} - {% for field in hidden_fields %}{{ field }}{% endfor %} - {% endif %} -

    -{% endfor %} -{% if not fields and not errors %} - {% for field in hidden_fields %}{{ field }}{% endfor %} -{% endif %} diff --git a/tests/source_django/page_template.html b/tests/source_django/page_template.html deleted file mode 100644 index ac34ef6..0000000 --- a/tests/source_django/page_template.html +++ /dev/null @@ -1 +0,0 @@ -This is some content: {{ content }} diff --git a/tests/source_django/pagination.html b/tests/source_django/pagination.html deleted file mode 100644 index 645cd31..0000000 --- a/tests/source_django/pagination.html +++ /dev/null @@ -1,25 +0,0 @@ -{% load admin_list %} -{% load i18n %} -

    - {% if pagination_required %} - {% for i in page_range %} - {% paginator_number cl i %} - {% endfor %} - {% endif %} - {{ cl.result_count }} - {% if cl.result_count == 1 %} - {{ cl.opts.verbose_name }} - {% else %} - {{ cl.opts.verbose_name_plural }} - {% endif %} - {% if show_all_url %} -    - {% translate 'Show all' %} - {% endif %} - {% if cl.formset and cl.result_count %} - - {% endif %} -

    diff --git a/tests/source_django/password.html b/tests/source_django/password.html deleted file mode 100644 index 08b1e61..0000000 --- a/tests/source_django/password.html +++ /dev/null @@ -1 +0,0 @@ -{% include "django/forms/widgets/input.html" %} diff --git a/tests/source_django/password_change_done.html b/tests/source_django/password_change_done.html deleted file mode 100644 index 9212bae..0000000 --- a/tests/source_django/password_change_done.html +++ /dev/null @@ -1,5 +0,0 @@ -{% extends "registration/password_change_done.html" %} -{% block content %} - Hello from a custom password change done template - {{ block.super }} -{% endblock %} diff --git a/tests/source_django/password_change_form.html b/tests/source_django/password_change_form.html deleted file mode 100644 index c5793b3..0000000 --- a/tests/source_django/password_change_form.html +++ /dev/null @@ -1,6 +0,0 @@ -{% extends "registration/password_change_form.html" %} -{% block content %} - {{ spam }} - Hello from a custom password change form template - {{ block.super }} -{% endblock %} diff --git a/tests/source_django/password_reset_complete.html b/tests/source_django/password_reset_complete.html deleted file mode 100644 index b6569b2..0000000 --- a/tests/source_django/password_reset_complete.html +++ /dev/null @@ -1 +0,0 @@ -Password reset successfully diff --git a/tests/source_django/password_reset_confirm.html b/tests/source_django/password_reset_confirm.html deleted file mode 100644 index a3d899b..0000000 --- a/tests/source_django/password_reset_confirm.html +++ /dev/null @@ -1,6 +0,0 @@ -Hello, {{ form.user }}. -{% if validlink %} - Please enter your new password: {{ form }} -{% else %} - The password reset link was invalid -{% endif %} diff --git a/tests/source_django/password_reset_done.html b/tests/source_django/password_reset_done.html deleted file mode 100644 index 3a764ca..0000000 --- a/tests/source_django/password_reset_done.html +++ /dev/null @@ -1 +0,0 @@ -Email sent diff --git a/tests/source_django/password_reset_email.html b/tests/source_django/password_reset_email.html deleted file mode 100644 index 07043aa..0000000 --- a/tests/source_django/password_reset_email.html +++ /dev/null @@ -1,2 +0,0 @@ -{{ protocol }}://{{ domain }}/reset/{{ uid }}/{{ token }}/ -Email email context: "{{ greeting }}" diff --git a/tests/source_django/password_reset_form.html b/tests/source_django/password_reset_form.html deleted file mode 100644 index f9a859a..0000000 --- a/tests/source_django/password_reset_form.html +++ /dev/null @@ -1 +0,0 @@ -{{ form }} diff --git a/tests/source_django/percents.html b/tests/source_django/percents.html deleted file mode 100644 index 403c7cc..0000000 --- a/tests/source_django/percents.html +++ /dev/null @@ -1,9 +0,0 @@ -{% load i18n %} -{% translate "Literal with a percent symbol at the end %" %} -{% translate "Literal with a percent % symbol in the middle" %} -{% translate "It is 100%" %} -{% translate "It is 100%" context "female" %} -{% translate "Looks like a str fmt spec %s but should not be interpreted as such" %} -{% translate "Looks like a str fmt spec % o but should not be interpreted as such" %} -{% translate "1 percent sign %, 2 percent signs %%, 3 percent signs %%%" %} -{% blocktranslate with name="Simon" %}{{ name }} says: 1 percent sign %, 2 percent signs %%{% endblocktranslate %} diff --git a/tests/source_django/popup_response.html b/tests/source_django/popup_response.html deleted file mode 100644 index fd21d13..0000000 --- a/tests/source_django/popup_response.html +++ /dev/null @@ -1 +0,0 @@ -{% extends "admin/popup_response.html" %} diff --git a/tests/source_django/prepopulated_fields_js.html b/tests/source_django/prepopulated_fields_js.html deleted file mode 100644 index 7d147cc..0000000 --- a/tests/source_django/prepopulated_fields_js.html +++ /dev/null @@ -1,3 +0,0 @@ -{% load l10n static %} - diff --git a/tests/source_django/radio.html b/tests/source_django/radio.html deleted file mode 100644 index 780899a..0000000 --- a/tests/source_django/radio.html +++ /dev/null @@ -1 +0,0 @@ -{% include "django/forms/widgets/multiple_input.html" %} diff --git a/tests/source_django/radio_option.html b/tests/source_django/radio_option.html deleted file mode 100644 index bb9acba..0000000 --- a/tests/source_django/radio_option.html +++ /dev/null @@ -1 +0,0 @@ -{% include "django/forms/widgets/input_option.html" %} diff --git a/tests/source_django/read_only_password_hash.html b/tests/source_django/read_only_password_hash.html deleted file mode 100644 index 2a3a53f..0000000 --- a/tests/source_django/read_only_password_hash.html +++ /dev/null @@ -1,6 +0,0 @@ -
    - {% for entry in summary %} - {{ entry.label }} - {% if entry.value %}: {{ entry.value }}{% endif %} - {% endfor %} -
    diff --git a/tests/source_django/recursive.html b/tests/source_django/recursive.html deleted file mode 100644 index aefbad4..0000000 --- a/tests/source_django/recursive.html +++ /dev/null @@ -1 +0,0 @@ -{% block content %}fs3/recursive{% endblock %} diff --git a/tests/source_django/recursive_include.html b/tests/source_django/recursive_include.html deleted file mode 100644 index dc848f3..0000000 --- a/tests/source_django/recursive_include.html +++ /dev/null @@ -1,7 +0,0 @@ -Recursion! -{% for comment in comments %} - {{ comment.comment }} - {% if comment.children %} - {% include "recursive_include.html" with comments=comment.children %} - {% endif %} -{% endfor %} diff --git a/tests/source_django/related_widget_wrapper.html b/tests/source_django/related_widget_wrapper.html deleted file mode 100644 index d366e32..0000000 --- a/tests/source_django/related_widget_wrapper.html +++ /dev/null @@ -1,37 +0,0 @@ -{% load i18n static %} - diff --git a/tests/source_django/render_test.html b/tests/source_django/render_test.html deleted file mode 100644 index c2bbd9a..0000000 --- a/tests/source_django/render_test.html +++ /dev/null @@ -1 +0,0 @@ -{{ foo }}.{{ bar }}.{{ baz }}.{{ request.path }} diff --git a/tests/source_django/request.html b/tests/source_django/request.html deleted file mode 100644 index 5d899f6..0000000 --- a/tests/source_django/request.html +++ /dev/null @@ -1 +0,0 @@ -{{ request.path }} diff --git a/tests/source_django/request_attrs.html b/tests/source_django/request_attrs.html deleted file mode 100644 index 600802a..0000000 --- a/tests/source_django/request_attrs.html +++ /dev/null @@ -1,11 +0,0 @@ -{% if request %} - Have request -{% else %} - No request -{% endif %} -{% if request.is_secure %} - Secure -{% else %} - Not secure -{% endif %} -{{ request.path }} diff --git a/tests/source_django/request_context.html b/tests/source_django/request_context.html deleted file mode 100644 index 37a2425..0000000 --- a/tests/source_django/request_context.html +++ /dev/null @@ -1 +0,0 @@ -Path: {{ path }} diff --git a/tests/source_django/response.html b/tests/source_django/response.html deleted file mode 100644 index 96ab97f..0000000 --- a/tests/source_django/response.html +++ /dev/null @@ -1,2 +0,0 @@ -This is where you can find the snark: {% url "snark" %} -{% now "U.u" %} diff --git a/tests/source_django/search.html b/tests/source_django/search.html deleted file mode 100644 index 4fdc7f6..0000000 --- a/tests/source_django/search.html +++ /dev/null @@ -1,3 +0,0 @@ -{% extends "basic/search.html" %} -{% block bodyclass %}{% endblock %} -{% block sidebarwrapper %}{% endblock %} diff --git a/tests/source_django/search_form.html b/tests/source_django/search_form.html deleted file mode 100644 index c95ab7c..0000000 --- a/tests/source_django/search_form.html +++ /dev/null @@ -1,36 +0,0 @@ -{% load i18n static %} -{% if cl.search_fields %} -
    - -
    -{% endif %} diff --git a/tests/source_django/select.html b/tests/source_django/select.html deleted file mode 100644 index 0e334df..0000000 --- a/tests/source_django/select.html +++ /dev/null @@ -1,10 +0,0 @@ - diff --git a/tests/source_django/select_date.html b/tests/source_django/select_date.html deleted file mode 100644 index 32fda82..0000000 --- a/tests/source_django/select_date.html +++ /dev/null @@ -1 +0,0 @@ -{% include 'django/forms/widgets/multiwidget.html' %} diff --git a/tests/source_django/select_option.html b/tests/source_django/select_option.html deleted file mode 100644 index 5aa6921..0000000 --- a/tests/source_django/select_option.html +++ /dev/null @@ -1,4 +0,0 @@ - diff --git a/tests/source_django/self.html b/tests/source_django/self.html deleted file mode 100644 index f3e5bbf..0000000 --- a/tests/source_django/self.html +++ /dev/null @@ -1 +0,0 @@ -{% extends "self.html" %} diff --git a/tests/source_django/split_array.html b/tests/source_django/split_array.html deleted file mode 100644 index 32fda82..0000000 --- a/tests/source_django/split_array.html +++ /dev/null @@ -1 +0,0 @@ -{% include 'django/forms/widgets/multiwidget.html' %} diff --git a/tests/source_django/split_datetime.html b/tests/source_django/split_datetime.html deleted file mode 100644 index 9355a62..0000000 --- a/tests/source_django/split_datetime.html +++ /dev/null @@ -1,11 +0,0 @@ -

    - {{ date_label }} - {% with widget=widget.subwidgets.0 %} - {% include widget.template_name %} - {% endwith %} -
    - {{ time_label }} - {% with widget=widget.subwidgets.1 %} - {% include widget.template_name %} - {% endwith %} -

    diff --git a/tests/source_django/splitdatetime.html b/tests/source_django/splitdatetime.html deleted file mode 100644 index 32fda82..0000000 --- a/tests/source_django/splitdatetime.html +++ /dev/null @@ -1 +0,0 @@ -{% include 'django/forms/widgets/multiwidget.html' %} diff --git a/tests/source_django/splithiddendatetime.html b/tests/source_django/splithiddendatetime.html deleted file mode 100644 index 32fda82..0000000 --- a/tests/source_django/splithiddendatetime.html +++ /dev/null @@ -1 +0,0 @@ -{% include 'django/forms/widgets/multiwidget.html' %} diff --git a/tests/source_django/ssi include with spaces.html b/tests/source_django/ssi include with spaces.html deleted file mode 100644 index 1c85648..0000000 --- a/tests/source_django/ssi include with spaces.html +++ /dev/null @@ -1 +0,0 @@ -This is for testing an ssi include with spaces in its name. {{ test }} diff --git a/tests/source_django/ssi_include.html b/tests/source_django/ssi_include.html deleted file mode 100644 index 58d5926..0000000 --- a/tests/source_django/ssi_include.html +++ /dev/null @@ -1 +0,0 @@ -This is for testing an ssi include. {{ test }} diff --git a/tests/source_django/stacked.html b/tests/source_django/stacked.html deleted file mode 100644 index 3ef6d8d..0000000 --- a/tests/source_django/stacked.html +++ /dev/null @@ -1,54 +0,0 @@ -{% load i18n admin_urls %} -
    -
    - {% if inline_admin_formset.formset.max_num == 1 %} -

    {{ inline_admin_formset.opts.verbose_name|capfirst }}

    - {% else %} -

    {{ inline_admin_formset.opts.verbose_name_plural|capfirst }}

    - {% endif %} - {{ inline_admin_formset.formset.management_form }} - {{ inline_admin_formset.formset.non_form_errors }} - {% for inline_admin_form in inline_admin_formset %} -
    -

    - {{ inline_admin_formset.opts.verbose_name|capfirst }}: - - {% if inline_admin_form.original %} - {{ inline_admin_form.original }} - {% if inline_admin_form.model_admin.show_change_link and inline_admin_form.model_admin.has_registered_model %} - - {% if inline_admin_formset.has_change_permission %} - {% translate "Change" %} - {% else %} - {% translate "View" %} - {% endif %} - - {% endif %} - {% else %} - #{{ forloop.counter }} - {% endif %} - - {% if inline_admin_form.show_url %} - {% translate "View on site" %} - {% endif %} - {% if inline_admin_formset.formset.can_delete and inline_admin_formset.has_delete_permission and inline_admin_form.original %} - - {{ inline_admin_form.deletion_field.field }} {{ inline_admin_form.deletion_field.label_tag }} - - {% endif %} -

    - {% if inline_admin_form.form.non_field_errors %}{{ inline_admin_form.form.non_field_errors }}{% endif %} - {% for fieldset in inline_admin_form %} - {% include "admin/includes/fieldset.html" %} - {% endfor %} - {% if inline_admin_form.needs_explicit_pk_field %}{{ inline_admin_form.pk_field.field }}{% endif %} - {% if inline_admin_form.fk_field %}{{ inline_admin_form.fk_field.field }}{% endif %} -
    - {% endfor %} -
    -
    diff --git a/tests/source_django/static_ignored.html b/tests/source_django/static_ignored.html deleted file mode 100644 index e69de29..0000000 diff --git a/tests/source_django/strip_tags1.html b/tests/source_django/strip_tags1.html deleted file mode 100644 index 842e445..0000000 --- a/tests/source_django/strip_tags1.html +++ /dev/null @@ -1,2430 +0,0 @@ - - - - - - Improved regex in strip_tags · d7504a3 · django/django - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -
    -
    - - - -
    - - - -
    -
    -
    - - - - - - - - -
    -
    - -
    - -
    -
    -
    -
    -
    -
    -
    -
      -
    • - - - Pull Request - -
    • -
    • -
      -
      - -
      - -
      - - - - Watch - - -
      -
      -
      - Notification status - -
      - -
      -
      - -
      - -

      Not watching

      - - You only receive notifications for discussions in which you participate or are @mentioned. - - - - Watch - -
      -
      - -
      - -
      - -

      - Watching -

      - - You receive notifications for all discussions in this repository. - - - - - Unwatch - -
      -
      - -
      - - -
      - -

      - Ignoring -

      - - You do not receive any notifications for discussions in this repository. - - - - - Stop ignoring - -
      -
      - -
      - -
      - -
      - -
      - -
      -
    • -
    • - - - - - Unstar - - - - - - - Star - - - -
    • -
    • - - - - - Fork - - - -
    • -
    -

    - - - public - - - - - - - - / - - - django - - -

    -
    - -
    - - - -
    -
    - - - - tree: - - d7504a3d7b - - -
    -
    -
    - - Switch branches/tags - - - -
    - -
    -
    - -
    -
    - -
    - -
    - - - -
    -
    -
    - - - - 1.5c2 - -
    - -
    - - - - 1.5c1 - -
    - -
    - - - - 1.5b2 - -
    - -
    - - - - 1.5b1 - -
    - -
    - - - - 1.5a1 - -
    - -
    - - - - 1.5.1 - -
    - -
    - - - - 1.5 - -
    - -
    - - - - 1.4.5 - -
    - -
    - - - - 1.4.4 - -
    - -
    - - - - 1.4.3 - -
    - -
    - - - - 1.4.2 - -
    - -
    - - - - 1.4.1 - -
    - -
    - - - - 1.4 - -
    - -
    - - - - 1.3.7 - -
    - -
    - - - - 1.3.6 - -
    - -
    - - - - 1.3.5 - -
    - -
    - - - - 1.3.4 - -
    - -
    - - - - 1.3.3 - -
    - -
    - - - - 1.3.2 - -
    - -
    - - - - 1.3.1 - -
    - -
    - - - - 1.3 - -
    - -
    - - - - 1.2.7 - -
    - -
    - - - - 1.2.6 - -
    - -
    - - - - 1.2.5 - -
    - -
    - - - - 1.2.4 - -
    - -
    - - - - 1.2.3 - -
    - -
    - - - - 1.2.2 - -
    - -
    - - - - 1.2.1 - -
    - -
    - - - - 1.2 - -
    - -
    - - - - 1.1.4 - -
    - -
    - - - - 1.1.3 - -
    - -
    - - - - 1.1.2 - -
    - -
    - - - - 1.1.1 - -
    - -
    - - - - 1.1 - -
    - -
    - - - - 1.0.4 - -
    - -
    - - - - 1.0.3 - -
    - -
    - - - - 1.0.2 - -
    - -
    - - - - 1.0.1 - -
    - -
    - - - - 1.0 - -
    - -
    -
    - Nothing to show -
    -
    - -
    - -
    - -
    - -
    - - -
    -
    -
    - -
    -
    - - Browse code - -

    - Improved regex in strip_tags -

    -
    -
    Thanks Pablo Recio for the report. Refs #19237.
    -
    -
    - - commit - - d7504a3d7b8645bdb979bab7ded0e9a9b6dccd0e - - - - 1 parent - - afa3e16 - - -
    - - - - - authored -
    -
    -
    - - - -
    -
    -
    -
    - - 2 - -  - - - - django/utils/html.py - -
    -
    - - - - -
    -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - ... - - - - ... - - - - @@ -33,7 +33,7 @@ -
    - - 33 - - - - 33 - - - -  html_gunk_re = re.compile(r'(?:<br clear="all">|<i><\/i>|<b><\/b>|<em><\/em>|<strong><\/strong>|<\/?smallcaps>|<\/?uppercase>)', re.IGNORECASE) -
    - - 34 - - - - 34 - - - -  hard_coded_bullets_re = re.compile(r'((?:<p>(?:%s).*?[a-zA-Z].*?</p>\s*)+)' % '|'.join([re.escape(x) for x in DOTS]), re.DOTALL) -
    - - 35 - - - - 35 - - - -  trailing_empty_content_re = re.compile(r'(?:<p>(?:&nbsp;|\s|<br \/>)*?</p>\s*)+\Z') -
    - - 36 - - - -   - - - - -strip_tags_re = re.compile(r'</?\S([^= - - - ]*=(\s*"[^"]*"|\s*\'[^\']*\'|\S*)|[^>])*?>', re.IGNORECASE) -
    - -   - - - - 36 - - - - +strip_tags_re = re.compile(r'</?\S([^= - - > - - ]*=(\s*"[^"]*"|\s*\'[^\']*\'|\S*)|[^>])*?>', re.IGNORECASE) -
    - - 37 - - - - 37 - - - -   -
    - - 38 - - - - 38 - - - -   -
    - - 39 - - - - 39 - - - -  def escape(text): -
    -
    -
    -
    -
    -
    -
    -
    - - 1 - -  - - - - tests/regressiontests/utils/html.py - -
    -
    - - - - -
    -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - ... - - - - ... - - - - @@ -68,6 +68,7 @@ def test_strip_tags(self): -
    - - 68 - - - - 68 - - - -              ('a<p onclick="alert(\'<test>\')">b</p>c', 'abc'), -
    - - 69 - - - - 69 - - - -              ('a<p a >b</p>c', 'abc'), -
    - - 70 - - - - 70 - - - -              ('d<a:b c:d>e</p>f', 'def'), -
    - -   - - - - 71 - - - - +            ('<strong>foo</strong><a href="http://example.com">bar</a>', 'foobar'), -
    - - 71 - - - - 72 - - - -          ) -
    - - 72 - - - - 73 - - - -          for value, output in items: -
    - - 73 - - - - 74 - - - -              self.check_output(f, value, output) -
    -
    -
    -
    -
    -
    -
    -

    - 0 notes - on commit d7504a3 - - - -

    -
    -
    -
    - -
    -
    - -
    -
    -
    - -
    -
    - - - - Comments are parsed with - - GitHub Flavored Markdown - - - -
    - -
    - - - - - -

    - - Attach images by dragging & dropping them or - - - choose an image - - - - Octocat-spinner-32 - Uploading your images now… - - - Unfortunately we don't support that file type yet. Try image files less than 5MB. - - - This browser doesn't support image attachments. - - - Something went really wrong and we can't process that image. - -

    -
    -
    -
    - - -
    -
    -
    -

    - Nothing to preview -

    -
    -
    -
    - -
    - -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    - Commit_comment_tip -

    - Tip: You can also add notes to lines in a file. Hover to the left of a line to make a note -

    -
    - -
    -
    -
    - -
    -
    - - -
    -
    -
    - -
    - - - - - - - - Watch thread - - -
    -
    -
    - - Thread notifications - - - -
    - -
    -
    - - -
    - -

    - Not watching -

    - - You only receive notifications for this thread if you participate or are @mentioned. - - - - - Watch thread - -
    -
    - -
    - - -
    - -

    - Watching -

    - - Receive all notifications for this thread. - - - - - Unwatch thread - -
    -
    - -
    - - -
    - -

    - Ignoring -

    - - You do not receive notifications for this thread. - - - - - Stop ignoring thread - -
    -
    - -
    - -
    - -
    - -
    -
    - -

    - You only receive notifications for this thread when you participate or are @mentioned. -

    -
    - - -
    -
    -
    -
    -
    - - -
    - - - - -
    -
    -
    - -
    -
    -
    -
    -
    -
    -
    - - - - - - - - -
    -
    -
    - - - Something went wrong with that request. Please try again. - - -
    - - - - diff --git a/tests/source_django/submit_line.html b/tests/source_django/submit_line.html deleted file mode 100644 index 07025d2..0000000 --- a/tests/source_django/submit_line.html +++ /dev/null @@ -1,11 +0,0 @@ -{% extends "admin/submit_line.html" %} -{% load i18n admin_urls %} -{% block submit-row %} - {% if show_publish %} - - {% endif %} - {{ block.super }} -{% endblock %} diff --git a/tests/source_django/syntax_error.html b/tests/source_django/syntax_error.html deleted file mode 100644 index d4f7a57..0000000 --- a/tests/source_django/syntax_error.html +++ /dev/null @@ -1 +0,0 @@ -{% block %} diff --git a/tests/source_django/syntax_error2.html b/tests/source_django/syntax_error2.html deleted file mode 100644 index 43d4f5d..0000000 --- a/tests/source_django/syntax_error2.html +++ /dev/null @@ -1,31 +0,0 @@ -1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -{% block %} - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 diff --git a/tests/source_django/syntax_error_include.html b/tests/source_django/syntax_error_include.html deleted file mode 100644 index e23b0e7..0000000 --- a/tests/source_django/syntax_error_include.html +++ /dev/null @@ -1 +0,0 @@ -{% include "template_backends/syntax_error.html" %} diff --git a/tests/source_django/table.html b/tests/source_django/table.html deleted file mode 100644 index 51efc33..0000000 --- a/tests/source_django/table.html +++ /dev/null @@ -1,33 +0,0 @@ -{% if errors %} - - - {{ errors }} - {% if not fields %} - {% for field in hidden_fields %}{{ field }}{% endfor %} - {% endif %} - - -{% endif %} -{% for field, errors in fields %} - - - {% if field.label %}{{ field.label_tag }}{% endif %} - - - {{ errors }} - {{ field }} - {% if field.help_text %} -
    - {{ field.help_text }} - {% endif %} - {% if forloop.last %} - {% for field in hidden_fields %}{{ field }}{% endfor %} - {% endif %} - - -{% endfor %} -{% if not fields and not errors %} - {% for field in hidden_fields %}{{ field }}{% endfor %} -{% endif %} diff --git a/tests/source_django/tabular.html b/tests/source_django/tabular.html deleted file mode 100644 index ccf4308..0000000 --- a/tests/source_django/tabular.html +++ /dev/null @@ -1,97 +0,0 @@ -{% load i18n admin_urls static admin_modify %} -
    - -
    diff --git a/tests/source_django/technical_404.html b/tests/source_django/technical_404.html deleted file mode 100644 index 34d9120..0000000 --- a/tests/source_django/technical_404.html +++ /dev/null @@ -1,88 +0,0 @@ - - - - - Page not found at {{ request.path_info }} - - - - -
    -

    - Page not found - (404) -

    - {% if reason and resolved %}
    {{ reason }}
    {% endif %} - - - - - - - - - - {% if raising_view_name %} - - - - - {% endif %} -
    Request Method:{{ request.META.REQUEST_METHOD }}
    Request URL:{{ request.build_absolute_uri }}
    Raised by:{{ raising_view_name }}
    -
    -
    - {% if urlpatterns %} -

    - Using the URLconf defined in {{ urlconf }}, - Django tried these URL patterns, in this order: -

    -
      - {% for pattern in urlpatterns %} -
    1. - {% for pat in pattern %} - {{ pat.pattern }} - {% if forloop.last and pat.name %}[name='{{ pat.name }}']{% endif %} - {% endfor %} -
    2. - {% endfor %} -
    -

    - {% if request_path %} - The current path, {{ request_path }}, - {% else %} - The empty path - {% endif %} - {% if resolved %} - matched the last one. - {% else %} - didn’t match any of these. - {% endif %} -

    - {% endif %} -
    -
    -

    - You’re seeing this error because you have DEBUG = True in - your Django settings file. Change that to False, and Django - will display a standard 404 page. -

    -
    - - diff --git a/tests/source_django/technical_500.html b/tests/source_django/technical_500.html deleted file mode 100644 index 10c0f00..0000000 --- a/tests/source_django/technical_500.html +++ /dev/null @@ -1,638 +0,0 @@ - - - - - - - {% if exception_type %} - {{ exception_type }} - {% else %} - Report - {% endif %} - {% if request %}at {{ request.path_info }}{% endif %} - - - {% if not is_email %} - - {% endif %} - - -
    -

    - {% if exception_type %} - {{ exception_type }} - {% else %} - Report - {% endif %} - {% if request %}at {{ request.path_info }}{% endif %} -

    -
    {% if exception_value %}{{ exception_value|force_escape }}{% else %}No exception message supplied{% endif %}
    - - {% if request %} - - - - - - - - - {% endif %} - - - - - {% if exception_type %} - - - - - {% endif %} - {% if exception_type and exception_value %} - - - - - {% endif %} - {% if lastframe %} - - - - - {% endif %} - - - - - - - - - - - - - - - - -
    Request Method:{{ request.META.REQUEST_METHOD }}
    Request URL:{{ request_insecure_uri }}
    Django Version:{{ django_version_info }}
    Exception Type:{{ exception_type }}
    Exception Value: -
    {{ exception_value|force_escape }}
    -
    Exception Location: - {{ lastframe.filename }} - , line {{ lastframe.lineno }}, in {{ lastframe.function }} -
    Python Executable:{{ sys_executable }}
    Python Version:{{ sys_version_info }}
    Python Path: -
    {{ sys_path|pprint }}
    -
    Server time:{{ server_time|date:"r" }}
    -
    - {% if unicode_hint %} -
    -

    Unicode error hint

    -

    - The string that could not be encoded/decoded was: {{ unicode_hint }} -

    -
    - {% endif %} - {% if template_does_not_exist %} -
    -

    Template-loader postmortem

    - {% if postmortem %} -

    - Django tried loading these templates, in this order: -

    - {% for entry in postmortem %} -

    - Using engine {{ entry.backend.name }}: -

    - - {% endfor %} - {% else %} -

    - No templates were found because your 'TEMPLATES' setting is not configured. -

    - {% endif %} -
    - {% endif %} - {% if template_info %} -
    -

    Error during template rendering

    -

    - In template {{ template_info.name }}, error at line {{ template_info.line }} -

    -

    {{ template_info.message }}

    - - {% for source_line in template_info.source_lines %} - {% if source_line.0 == template_info.line %} - - - - - {% else %} - - - - - {% endif %} - {% endfor %} -
    {{ source_line.0 }} - {{ template_info.before }} - - {{ template_info.during }} - - {{ template_info.after }} -
    - {{ source_line.0 }} - - {{ source_line.1 }} -
    -
    - {% endif %} - {% if frames %} -
    -

    - Traceback - {% if not is_email %} - - - Switch to copy-and-paste view - - - {% endif %} -

    -
    - -
    - {% if not is_email %} -
    -
    - - - - - -
    -
    - -
    -
    - {% endif %} -
    - {% endif %} -
    -

    - Request information -

    - {% if request %} - {% if user_str %} -

    - USER -

    -

    - {{ user_str }} -

    - {% endif %} -

    - GET -

    - {% if request.GET %} - - - - - - - - - {% for k, v in request_GET_items %} - - - - - {% endfor %} - -
    - Variable - - Value -
    - {{ k }} - -
    {{ v|pprint }}
    -
    - {% else %} -

    - No GET data -

    - {% endif %} -

    - POST -

    - {% if filtered_POST_items %} - - - - - - - - - {% for k, v in filtered_POST_items %} - - - - - {% endfor %} - -
    - Variable - - Value -
    - {{ k }} - -
    {{ v|pprint }}
    -
    - {% else %} -

    - No POST data -

    - {% endif %} -

    - FILES -

    - {% if request.FILES %} - - - - - - - - - {% for k, v in request_FILES_items %} - - - - - {% endfor %} - -
    - Variable - - Value -
    - {{ k }} - -
    {{ v|pprint }}
    -
    - {% else %} -

    - No FILES data -

    - {% endif %} - - {% if request.COOKIES %} - - - - - - - - - {% for k, v in request_COOKIES_items %} - - - - - {% endfor %} - -
    - Variable - - Value -
    - {{ k }} - -
    {{ v|pprint }}
    -
    - {% else %} -

    - No cookie data -

    - {% endif %} -

    - META -

    - - - - - - - - - {% for var in request_meta.items|dictsort:0 %} - - - - - {% endfor %} - -
    - Variable - - Value -
    - {{ var.0 }} - -
    {{ var.1|pprint }}
    -
    - {% else %} -

    - Request data not supplied -

    - {% endif %} -

    - Settings -

    -

    - Using settings module {{ settings.SETTINGS_MODULE }} -

    - - - - - - - - - {% for var in settings.items|dictsort:0 %} - - - - - {% endfor %} - -
    - Setting - - Value -
    - {{ var.0 }} - -
    {{ var.1|pprint }}
    -
    -
    - {% if not is_email %} -
    -

    - You’re seeing this error because you have DEBUG = True in your - Django settings file. Change that to False, and Django will - display a standard page generated by the handler for this status code. -

    -
    - {% endif %} - - diff --git a/tests/source_django/template_detail.html b/tests/source_django/template_detail.html deleted file mode 100644 index bdc9db0..0000000 --- a/tests/source_django/template_detail.html +++ /dev/null @@ -1,36 +0,0 @@ -{% extends "admin/base_site.html" %} -{% load i18n %} -{% block breadcrumbs %} - -{% endblock %} -{% block title %} - {% blocktranslate %}Template: {{ name }}{% endblocktranslate %} -{% endblock %} -{% block content %} -

    - {% blocktranslate %}Template: {{ name }}{% endblocktranslate %} -

    - {# Translators: Search is not a verb here, it qualifies path (a search path) #} -

    - {% blocktranslate %}Search path for template {{ name }}:{% endblocktranslate %} -

    -
      - {% for template in templates|dictsort:"order" %} -
    1. - {{ template.file }} - {% if not template.exists %} - {% translate '(does not exist)' %} - {% endif %} -
    2. - {% endfor %} -
    -

    - ‹ {% translate 'Back to Documentation' %} -

    -{% endblock %} diff --git a/tests/source_django/template_error.html b/tests/source_django/template_error.html deleted file mode 100644 index 16d8ce6..0000000 --- a/tests/source_django/template_error.html +++ /dev/null @@ -1,2 +0,0 @@ -Template with error: -{% cycle %} diff --git a/tests/source_django/template_exception.html b/tests/source_django/template_exception.html deleted file mode 100644 index 31c2541..0000000 --- a/tests/source_django/template_exception.html +++ /dev/null @@ -1,2 +0,0 @@ -{% load debugtags %} -{% go_boom %} diff --git a/tests/source_django/template_filter_index.html b/tests/source_django/template_filter_index.html deleted file mode 100644 index 2debe08..0000000 --- a/tests/source_django/template_filter_index.html +++ /dev/null @@ -1,54 +0,0 @@ -{% extends "admin/base_site.html" %} -{% load i18n %} -{% block coltype %}colSM{% endblock %} -{% block breadcrumbs %} - -{% endblock %} -{% block title %} - {% translate 'Template filters' %} -{% endblock %} -{% block content %} -

    {% translate 'Template filter documentation' %}

    -
    - {% regroup filters|dictsort:"library" by library as filter_libraries %} - {% for library in filter_libraries %} -
    -

    {% firstof library.grouper _("Built-in filters") %}

    - {% if library.grouper %} -

    - {% blocktranslate with code="{"|add:"% load "|add:library.grouper|add:" %"|add:"}" %}To use these filters, put {{ code }} in your template before using the filter.{% endblocktranslate %} -

    -
    - {% endif %} - {% for filter in library.list|dictsort:"name" %} -

    {{ filter.name }}

    - {{ filter.title }} - {{ filter.body }} - {% if not forloop.last %}
    {% endif %} - {% endfor %} -
    - {% endfor %} -
    -{% endblock %} -{% block sidebar %} - -{% endblock %} diff --git a/tests/source_django/template_tag_index.html b/tests/source_django/template_tag_index.html deleted file mode 100644 index be12d4f..0000000 --- a/tests/source_django/template_tag_index.html +++ /dev/null @@ -1,54 +0,0 @@ -{% extends "admin/base_site.html" %} -{% load i18n %} -{% block coltype %}colSM{% endblock %} -{% block breadcrumbs %} - -{% endblock %} -{% block title %} - {% translate 'Template tags' %} -{% endblock %} -{% block content %} -

    {% translate 'Template tag documentation' %}

    -
    - {% regroup tags|dictsort:"library" by library as tag_libraries %} - {% for library in tag_libraries %} -
    -

    {% firstof library.grouper _("Built-in tags") %}

    - {% if library.grouper %} -

    - {% blocktranslate with code="{"|add:"% load "|add:library.grouper|add:" %"|add:"}" %}To use these tags, put {{ code }} in your template before using the tag.{% endblocktranslate %} -

    -
    - {% endif %} - {% for tag in library.list|dictsort:"name" %} -

    {{ tag.name }}

    -

    {{ tag.title|striptags }}

    - {{ tag.body }} - {% if not forloop.last %}
    {% endif %} - {% endfor %} -
    - {% endfor %} -
    -{% endblock %} -{% block sidebar %} - -{% endblock %} diff --git a/tests/source_django/test.html b/tests/source_django/test.html deleted file mode 100644 index d9b316f..0000000 --- a/tests/source_django/test.html +++ /dev/null @@ -1 +0,0 @@ -Second template diff --git a/tests/source_django/test_context.html b/tests/source_django/test_context.html deleted file mode 100644 index 6c206bf..0000000 --- a/tests/source_django/test_context.html +++ /dev/null @@ -1 +0,0 @@ -obj:{{ obj }} diff --git a/tests/source_django/test_context_stack.html b/tests/source_django/test_context_stack.html deleted file mode 100644 index c5097c5..0000000 --- a/tests/source_django/test_context_stack.html +++ /dev/null @@ -1,2 +0,0 @@ -{% load custom %} -{% context_stack_length %} diff --git a/tests/source_django/test_dirs.html b/tests/source_django/test_dirs.html deleted file mode 100644 index d99b954..0000000 --- a/tests/source_django/test_dirs.html +++ /dev/null @@ -1 +0,0 @@ -spam eggs{{ obj }} diff --git a/tests/source_django/test_extends_block_error.html b/tests/source_django/test_extends_block_error.html deleted file mode 100644 index 9e173e1..0000000 --- a/tests/source_django/test_extends_block_error.html +++ /dev/null @@ -1,4 +0,0 @@ -{% extends "test_extends_block_error_parent.html" %} -{% block content %} - {% include "missing.html" %} -{% endblock %} diff --git a/tests/source_django/test_extends_block_error_parent.html b/tests/source_django/test_extends_block_error_parent.html deleted file mode 100644 index cb0dbe4..0000000 --- a/tests/source_django/test_extends_block_error_parent.html +++ /dev/null @@ -1 +0,0 @@ -{% block content %}{% endblock %} diff --git a/tests/source_django/test_extends_error.html b/tests/source_django/test_extends_error.html deleted file mode 100644 index fc74690..0000000 --- a/tests/source_django/test_extends_error.html +++ /dev/null @@ -1 +0,0 @@ -{% extends "broken_base.html" %} diff --git a/tests/source_django/test_handler.html b/tests/source_django/test_handler.html deleted file mode 100644 index 6f46e3e..0000000 --- a/tests/source_django/test_handler.html +++ /dev/null @@ -1 +0,0 @@ -Error handler content diff --git a/tests/source_django/test_incl_tag_use_l10n.html b/tests/source_django/test_incl_tag_use_l10n.html deleted file mode 100644 index c3ed554..0000000 --- a/tests/source_django/test_incl_tag_use_l10n.html +++ /dev/null @@ -1,2 +0,0 @@ -{% load custom %} -{% use_l10n %} diff --git a/tests/source_django/test_include_error.html b/tests/source_django/test_include_error.html deleted file mode 100644 index aa41f44..0000000 --- a/tests/source_django/test_include_error.html +++ /dev/null @@ -1 +0,0 @@ -{% include "missing.html" %} diff --git a/tests/source_django/tests.html b/tests/source_django/tests.html deleted file mode 100644 index f02decd..0000000 --- a/tests/source_django/tests.html +++ /dev/null @@ -1,173 +0,0 @@ - - - - - Django JavaScript Tests - - - -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/tests/source_django/text.html b/tests/source_django/text.html deleted file mode 100644 index 08b1e61..0000000 --- a/tests/source_django/text.html +++ /dev/null @@ -1 +0,0 @@ -{% include "django/forms/widgets/input.html" %} diff --git a/tests/source_django/textarea.html b/tests/source_django/textarea.html deleted file mode 100644 index b86766c..0000000 --- a/tests/source_django/textarea.html +++ /dev/null @@ -1,2 +0,0 @@ - diff --git a/tests/source_django/three.html b/tests/source_django/three.html deleted file mode 100644 index 360aeee..0000000 --- a/tests/source_django/three.html +++ /dev/null @@ -1 +0,0 @@ -{% block content %}three{% endblock %} diff --git a/tests/source_django/time.html b/tests/source_django/time.html deleted file mode 100644 index 08b1e61..0000000 --- a/tests/source_django/time.html +++ /dev/null @@ -1 +0,0 @@ -{% include "django/forms/widgets/input.html" %} diff --git a/tests/source_django/title.html b/tests/source_django/title.html deleted file mode 100644 index 57744ec..0000000 --- a/tests/source_django/title.html +++ /dev/null @@ -1 +0,0 @@ -Title in your templates: {{ obj }} diff --git a/tests/source_django/title_context.html b/tests/source_django/title_context.html deleted file mode 100644 index b8872fd..0000000 --- a/tests/source_django/title_context.html +++ /dev/null @@ -1 +0,0 @@ -{{ obj }} (foo is {{ foo }}) diff --git a/tests/source_django/two.html b/tests/source_django/two.html deleted file mode 100644 index 965756d..0000000 --- a/tests/source_django/two.html +++ /dev/null @@ -1,2 +0,0 @@ -{% extends "./three.html" %} -{% block content %}{{ block.super }} two{% endblock %} diff --git a/tests/source_django/ul.html b/tests/source_django/ul.html deleted file mode 100644 index dc2418e..0000000 --- a/tests/source_django/ul.html +++ /dev/null @@ -1,24 +0,0 @@ -{% if errors %} -
  • - {{ errors }} - {% if not fields %} - {% for field in hidden_fields %}{{ field }}{% endfor %} - {% endif %} -
  • -{% endif %} -{% for field, errors in fields %} -
  • - {{ errors }} - {% if field.label %}{{ field.label_tag }}{% endif %} - {{ field }} - {% if field.help_text %}{{ field.help_text }}{% endif %} - {% if forloop.last %} - {% for field in hidden_fields %}{{ field }}{% endfor %} - {% endif %} -
  • -{% endfor %} -{% if not fields and not errors %} - {% for field in hidden_fields %}{{ field }}{% endfor %} -{% endif %} diff --git a/tests/source_django/unicode.html b/tests/source_django/unicode.html deleted file mode 100644 index bdb6c91..0000000 --- a/tests/source_django/unicode.html +++ /dev/null @@ -1,5 +0,0 @@ -* 峠 (とうげ tōge "mountain pass") -* 榊 (さかき sakaki "tree, genus Cleyera") -* 辻 (つじ tsuji "crossroads, street") -* 働 (どう dō, はたら hatara(ku) "work") -* 腺 (せん sen, "gland") diff --git a/tests/source_django/url.html b/tests/source_django/url.html deleted file mode 100644 index 08b1e61..0000000 --- a/tests/source_django/url.html +++ /dev/null @@ -1 +0,0 @@ -{% include "django/forms/widgets/input.html" %} diff --git a/tests/source_django/urlarticle_detail.html b/tests/source_django/urlarticle_detail.html deleted file mode 100644 index 924f310..0000000 --- a/tests/source_django/urlarticle_detail.html +++ /dev/null @@ -1 +0,0 @@ -UrlArticle detail template. diff --git a/tests/source_django/urlarticle_form.html b/tests/source_django/urlarticle_form.html deleted file mode 100644 index 7983062..0000000 --- a/tests/source_django/urlarticle_form.html +++ /dev/null @@ -1,2 +0,0 @@ -UrlArticle form template. -{{ form.errors }} diff --git a/tests/source_django/using.html b/tests/source_django/using.html deleted file mode 100644 index 65bcbf6..0000000 --- a/tests/source_django/using.html +++ /dev/null @@ -1 +0,0 @@ -DTL diff --git a/tests/source_django/view_detail.html b/tests/source_django/view_detail.html deleted file mode 100644 index 3219f3c..0000000 --- a/tests/source_django/view_detail.html +++ /dev/null @@ -1,35 +0,0 @@ -{% extends "admin/base_site.html" %} -{% load i18n %} -{% block breadcrumbs %} - -{% endblock %} -{% block title %} - {% blocktranslate %}View: {{ name }}{% endblocktranslate %} -{% endblock %} -{% block content %} -

    {{ name }}

    -

    {{ summary|striptags }}

    - {{ body }} - {% if meta.Context %} -

    {% translate 'Context:' %}

    -

    - {{ meta.Context }} -

    - {% endif %} - {% if meta.Templates %} -

    {% translate 'Templates:' %}

    -

    - {{ meta.Templates }} -

    - {% endif %} -

    - ‹ {% translate 'Back to View documentation' %} -

    -{% endblock %} diff --git a/tests/source_django/view_index.html b/tests/source_django/view_index.html deleted file mode 100644 index 858887f..0000000 --- a/tests/source_django/view_index.html +++ /dev/null @@ -1,65 +0,0 @@ -{% extends "admin/base_site.html" %} -{% load i18n %} -{% block coltype %}colSM{% endblock %} -{% block breadcrumbs %} - -{% endblock %} -{% block title %} - {% translate 'Views' %} -{% endblock %} -{% block content %} -

    {% translate 'View documentation' %}

    - {% regroup views|dictsort:'namespace' by namespace as views_by_ns %} - -
    - {% for ns_views in views_by_ns %} -
    -

    - {% if ns_views.grouper %} - {% blocktranslate with ns_views.grouper as name %}Views by namespace {{ name }}{% endblocktranslate %} - {% else %} - {% blocktranslate %}Views by empty namespace{% endblocktranslate %} - {% endif %} -

    - {% for view in ns_views.list|dictsort:"url" %} - {% ifchanged %} -

    - {{ view.url }} -

    -

    - {% blocktranslate with view.full_name as full_name and view.url_name as url_name %} - View function: {{ full_name }}. Name: {{ url_name }}. - {% endblocktranslate %} -

    -

    - {{ view.title }} -

    -
    - {% endifchanged %} - {% endfor %} -
    - {% endfor %} -
    -{% endblock %} diff --git a/tests/source_django/xxx_ignored.html b/tests/source_django/xxx_ignored.html deleted file mode 100644 index 52e57c5..0000000 --- a/tests/source_django/xxx_ignored.html +++ /dev/null @@ -1,2 +0,0 @@ -{% load i18n %} -{% translate "This should be ignored too." %}