{% extends "admin/base.html" %} {% load static i18n %} {% block coltype %}colLS{% endblock %} {% if is_popup %} {% block branding %}

{{ site_header|default:_('Django administration') }}

{% endblock %} {% block usertools %}
{% block welcome-msg %} {% trans 'Welcome,' %} {% firstof user.get_short_name user.get_username %}. {% endblock %} {% block userlinks %} {% if site_url %} {% trans 'View site' %} / {% endif %} {% if user.is_active and user.is_staff %} {% url 'django-admindocs-docroot' as docsroot %} {% if docsroot %} {% trans 'Documentation' %} / {% endif %} {% endif %} {% if user.has_usable_password %} {% trans 'Change password' %} / {% endif %} {% trans 'Log out' %} {% endblock %}
{% endblock %} {% endif %} {% block content %}
{% csrf_token %}

{{inner_label}}

{% if form.buttons %}
{% for button in form.buttons %} {% endfor %}
{% endif %}
{% for form_field in form %}
{% for error in error.title %} {% for error in error %} *{{ error }} {% endfor %} {% endfor %} {{form_field}}
{% endfor %}
{% include pre_template %}

About the Django execute code

The Django execute code is a python package. It allows users to execute python scripts through web interface (It only works when DEBUG = True in your Django settings file).

There are limitations to the programs that can be run in the Django execute code/

{% if show_warning %}

WARNING: Be careful while executing Arbitrary code since it cant be revertable.!
{% endif %}

{% endblock %} {% block extrastyle %} {{form.media.css}} {{form.media.js}} {% endblock %}