Browse Source
references authors enhanced with new data fields , endpoints added for authors list , detail , books and sync api
master
references authors enhanced with new data fields , endpoints added for authors list , detail , books and sync api
master
5 changed files with 221 additions and 1 deletions
-
38apps/hadis/migrations/0018_bookauthor_features_bookauthor_known_as_and_more.py
-
11apps/hadis/models/reference.py
-
97apps/hadis/serializers/reference_v2.py
-
8apps/hadis/urls.py
-
68apps/hadis/views/reference_v2.py
@ -0,0 +1,38 @@ |
|||||
|
# Generated by Django 5.2.12 on 2026-06-21 18:02 |
||||
|
|
||||
|
from django.db import migrations, models |
||||
|
|
||||
|
|
||||
|
class Migration(migrations.Migration): |
||||
|
|
||||
|
dependencies = [ |
||||
|
('hadis', '0017_booktag_alter_bookreference_subject_area_and_more'), |
||||
|
] |
||||
|
|
||||
|
operations = [ |
||||
|
migrations.AddField( |
||||
|
model_name='bookauthor', |
||||
|
name='features', |
||||
|
field=models.JSONField(blank=True, default=list, verbose_name='Features'), |
||||
|
), |
||||
|
migrations.AddField( |
||||
|
model_name='bookauthor', |
||||
|
name='known_as', |
||||
|
field=models.JSONField(blank=True, default=list, verbose_name='Known as'), |
||||
|
), |
||||
|
migrations.AddField( |
||||
|
model_name='bookauthor', |
||||
|
name='rutba', |
||||
|
field=models.JSONField(blank=True, default=list, verbose_name='Rutba'), |
||||
|
), |
||||
|
migrations.AddField( |
||||
|
model_name='bookauthor', |
||||
|
name='scholarity', |
||||
|
field=models.JSONField(blank=True, default=list, verbose_name='Scholarity'), |
||||
|
), |
||||
|
migrations.AddField( |
||||
|
model_name='bookauthor', |
||||
|
name='tabaqa', |
||||
|
field=models.JSONField(blank=True, default=list, verbose_name='Tabaqa'), |
||||
|
), |
||||
|
] |
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue