summaryrefslogtreecommitdiff
path: root/django/views/debug.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/views/debug.py')
-rw-r--r--django/views/debug.py16
1 files changed, 10 insertions, 6 deletions
diff --git a/django/views/debug.py b/django/views/debug.py
index 070d7ff56f..73fedce68d 100644
--- a/django/views/debug.py
+++ b/django/views/debug.py
@@ -509,10 +509,14 @@ def default_urlconf(request):
"title": _("Welcome to Django"),
"heading": _("It worked!"),
"subheading": _("Congratulations on your first Django-powered page."),
- "instructions": _("Of course, you haven't actually done any work yet. "
- "Next, start your first app by running <code>python manage.py startapp [app_label]</code>."),
- "explanation": _("You're seeing this message because you have <code>DEBUG = True</code> in your "
- "Django settings file and you haven't configured any URLs. Get to work!"),
+ "instructions": _(
+ "Of course, you haven't actually done any work yet. "
+ "Next, start your first app by running <code>python manage.py startapp [app_label]</code>."
+ ),
+ "explanation": _(
+ "You're seeing this message because you have <code>DEBUG = True</code> in your "
+ "Django settings file and you haven't configured any URLs. Get to work!"
+ ),
})
return HttpResponse(t.render(c), content_type='text/html')
@@ -1039,7 +1043,7 @@ Exception Value: {{ exception_value|force_escape }}
{% endif %}
</body>
</html>
-""")
+""") # NOQA
TECHNICAL_500_TEXT_TEMPLATE = (""""""
"""{% firstof exception_type 'Report' %}{% if request %} at {{ request.path_info }}{% endif %}
@@ -1121,7 +1125,7 @@ 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 %}
-""")
+""") # NOQA
TECHNICAL_404_TEMPLATE = """
<!DOCTYPE html>