-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
cast/migrations/0054_alter_blog_template_base_dir_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Generated by Django 5.0 on 2023-12-31 07:56 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("cast", "0053_rename_default_layout"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="blog", | ||
name="template_base_dir", | ||
field=models.CharField( | ||
blank=True, | ||
choices=[("bootstrap4", "Bootstrap 4"), ("plain", "Just HTML")], | ||
default=None, | ||
help_text="The theme to use for this blog implemented as a template base directory. If not set, the template base directory will be determined by a site setting.", | ||
max_length=128, | ||
null=True, | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="templatebasedirectory", | ||
name="name", | ||
field=models.CharField( | ||
choices=[("bootstrap4", "Bootstrap 4"), ("plain", "Just HTML")], | ||
default="bootstrap4", | ||
help_text="The theme to use for this site implemented as a template base directory. It's possible to overwrite this setting for each blog.If you want to use a custom theme, you have to create a new directory in your template directory named cast/<your-theme-name>/ and put all required templates in there.", | ||
max_length=128, | ||
), | ||
), | ||
] |