v0.0.29 | 사이트 설정(SiteSettings) 모델 및 API 추가
All checks were successful
Build And Test / build-and-push (push) Successful in 2m1s
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:
25
users/migrations/0014_sitesettings.py
Normal file
25
users/migrations/0014_sitesettings.py
Normal 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': '사이트 설정',
|
||||
},
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user