4 changed files with 60 additions and 4 deletions
-
18apps/hadis/migrations/0034_bookauthor_image.py
-
8apps/hadis/models/reference.py
-
6apps/hadis/serializers/reference_v2.py
-
32apps/hadis/serializers/serializers_admin.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'), |
||||
|
), |
||||
|
] |
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue