mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
[5.0.x] Applied Black's 2024 stable style.
https://github.com/psf/black/releases/tag/24.1.0
Backport of 305757aec1 from main
This commit is contained in:
@@ -4,6 +4,7 @@ Serialization
|
||||
``django.core.serializers`` provides interfaces to converting Django
|
||||
``QuerySet`` objects to and from "flat" data (i.e. strings).
|
||||
"""
|
||||
|
||||
from decimal import Decimal
|
||||
|
||||
from django.db import models
|
||||
|
||||
@@ -4,6 +4,7 @@ The following classes are for testing basic data marshalling, including
|
||||
NULL values, where allowed.
|
||||
The basic idea is to have a model for each Django data type.
|
||||
"""
|
||||
|
||||
import uuid
|
||||
|
||||
from django.contrib.contenttypes.fields import GenericForeignKey, GenericRelation
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
"""Models for test_natural.py"""
|
||||
|
||||
import uuid
|
||||
|
||||
from django.db import models
|
||||
|
||||
@@ -6,6 +6,7 @@ test case that is capable of testing the capabilities of
|
||||
the serializers. This includes all valid data values, plus
|
||||
forward, backwards and self references.
|
||||
"""
|
||||
|
||||
import datetime
|
||||
import decimal
|
||||
import uuid
|
||||
|
||||
Reference in New Issue
Block a user