Skip to content

Commit 71c0b6f

Browse files
authored
Merge pull request #141 from golony6449/feature/golony/program
아이돌봄 타입 값 변경
2 parents 3b28387 + e28333e commit 71c0b6f

File tree

2 files changed

+28
-2
lines changed

2 files changed

+28
-2
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Generated by Django 4.1.5 on 2023-07-31 15:09
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
("program", "0008_alter_program_program_type"),
10+
]
11+
12+
operations = [
13+
migrations.AlterField(
14+
model_name="program",
15+
name="program_type",
16+
field=models.CharField(
17+
choices=[
18+
("CONFERENCE", "컨퍼런스"),
19+
("TUTORIAL", "튜토리얼"),
20+
("SPRINT", "스프린트"),
21+
("CHILDCARE", "아이돌봄"),
22+
],
23+
max_length=30,
24+
),
25+
),
26+
]

program/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
CONFERENCE = "CONFERENCE"
99
TUTORIAL = "TUTORIAL"
1010
SPRINT = "SPRINT"
11-
CHILD_CARE = "CHILD_CARE"
11+
CHILDCARE = "CHILDCARE"
1212

1313

1414
class Program(models.Model):
@@ -41,7 +41,7 @@ class Program(models.Model):
4141
(CONFERENCE, "컨퍼런스"),
4242
(TUTORIAL, "튜토리얼"),
4343
(SPRINT, "스프린트"),
44-
(CHILD_CARE, "아이돌봄"),
44+
(CHILDCARE, "아이돌봄"),
4545
),
4646
)
4747
profile_img = models.ImageField(null=True, blank=True)

0 commit comments

Comments
 (0)