Browse Source
feat(hadis): auto-populate title_narrator for hadith chains and non-hadith book authors
feat(hadis): auto-populate title_narrator for hadith chains and non-hadith book authors
- Auto-populate title_narrator using 1st narrator known_as (or full_name) for hadith arguments - Auto-populate title_narrator using reference book author known_as (or name) for non-hadith arguments - Hook into Hadis.save, AdminHadisDetailSerializer create/update, and AdminHadisTransmitterViewSet relations - Preserve manual entries when title_narrator is explicitly modifiedmaster
3 changed files with 60 additions and 0 deletions
-
40apps/hadis/models/hadis.py
-
6apps/hadis/serializers/serializers_admin.py
-
14apps/hadis/views_admin.py
Write
Preview
Loading…
Cancel
Save
Reference in new issue