- Implement NepaliCurrencyField for model-level currency handling.
- Add format_nepali_currency utility with Lakhs/Crores comma formatting and decimal support.
- Implement number_to_nepali_words and english_to_nepali_unicode helper functions.
- Add nepali_currency, nepali_words, and nepali_unicode template filters.
- Enhance REST API (DRF) support:
- Added NepaliCurrencySerializerField for formatted currency output.
- Added NepaliLocalizedSerializerMixin for automatic Devanagari field generation.
- Added flexible NepaliCurrencyRangeFilter and NepaliDateRangeFilter.
- Integrated automatic currency formatting into NepaliModelAdmin.
- Expanded the example demo app with a Transaction model and updated filters.
- Added comprehensive unit tests for formatting, models, and API components.
- Updated documentation (README.md and todo.md) to reflect new features.
777 B
777 B
Features TODO
Localization & Formatting
- Nepali Currency Formatter: Template tag for formatting money using the Nepali numbering system (Lakhs, Crores).
- Numbers to Words: Convert digits like
1234into Nepali text (एक हजार दुई सय चौंतीस). - Unicode Helpers: Built-in filters for converting common English text/numbers into Nepali Unicode equivalent.
Integration
- REST API Enhancements: Add more specialized DRF serializers for range filters and localized outputs.
Address & Location
- Address Normalization: Implement a way to verify or suggest standardized Nepali addresses.
- Map Integration: Helpers to get geocoding data for selected Provinces/Districts/Municipalities.