summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2018-02-20 08:58:29 -0500
committerTim Graham <timograham@gmail.com>2018-02-20 08:58:29 -0500
commitd5da552d92c2d5165a23bceb229dec023b8bb5c5 (patch)
tree0972fc5564bff43bdc2cc0cbe7bc6b30da6ae273
parent4b65fc807ae5b64c5cd1029f11f7c3f0ec67f03b (diff)
[1.11.x] Removed blank lines per isort 4.3.0.
-rw-r--r--django/contrib/messages/__init__.py1
-rw-r--r--django/core/management/commands/runserver.py1
-rw-r--r--django/db/models/signals.py1
-rw-r--r--tests/admin_views/tests.py1
-rw-r--r--tests/db_functions/tests.py1
-rw-r--r--tests/messages_tests/urls.py1
-rw-r--r--tests/template_tests/syntax_tests/test_multiline.py1
7 files changed, 0 insertions, 7 deletions
diff --git a/django/contrib/messages/__init__.py b/django/contrib/messages/__init__.py
index a0cb24b2d9..25da09f3bf 100644
--- a/django/contrib/messages/__init__.py
+++ b/django/contrib/messages/__init__.py
@@ -1,5 +1,4 @@
from django.contrib.messages.api import * # NOQA
from django.contrib.messages.constants import * # NOQA
-
default_app_config = 'django.contrib.messages.apps.MessagesConfig'
diff --git a/django/core/management/commands/runserver.py b/django/core/management/commands/runserver.py
index 0bfbd5b68e..43cb6c40fd 100644
--- a/django/core/management/commands/runserver.py
+++ b/django/core/management/commands/runserver.py
@@ -15,7 +15,6 @@ from django.core.servers.basehttp import (
from django.utils import autoreload, six
from django.utils.encoding import force_text, get_system_encoding
-
naiveip_re = re.compile(r"""^(?:
(?P<addr>
(?P<ipv4>\d{1,3}(?:\.\d{1,3}){3}) | # IPv4 address
diff --git a/django/db/models/signals.py b/django/db/models/signals.py
index 5047f11743..064428b4a6 100644
--- a/django/db/models/signals.py
+++ b/django/db/models/signals.py
@@ -6,7 +6,6 @@ from django.dispatch import Signal
from django.utils import six
from django.utils.deprecation import RemovedInDjango20Warning
-
class_prepared = Signal(providing_args=["class"])
diff --git a/tests/admin_views/tests.py b/tests/admin_views/tests.py
index efddc49de7..c588c1a027 100644
--- a/tests/admin_views/tests.py
+++ b/tests/admin_views/tests.py
@@ -66,7 +66,6 @@ from .models import (
Worker, WorkHour,
)
-
ERROR_MESSAGE = "Please enter the correct username and password \
for a staff account. Note that both fields may be case-sensitive."
diff --git a/tests/db_functions/tests.py b/tests/db_functions/tests.py
index 3041f29570..a014f97370 100644
--- a/tests/db_functions/tests.py
+++ b/tests/db_functions/tests.py
@@ -16,7 +16,6 @@ from django.utils import timezone
from .models import Article, Author, DecimalModel, Fan
-
lorem_ipsum = """
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua."""
diff --git a/tests/messages_tests/urls.py b/tests/messages_tests/urls.py
index 4005ffac6b..d9a8a59b91 100644
--- a/tests/messages_tests/urls.py
+++ b/tests/messages_tests/urls.py
@@ -9,7 +9,6 @@ from django.urls import reverse
from django.views.decorators.cache import never_cache
from django.views.generic.edit import FormView
-
TEMPLATE = """{% if messages %}
<ul class="messages">
{% for message in messages %}
diff --git a/tests/template_tests/syntax_tests/test_multiline.py b/tests/template_tests/syntax_tests/test_multiline.py
index b2371f7fd1..a95e12986a 100644
--- a/tests/template_tests/syntax_tests/test_multiline.py
+++ b/tests/template_tests/syntax_tests/test_multiline.py
@@ -2,7 +2,6 @@ from django.test import SimpleTestCase
from ..utils import setup
-
multiline_string = """
Hello,
boys.