33 changed files with 147 additions and 40 deletions
-
4apps/article/admin.py
-
3apps/article/management/commands/seed_article_data.py
-
17apps/article/migrations/0003_remove_articlecollection_pin_top.py
-
1apps/article/models.py
-
2apps/article/serializers.py
-
2apps/article/serializers_admin.py
-
1apps/article/serializers_dovodi.py
-
4apps/article/views.py
-
6apps/hadis/admin/hadis.py
-
22apps/hadis/migrations/0031_remove_hadiscollection_pin_top_and_more.py
-
11apps/hadis/models/hadis.py
-
2apps/hadis/serializers/serializers_admin.py
-
9apps/hadis/views/hadis.py
-
2apps/library/admin.py
-
2apps/library/management/commands/seed_category_collection.py
-
27apps/library/migrations/0007_remove_bookcollection_pin_top_and_more.py
-
3apps/library/models.py
-
3apps/library/serializers_admin.py
-
4apps/library/views.py
-
4apps/podcast/admin.py
-
17apps/podcast/migrations/0003_remove_podcastcollection_pin_top.py
-
1apps/podcast/models.py
-
2apps/podcast/serializers.py
-
2apps/podcast/serializers_admin.py
-
1apps/podcast/serializers_dovodi.py
-
4apps/podcast/views.py
-
4apps/video/admin.py
-
17apps/video/migrations/0003_remove_videocollection_pin_top.py
-
1apps/video/models.py
-
2apps/video/serializers.py
-
2apps/video/serializers_admin.py
-
1apps/video/serializers_dovodi.py
-
4apps/video/views.py
@ -0,0 +1,17 @@ |
|||||
|
# Generated by Django 4.2.30 on 2026-07-20 15:49 |
||||
|
|
||||
|
from django.db import migrations |
||||
|
|
||||
|
|
||||
|
class Migration(migrations.Migration): |
||||
|
|
||||
|
dependencies = [ |
||||
|
('article', '0002_article_embedded_in'), |
||||
|
] |
||||
|
|
||||
|
operations = [ |
||||
|
migrations.RemoveField( |
||||
|
model_name='articlecollection', |
||||
|
name='pin_top', |
||||
|
), |
||||
|
] |
||||
@ -0,0 +1,22 @@ |
|||||
|
# Generated by Django 4.2.30 on 2026-07-20 15:49 |
||||
|
|
||||
|
from django.db import migrations, models |
||||
|
|
||||
|
|
||||
|
class Migration(migrations.Migration): |
||||
|
|
||||
|
dependencies = [ |
||||
|
('hadis', '0030_remove_bookauthor_book_references_and_more'), |
||||
|
] |
||||
|
|
||||
|
operations = [ |
||||
|
migrations.RemoveField( |
||||
|
model_name='hadiscollection', |
||||
|
name='pin_top', |
||||
|
), |
||||
|
migrations.AddField( |
||||
|
model_name='hadiscollection', |
||||
|
name='display_position', |
||||
|
field=models.CharField(choices=[('pinned', 'Pinned'), ('middle', 'Middle Section')], default='pinned', max_length=20, verbose_name='Display Position'), |
||||
|
), |
||||
|
] |
||||
@ -0,0 +1,27 @@ |
|||||
|
# Generated by Django 4.2.30 on 2026-07-20 15:49 |
||||
|
|
||||
|
from django.db import migrations, models |
||||
|
|
||||
|
|
||||
|
class Migration(migrations.Migration): |
||||
|
|
||||
|
dependencies = [ |
||||
|
('library', '0006_alter_author_number_of_volumes'), |
||||
|
] |
||||
|
|
||||
|
operations = [ |
||||
|
migrations.RemoveField( |
||||
|
model_name='bookcollection', |
||||
|
name='pin_top', |
||||
|
), |
||||
|
migrations.AddField( |
||||
|
model_name='bookcollection', |
||||
|
name='created_at', |
||||
|
field=models.DateTimeField(auto_now_add=True, null=True, verbose_name='created at'), |
||||
|
), |
||||
|
migrations.AddField( |
||||
|
model_name='bookcollection', |
||||
|
name='updated_at', |
||||
|
field=models.DateTimeField(auto_now=True, null=True, verbose_name='updated at'), |
||||
|
), |
||||
|
] |
||||
@ -0,0 +1,17 @@ |
|||||
|
# Generated by Django 4.2.30 on 2026-07-20 15:49 |
||||
|
|
||||
|
from django.db import migrations |
||||
|
|
||||
|
|
||||
|
class Migration(migrations.Migration): |
||||
|
|
||||
|
dependencies = [ |
||||
|
('podcast', '0002_podcast_collections'), |
||||
|
] |
||||
|
|
||||
|
operations = [ |
||||
|
migrations.RemoveField( |
||||
|
model_name='podcastcollection', |
||||
|
name='pin_top', |
||||
|
), |
||||
|
] |
||||
@ -0,0 +1,17 @@ |
|||||
|
# Generated by Django 4.2.30 on 2026-07-20 15:49 |
||||
|
|
||||
|
from django.db import migrations |
||||
|
|
||||
|
|
||||
|
class Migration(migrations.Migration): |
||||
|
|
||||
|
dependencies = [ |
||||
|
('video', '0002_alter_video_video_file'), |
||||
|
] |
||||
|
|
||||
|
operations = [ |
||||
|
migrations.RemoveField( |
||||
|
model_name='videocollection', |
||||
|
name='pin_top', |
||||
|
), |
||||
|
] |
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue