rename_field
This commit is contained in:
parent
55a749c0ae
commit
52f24c14ee
@ -46,3 +46,9 @@ repos:
|
||||
rev: v8.18.4
|
||||
hooks:
|
||||
- id: gitleaks
|
||||
|
||||
- repo: https://github.com/adamchainz/django-upgrade
|
||||
rev: "1.22.1" # replace with latest tag on GitHub
|
||||
hooks:
|
||||
- id: django-upgrade
|
||||
args: [--target-version, "4.2"] # Replace with Django version
|
||||
|
||||
@ -7,7 +7,7 @@ class ScalesControl(models.Model):
|
||||
db_column='Values', decimal_places=6, max_digits=50, blank=True, null=True
|
||||
)
|
||||
time = models.DateTimeField(db_column='Date', blank=True, null=True)
|
||||
check = models.BooleanField(db_column='Check', default=False)
|
||||
is_checked = models.BooleanField(db_column='Check', default=False)
|
||||
|
||||
class Meta:
|
||||
verbose_name = 'Показание весов'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user