summaryrefslogtreecommitdiff
path: root/django/forms/templates
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2017-01-23 10:14:00 -0800
committerTim Graham <timograham@gmail.com>2017-01-23 13:14:00 -0500
commitf0573aad4befcea969c73fa5f9a624ac22603164 (patch)
tree8c719b5dfb350abca04d6c8a1ced164a2d4e84f3 /django/forms/templates
parent248d54569ecbc0dd6e0ad444aaa8be6466f12d5d (diff)
Replaced "not var is ..." with "is not" in attrs.html.
Diffstat (limited to 'django/forms/templates')
-rw-r--r--django/forms/templates/django/forms/widgets/attrs.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/forms/templates/django/forms/widgets/attrs.html b/django/forms/templates/django/forms/widgets/attrs.html
index fdb1a56d90..c8bba9f35c 100644
--- a/django/forms/templates/django/forms/widgets/attrs.html
+++ b/django/forms/templates/django/forms/widgets/attrs.html
@@ -1 +1 @@
-{% for name, value in widget.attrs.items %}{% if value is not False %} {{ name }}{% if not value is True %}="{{ value }}"{% endif %}{% endif %}{% endfor %} \ No newline at end of file
+{% for name, value in widget.attrs.items %}{% if value is not False %} {{ name }}{% if value is not True %}="{{ value }}"{% endif %}{% endif %}{% endfor %} \ No newline at end of file