Skip to content

Commit

Permalink
update House Kitchen Surrounding optns
Browse files Browse the repository at this point in the history
  • Loading branch information
frdrckaman committed Sep 15, 2022
1 parent ab0a48a commit a5d28db
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 2 deletions.
1 change: 1 addition & 0 deletions edcs_subject/choices.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,7 @@
QN32AP = (
("no_walls", "No walls"),
("mud", "Mud"),
("bricks", "Bricks"),
("wood", "Wood"),
("cement_concrete", "Cement/concrete"),
("stone", "Stone"),
Expand Down
53 changes: 53 additions & 0 deletions edcs_subject/migrations/0039_auto_20220915_0242.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Generated by Django 3.1.7 on 2022-09-15 02:42

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('edcs_subject', '0038_auto_20220913_1848'),
]

operations = [
migrations.AlterField(
model_name='historicalhousekitchensurrounding',
name='material_exterior_wall',
field=models.CharField(choices=[('no_walls', 'No walls'), ('mud', 'Mud'), ('bricks', 'Bricks'), ('wood', 'Wood'), ('cement_concrete', 'Cement/concrete'), ('stone', 'Stone'), ('metal', 'Metal'), ('OTHER', 'Others')], max_length=15, verbose_name='What is the main material of the exterior walls of the dwelling?'),
),
migrations.AlterField(
model_name='historicalhousekitchensurrounding',
name='material_exterior_wall_kitchen',
field=models.CharField(choices=[('no_walls', 'No walls'), ('mud', 'Mud'), ('bricks', 'Bricks'), ('wood', 'Wood'), ('cement_concrete', 'Cement/concrete'), ('stone', 'Stone'), ('metal', 'Metal'), ('OTHER', 'Others')], max_length=125, verbose_name='What is the main material of the exterior walls of your kitchen?'),
),
migrations.AlterField(
model_name='historicalhousekitchensurrounding',
name='material_interior_wall',
field=models.CharField(choices=[('no_walls', 'No walls'), ('mud', 'Mud'), ('bricks', 'Bricks'), ('wood', 'Wood'), ('cement_concrete', 'Cement/concrete'), ('stone', 'Stone'), ('metal', 'Metal'), ('OTHER', 'Others')], max_length=125, verbose_name='What is the main material of the interior walls of the dwelling?'),
),
migrations.AlterField(
model_name='historicalhousekitchensurrounding',
name='material_interior_wall_kitchen',
field=models.CharField(choices=[('no_walls', 'No walls'), ('mud', 'Mud'), ('bricks', 'Bricks'), ('wood', 'Wood'), ('cement_concrete', 'Cement/concrete'), ('stone', 'Stone'), ('metal', 'Metal'), ('OTHER', 'Others')], max_length=125, verbose_name='What is the main material of the interior walls of your kitchen?'),
),
migrations.AlterField(
model_name='housekitchensurrounding',
name='material_exterior_wall',
field=models.CharField(choices=[('no_walls', 'No walls'), ('mud', 'Mud'), ('bricks', 'Bricks'), ('wood', 'Wood'), ('cement_concrete', 'Cement/concrete'), ('stone', 'Stone'), ('metal', 'Metal'), ('OTHER', 'Others')], max_length=15, verbose_name='What is the main material of the exterior walls of the dwelling?'),
),
migrations.AlterField(
model_name='housekitchensurrounding',
name='material_exterior_wall_kitchen',
field=models.CharField(choices=[('no_walls', 'No walls'), ('mud', 'Mud'), ('bricks', 'Bricks'), ('wood', 'Wood'), ('cement_concrete', 'Cement/concrete'), ('stone', 'Stone'), ('metal', 'Metal'), ('OTHER', 'Others')], max_length=125, verbose_name='What is the main material of the exterior walls of your kitchen?'),
),
migrations.AlterField(
model_name='housekitchensurrounding',
name='material_interior_wall',
field=models.CharField(choices=[('no_walls', 'No walls'), ('mud', 'Mud'), ('bricks', 'Bricks'), ('wood', 'Wood'), ('cement_concrete', 'Cement/concrete'), ('stone', 'Stone'), ('metal', 'Metal'), ('OTHER', 'Others')], max_length=125, verbose_name='What is the main material of the interior walls of the dwelling?'),
),
migrations.AlterField(
model_name='housekitchensurrounding',
name='material_interior_wall_kitchen',
field=models.CharField(choices=[('no_walls', 'No walls'), ('mud', 'Mud'), ('bricks', 'Bricks'), ('wood', 'Wood'), ('cement_concrete', 'Cement/concrete'), ('stone', 'Stone'), ('metal', 'Metal'), ('OTHER', 'Others')], max_length=125, verbose_name='What is the main material of the interior walls of your kitchen?'),
),
]
4 changes: 2 additions & 2 deletions edcs_subject/models/house_kitchen.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
from edcs_model import models as edcs_models
from edcs_utils import get_utcnow

from ..model_mixins import CrfModelMixin
from ..choices import QN30AP, QN31AP, QN32AP, QN34AP, QN36AP, QN39AP
from ..model_mixins import CrfModelMixin


class HouseKitchenSurrounding(CrfModelMixin, edcs_models.BaseUuidModel):
Expand Down Expand Up @@ -57,7 +57,7 @@ class HouseKitchenSurrounding(CrfModelMixin, edcs_models.BaseUuidModel):
material_interior_wall_kitchen = models.CharField(
verbose_name="What is the main material of the interior walls of your kitchen?",
max_length=125,
choices=QN31AP,
choices=QN32AP,
)
material_exterior_wall_kitchen = models.CharField(
verbose_name="What is the main material of the exterior walls of your kitchen?",
Expand Down

0 comments on commit a5d28db

Please sign in to comment.