3 Commits
403e068475
...
480f9113ff
| Author | SHA1 | Message | Date |
|---|---|---|---|
|
|
480f9113ff |
otp updated for dovodi
|
5 hours ago |
|
|
db03332ec5 |
better and smarter way to show source volumes and edditions with has edditions switch
|
5 hours ago |
|
|
4d24052fdf |
source author avatar field added
|
24 hours ago |
7 changed files with 136 additions and 28 deletions
-
18apps/hadis/migrations/0034_bookauthor_image.py
-
18apps/hadis/migrations/0035_bookreference_has_editions.py
-
13apps/hadis/models/reference.py
-
22apps/hadis/serializers/reference_v2.py
-
34apps/hadis/serializers/serializers_admin.py
-
6config/settings/base.py
-
53utils/__init__.py
@ -0,0 +1,18 @@ |
|||||
|
# Generated by Django 4.2.30 on 2026-08-23 16:19 |
||||
|
|
||||
|
from django.db import migrations, models |
||||
|
|
||||
|
|
||||
|
class Migration(migrations.Migration): |
||||
|
|
||||
|
dependencies = [ |
||||
|
('hadis', '0033_bookeditor'), |
||||
|
] |
||||
|
|
||||
|
operations = [ |
||||
|
migrations.AddField( |
||||
|
model_name='bookauthor', |
||||
|
name='image', |
||||
|
field=models.ImageField(blank=True, help_text='image allowed', null=True, upload_to='hadis/author_images/', verbose_name='Image'), |
||||
|
), |
||||
|
] |
||||
@ -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