forked from rc/aircox
Feat: packaging (#127)
- Add configuration files for packaging - Precommit now uses ruff Co-authored-by: bkfox <thomas bkfox net> Reviewed-on: rc/aircox#127
This commit is contained in:
@ -84,9 +84,7 @@ class Migration(migrations.Migration):
|
||||
options={
|
||||
"verbose_name": "Diffusion",
|
||||
"verbose_name_plural": "Diffusions",
|
||||
"permissions": (
|
||||
("programming", "edit the diffusion's planification"),
|
||||
),
|
||||
"permissions": (("programming", "edit the diffusion's planification"),),
|
||||
},
|
||||
),
|
||||
migrations.CreateModel(
|
||||
@ -125,22 +123,16 @@ class Migration(migrations.Migration):
|
||||
),
|
||||
(
|
||||
"content",
|
||||
ckeditor.fields.RichTextField(
|
||||
blank=True, null=True, verbose_name="content"
|
||||
),
|
||||
ckeditor.fields.RichTextField(blank=True, null=True, verbose_name="content"),
|
||||
),
|
||||
("pub_date", models.DateTimeField(blank=True, null=True)),
|
||||
(
|
||||
"featured",
|
||||
models.BooleanField(
|
||||
default=False, verbose_name="featured"
|
||||
),
|
||||
models.BooleanField(default=False, verbose_name="featured"),
|
||||
),
|
||||
(
|
||||
"allow_comments",
|
||||
models.BooleanField(
|
||||
default=True, verbose_name="allow comments"
|
||||
),
|
||||
models.BooleanField(default=True, verbose_name="allow comments"),
|
||||
),
|
||||
(
|
||||
"category",
|
||||
@ -458,9 +450,7 @@ class Migration(migrations.Migration):
|
||||
("name", models.CharField(max_length=64, verbose_name="name")),
|
||||
(
|
||||
"slug",
|
||||
models.SlugField(
|
||||
max_length=64, unique=True, verbose_name="slug"
|
||||
),
|
||||
models.SlugField(max_length=64, unique=True, verbose_name="slug"),
|
||||
),
|
||||
(
|
||||
"path",
|
||||
@ -566,9 +556,7 @@ class Migration(migrations.Migration):
|
||||
),
|
||||
(
|
||||
"content",
|
||||
ckeditor.fields.RichTextField(
|
||||
blank=True, null=True, verbose_name="content"
|
||||
),
|
||||
ckeditor.fields.RichTextField(blank=True, null=True, verbose_name="content"),
|
||||
),
|
||||
(
|
||||
"view",
|
||||
@ -949,9 +937,7 @@ class Migration(migrations.Migration):
|
||||
),
|
||||
(
|
||||
"time",
|
||||
models.TimeField(
|
||||
help_text="start time", verbose_name="time"
|
||||
),
|
||||
models.TimeField(help_text="start time", verbose_name="time"),
|
||||
),
|
||||
(
|
||||
"timezone",
|
||||
@ -1643,9 +1629,7 @@ class Migration(migrations.Migration):
|
||||
),
|
||||
(
|
||||
"duration",
|
||||
models.TimeField(
|
||||
help_text="regular duration", verbose_name="duration"
|
||||
),
|
||||
models.TimeField(help_text="regular duration", verbose_name="duration"),
|
||||
),
|
||||
(
|
||||
"frequency",
|
||||
|
@ -33,9 +33,7 @@ class Migration(migrations.Migration):
|
||||
migrations.AlterField(
|
||||
model_name="page",
|
||||
name="content",
|
||||
field=ckeditor_uploader.fields.RichTextUploadingField(
|
||||
blank=True, null=True, verbose_name="content"
|
||||
),
|
||||
field=ckeditor_uploader.fields.RichTextUploadingField(blank=True, null=True, verbose_name="content"),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name="sound",
|
||||
@ -52,8 +50,6 @@ class Migration(migrations.Migration):
|
||||
migrations.AlterField(
|
||||
model_name="staticpage",
|
||||
name="content",
|
||||
field=ckeditor_uploader.fields.RichTextUploadingField(
|
||||
blank=True, null=True, verbose_name="content"
|
||||
),
|
||||
field=ckeditor_uploader.fields.RichTextUploadingField(blank=True, null=True, verbose_name="content"),
|
||||
),
|
||||
]
|
||||
|
@ -12,9 +12,7 @@ class Migration(migrations.Migration):
|
||||
migrations.AlterModelOptions(
|
||||
name="diffusion",
|
||||
options={
|
||||
"permissions": (
|
||||
("programming", "edit the diffusions' planification"),
|
||||
),
|
||||
"permissions": (("programming", "edit the diffusions' planification"),),
|
||||
"verbose_name": "Diffusion",
|
||||
"verbose_name_plural": "Diffusions",
|
||||
},
|
||||
@ -22,9 +20,7 @@ class Migration(migrations.Migration):
|
||||
migrations.AddField(
|
||||
model_name="track",
|
||||
name="album",
|
||||
field=models.CharField(
|
||||
default="", max_length=128, verbose_name="album"
|
||||
),
|
||||
field=models.CharField(default="", max_length=128, verbose_name="album"),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name="schedule",
|
||||
|
@ -12,8 +12,6 @@ class Migration(migrations.Migration):
|
||||
migrations.AddField(
|
||||
model_name="track",
|
||||
name="year",
|
||||
field=models.IntegerField(
|
||||
blank=True, null=True, verbose_name="year"
|
||||
),
|
||||
field=models.IntegerField(blank=True, null=True, verbose_name="year"),
|
||||
),
|
||||
]
|
||||
|
@ -12,8 +12,6 @@ class Migration(migrations.Migration):
|
||||
migrations.AlterField(
|
||||
model_name="track",
|
||||
name="album",
|
||||
field=models.CharField(
|
||||
blank=True, max_length=128, null=True, verbose_name="album"
|
||||
),
|
||||
field=models.CharField(blank=True, max_length=128, null=True, verbose_name="album"),
|
||||
),
|
||||
]
|
||||
|
@ -30,9 +30,7 @@ class Migration(migrations.Migration):
|
||||
),
|
||||
(
|
||||
"playlist_editor_sep",
|
||||
models.CharField(
|
||||
max_length=16, verbose_name="Playlist Editor Separator"
|
||||
),
|
||||
models.CharField(max_length=16, verbose_name="Playlist Editor Separator"),
|
||||
),
|
||||
(
|
||||
"user",
|
||||
|
Reference in New Issue
Block a user