- Enhanced the narrator layer creation process to include error handling, ensuring that existing layers are retrieved if creation fails.
- Introduced a new migration to fix NarratorLayer records with empty or invalid slugs, generating slugs based on the name field or defaulting to a structured format.
- Improved slug conflict resolution to prevent duplicates during the migration process.
- Updated tag creation to check for existing tags before creating new ones, enhancing efficiency.
- Improved transmitter name generation by deriving the father's name from a random selection of names.
- Added safeguards to ensure reliability status is only assigned if available.
- Adjusted tag assignment to ensure a valid number of tags is added to each hadis entry.
- Added 'explanations' and 'address_details' JSON fields to the Hadis model for improved data structure.
- Updated HadisAdminForm to include new fields in the admin interface.
- Introduced a new management command for comprehensive seeding of Hadis data, including Russian language support.
- Enhanced serializers to process and return structured explanations and address details based on request language.
- Updated entrypoint script to include the new data seeding command during initialization.
- Reduced the number of Gunicorn workers in the production Docker configuration from 32 to 6 for improved resource management.
- Enhanced the hadis data seeding command to calculate and distribute hadis entries more effectively across categories, ensuring balanced creation while respecting maximum limits.
- Added a new list of Russian hadis titles for random selection during seeding.
- Refactored category creation to use batch operations for improved performance.
- Implemented bulk creation of hadis records to optimize database interactions.
- Updated command output messages to reflect optimizations and progress during execution.
- Introduced a new management command to seed Russian language data for Hadis, HadisCategory, and HadisSect.
- Updated entrypoint script to include the new command for seeding Russian data during initialization.
- Introduced SubdomainRoutingMiddleware to handle routing based on subdomains.
- Added URL configuration for the admin subdomain, including Swagger/Redoc support.
- Updated settings to include the new middleware for proper request handling.
- Implemented SubdomainRoutingMiddleware to route requests based on subdomains.
- Created urls_admin.py for handling admin-related URLs and Swagger documentation.
- Updated base settings to include the new middleware for subdomain handling.