updated applet seed migration to include default applet sizes; other sundry styling refinements
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Disco DeDisco
2026-03-06 19:14:53 -05:00
parent 42a9049c0a
commit 9aea1ccb56
5 changed files with 43 additions and 10 deletions

View File

@@ -3,8 +3,8 @@ from django.db import migrations
def seed_applets(apps, schema_editor):
Applet = apps.get_model("dashboard", "Applet")
Applet.objects.get_or_create(slug="username", defaults={"name": "Username"})
Applet.objects.get_or_create(slug="palette", defaults={"name": "Palette"})
Applet.objects.get_or_create(slug="username", defaults={"name": "Username"}, grid_cols=6, grid_rows=3)
Applet.objects.get_or_create(slug="palette", defaults={"name": "Palette"}, grid_cols=6, grid_rows=3)
class Migration(migrations.Migration):