Browse Source
better and smarter way to show source volumes and edditions with has edditions switch
master
better and smarter way to show source volumes and edditions with has edditions switch
master
4 changed files with 33 additions and 8 deletions
-
18apps/hadis/migrations/0035_bookreference_has_editions.py
-
5apps/hadis/models/reference.py
-
12apps/hadis/serializers/reference_v2.py
-
2apps/hadis/serializers/serializers_admin.py
@ -0,0 +1,18 @@ |
|||
# Generated by Django 4.2.30 on 2026-08-24 10:29 |
|||
|
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('hadis', '0034_bookauthor_image'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AddField( |
|||
model_name='bookreference', |
|||
name='has_editions', |
|||
field=models.BooleanField(default=False, help_text='True if this reference has one or more editions, False for direct volumes without edition structure', verbose_name='Has Editions Structure'), |
|||
), |
|||
] |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue