mirror of
https://github.com/jazzband/django-auditlog.git
synced 2026-05-14 18:43:11 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
6afd964b64
commit
6671709438
2 changed files with 3 additions and 2 deletions
|
|
@ -205,6 +205,7 @@ class DecimalFieldModel(models.Model):
|
|||
A model with a DecimalField, used to test DecimalField changes
|
||||
are detected properly.
|
||||
"""
|
||||
|
||||
decimal = models.DecimalField(max_digits=18, decimal_places=2, default=0)
|
||||
|
||||
history = AuditlogHistoryField(delete_related=True)
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@ import json
|
|||
import random
|
||||
import warnings
|
||||
from datetime import timezone
|
||||
from decimal import Decimal
|
||||
from unittest import mock
|
||||
from unittest.mock import patch
|
||||
from decimal import Decimal
|
||||
|
||||
import freezegun
|
||||
from dateutil.tz import gettz
|
||||
|
|
@ -42,8 +42,8 @@ from auditlog_tests.models import (
|
|||
AutoManyRelatedModel,
|
||||
CharfieldTextfieldModel,
|
||||
ChoicesFieldModel,
|
||||
DecimalFieldModel,
|
||||
DateTimeFieldModel,
|
||||
DecimalFieldModel,
|
||||
JSONModel,
|
||||
ManyRelatedModel,
|
||||
ManyRelatedOtherModel,
|
||||
|
|
|
|||
Loading…
Reference in a new issue