f56b088643
Base Image Build / prepare (push) Has been cancelled
Build and Push Multi-Arch Docker Image / build-and-push (push) Has been cancelled
Frontend Tests / test (push) Has been cancelled
Base Image Build / docker (amd64, ubuntu-24.04) (push) Has been cancelled
Base Image Build / docker (arm64, ubuntu-24.04-arm) (push) Has been cancelled
Base Image Build / create-manifest (push) Has been cancelled
23 lines
551 B
Python
23 lines
551 B
Python
# Generated by Django 5.1.6 on 2025-03-01 14:01
|
|
|
|
from django.db import migrations
|
|
from django.utils.text import slugify
|
|
|
|
def preload_core_settings(apps, schema_editor):
|
|
CoreSettings = apps.get_model("core", "CoreSettings")
|
|
CoreSettings.objects.create(
|
|
key=slugify("Preferred Region"),
|
|
name="Preferred Region",
|
|
value="us",
|
|
)
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('core', '0009_m3u_hash_settings'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.RunPython(preload_core_settings),
|
|
]
|