fixed type

This commit is contained in:
Alexander Karpov 2023-02-19 09:44:01 +03:00
parent 3cd215b6e4
commit d2478f3587
2 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,21 @@
# Generated by Django 4.1.7 on 2023-02-19 02:41
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("search", "0004_delete_district_delete_street_and_more"),
]
operations = [
migrations.AlterField(
model_name="primaryflat",
name="risk",
field=models.CharField(
choices=[("riskey", "Riskey"), ("good", "Good"), ("bad", "Bad")],
max_length=20,
),
),
]

View File

@ -46,7 +46,6 @@ class PrimaryFlat(models.Model):
long = "long" long = "long"
class PrimaryFlatRisks(models.TextChoices): class PrimaryFlatRisks(models.TextChoices):
risk = "risk"
riskey = "riskey" riskey = "riskey"
good = "good" good = "good"
bad = "bad" bad = "bad"