Skip to content

Commit d0641c9

Browse files
committed
프로필 이미지 필드 추가
1 parent cf88181 commit d0641c9

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Generated by Django 4.1.5 on 2023-07-16 13:33
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
("program", "0006_alter_program_options_delete_proposal_and_more"),
10+
]
11+
12+
operations = [
13+
migrations.AddField(
14+
model_name="program",
15+
name="profile_img",
16+
field=models.ImageField(blank=True, null=True, upload_to=""),
17+
),
18+
]

program/models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ class Program(models.Model):
4242
(SPRINT, "스프린트"),
4343
),
4444
)
45+
profile_img = models.ImageField(null=True, blank=True)
4546

4647
class Meta:
4748
verbose_name = "프로그램"

0 commit comments

Comments
 (0)