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
25 changed files
with
470 additions
and
74 deletions.
There are no files selected for viewing
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 @@ | ||
Add content hub functionality by adding a CategoryListView and apphook configuration for urls |
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
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
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
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
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,49 @@ | ||
# Generated by Django 3.0.14 on 2021-11-28 14:03 | ||
|
||
import django.db.models.deletion | ||
import djangocms_text_ckeditor.fields | ||
import filer.fields.image | ||
from django.conf import settings | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
# ('filer', '0014_folder_permission_choices'), | ||
# migrations.swappable_dependency(settings.FILER_IMAGE_MODEL), | ||
('djangocms_blog', '0039_auto_20200331_2227'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='blogcategory', | ||
name='main_image', | ||
field=filer.fields.image.FilerImageField(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='djangocms_category_image', to=settings.FILER_IMAGE_MODEL, verbose_name='main image'), | ||
), | ||
migrations.AddField( | ||
model_name='blogcategory', | ||
name='main_image_full', | ||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='djangocms_category_full', to='filer.ThumbnailOption', verbose_name='main image full'), | ||
), | ||
migrations.AddField( | ||
model_name='blogcategory', | ||
name='main_image_thumbnail', | ||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='djangocms_category_thumbnail', to='filer.ThumbnailOption', verbose_name='main image thumbnail'), | ||
), | ||
migrations.AddField( | ||
model_name='blogcategory', | ||
name='priority', | ||
field=models.IntegerField(blank=True, null=True, verbose_name='priority'), | ||
), | ||
migrations.AddField( | ||
model_name='blogcategorytranslation', | ||
name='abstract', | ||
field=djangocms_text_ckeditor.fields.HTMLField(blank=True, default='', verbose_name='abstract'), | ||
), | ||
migrations.AddField( | ||
model_name='post', | ||
name='pinned', | ||
field=models.IntegerField(blank=True, null=True, verbose_name='priority'), | ||
), | ||
] |
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,32 @@ | ||
# Generated by Django 3.0.14 on 2021-12-14 10:37 | ||
|
||
import django.db.models.expressions | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('djangocms_blog', '0040_auto_20211128_1503'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterModelOptions( | ||
name='blogcategory', | ||
options={'ordering': (django.db.models.expressions.OrderBy(django.db.models.expressions.F('priority'), nulls_last=True),), 'verbose_name': 'blog category', 'verbose_name_plural': 'blog categories'}, | ||
), | ||
migrations.AlterModelOptions( | ||
name='post', | ||
options={'get_latest_by': 'date_published', 'ordering': (django.db.models.expressions.OrderBy(django.db.models.expressions.F('pinned'), nulls_last=True), '-date_published', '-date_created'), 'verbose_name': 'blog article', 'verbose_name_plural': 'blog articles'}, | ||
), | ||
migrations.AlterField( | ||
model_name='blogcategorytranslation', | ||
name='slug', | ||
field=models.SlugField(allow_unicode=True, blank=True, max_length=752, verbose_name='slug'), | ||
), | ||
migrations.AlterField( | ||
model_name='post', | ||
name='pinned', | ||
field=models.IntegerField(blank=True, help_text='Pinned posts are shown in ascending order before unpinned ones. Leave blank for regular order by date.', null=True, verbose_name='pinning priority'), | ||
), | ||
] |
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
Oops, something went wrong.