diff options
| author | Tim Graham <timograham@gmail.com> | 2016-03-28 18:33:29 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-04-08 09:51:06 -0400 |
| commit | df8d8d4292684d6ffa7474f1e201aed486f02b53 (patch) | |
| tree | c661bf9b33de5288afe4f63347a2a9c768ef98eb /django/views/debug.py | |
| parent | 2956e2f5e3f63d279f5dae2a995265364d3e6db1 (diff) | |
Fixed E128 flake8 warnings in django/.
Diffstat (limited to 'django/views/debug.py')
| -rw-r--r-- | django/views/debug.py | 16 |
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> |
