Theme selector

This commit is contained in:
Mouse Reeve
2022-02-27 10:00:50 -08:00
parent 6e96c1eee7
commit 3dfbb3272e
11 changed files with 184 additions and 34 deletions

View File

@ -1,6 +1,5 @@
# Generated by Django 3.2.12 on 2022-02-26 20:47
# Generated by Django 3.2.12 on 2022-02-27 17:52
import django.core.validators
from django.db import migrations, models
import django.db.models.deletion
@ -40,19 +39,7 @@ class Migration(migrations.Migration):
),
("created_date", models.DateTimeField(auto_now_add=True)),
("name", models.CharField(max_length=50, unique=True)),
(
"theme_file",
models.FileField(
null=True,
upload_to="css/",
validators=[
django.core.validators.FileExtensionValidator(
["scss", "sass"]
)
],
),
),
("path", models.CharField(blank=True, max_length=50, null=True)),
("path", models.CharField(max_length=50, unique=True)),
],
),
migrations.AddField(