Skip to content

Commit

Permalink
chore: 디폴트 신뢰도 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
dkfla committed Aug 8, 2024
1 parent fc2169f commit 6ce25a3
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions accounts/migrations/0007_alter_user_reliability.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by Django 4.2.14 on 2024-08-08 06:52

from django.db import migrations, models


class Migration(migrations.Migration):
dependencies = [
("accounts", "0006_alter_user_id"),
]

operations = [
migrations.AlterField(
model_name="user",
name="reliability",
field=models.SmallIntegerField(default=80),
),
]
2 changes: 1 addition & 1 deletion accounts/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class User(AbstractUser):
default="default_profile_img.jpg", upload_to="profile_imgs"
)

reliability = models.SmallIntegerField(default=100)
reliability = models.SmallIntegerField(default=80)

USERNAME_FIELD = "email"
REQUIRED_FIELDS = ["name", "username"]
Expand Down

0 comments on commit 6ce25a3

Please sign in to comment.