v0.0.29 | 사이트 설정(SiteSettings) 모델 및 API 추가
All checks were successful
Build And Test / build-and-push (push) Successful in 2m1s

- Google 로그인 활성화 여부 관리 기능
- 관리자 전용 설정 수정 API
- 싱글톤 패턴으로 구현

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-18 23:39:23 +09:00
parent 96615e4b94
commit 03f7ad94a9
5 changed files with 138 additions and 2 deletions

View File

@ -0,0 +1,25 @@
# Generated by Django 4.2.14 on 2026-01-18 14:39
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('users', '0013_add_social_login_fields'),
]
operations = [
migrations.CreateModel(
name='SiteSettings',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('google_login_enabled', models.BooleanField(default=True, verbose_name='Google 로그인 활성화')),
('updated_at', models.DateTimeField(auto_now=True)),
],
options={
'verbose_name': '사이트 설정',
'verbose_name_plural': '사이트 설정',
},
),
]