mirror of
https://github.com/django/django.git
synced 2025-06-05 03:29:12 +00:00
[2.0.x] Removed blank lines per isort 4.3.0.
This commit is contained in:
parent
4b8e433e1c
commit
0993aee31d
@ -1,5 +1,4 @@
|
|||||||
from django.contrib.messages.api import * # NOQA
|
from django.contrib.messages.api import * # NOQA
|
||||||
from django.contrib.messages.constants import * # NOQA
|
from django.contrib.messages.constants import * # NOQA
|
||||||
|
|
||||||
|
|
||||||
default_app_config = 'django.contrib.messages.apps.MessagesConfig'
|
default_app_config = 'django.contrib.messages.apps.MessagesConfig'
|
||||||
|
@ -12,7 +12,6 @@ from django.core.servers.basehttp import (
|
|||||||
)
|
)
|
||||||
from django.utils import autoreload
|
from django.utils import autoreload
|
||||||
|
|
||||||
|
|
||||||
naiveip_re = re.compile(r"""^(?:
|
naiveip_re = re.compile(r"""^(?:
|
||||||
(?P<addr>
|
(?P<addr>
|
||||||
(?P<ipv4>\d{1,3}(?:\.\d{1,3}){3}) | # IPv4 address
|
(?P<ipv4>\d{1,3}(?:\.\d{1,3}){3}) | # IPv4 address
|
||||||
|
@ -3,7 +3,6 @@ from functools import partial
|
|||||||
from django.db.models.utils import make_model_tuple
|
from django.db.models.utils import make_model_tuple
|
||||||
from django.dispatch import Signal
|
from django.dispatch import Signal
|
||||||
|
|
||||||
|
|
||||||
class_prepared = Signal(providing_args=["class"])
|
class_prepared = Signal(providing_args=["class"])
|
||||||
|
|
||||||
|
|
||||||
|
@ -58,7 +58,6 @@ from .models import (
|
|||||||
UnorderedObject, Villain, Vodcast, Whatsit, Widget, Worker, WorkHour,
|
UnorderedObject, Villain, Vodcast, Whatsit, Widget, Worker, WorkHour,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
ERROR_MESSAGE = "Please enter the correct username and password \
|
ERROR_MESSAGE = "Please enter the correct username and password \
|
||||||
for a staff account. Note that both fields may be case-sensitive."
|
for a staff account. Note that both fields may be case-sensitive."
|
||||||
|
|
||||||
|
@ -14,7 +14,6 @@ from django.utils import timezone
|
|||||||
|
|
||||||
from .models import Article, Author, DecimalModel, Fan
|
from .models import Article, Author, DecimalModel, Fan
|
||||||
|
|
||||||
|
|
||||||
lorem_ipsum = """
|
lorem_ipsum = """
|
||||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
|
||||||
tempor incididunt ut labore et dolore magna aliqua."""
|
tempor incididunt ut labore et dolore magna aliqua."""
|
||||||
|
@ -9,7 +9,6 @@ from django.urls import reverse
|
|||||||
from django.views.decorators.cache import never_cache
|
from django.views.decorators.cache import never_cache
|
||||||
from django.views.generic.edit import FormView
|
from django.views.generic.edit import FormView
|
||||||
|
|
||||||
|
|
||||||
TEMPLATE = """{% if messages %}
|
TEMPLATE = """{% if messages %}
|
||||||
<ul class="messages">
|
<ul class="messages">
|
||||||
{% for message in messages %}
|
{% for message in messages %}
|
||||||
|
@ -2,7 +2,6 @@ from django.test import SimpleTestCase
|
|||||||
|
|
||||||
from ..utils import setup
|
from ..utils import setup
|
||||||
|
|
||||||
|
|
||||||
multiline_string = """
|
multiline_string = """
|
||||||
Hello,
|
Hello,
|
||||||
boys.
|
boys.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user