Commit Graph
7 Commits
Author SHA1 Message Date
sankalp cf819817ab feat(models): update Client model and add validation
This update modifies the Client model fields and introduces new data validation methods. Key changes include removing the hard-coded phone region and adding validation for email and short codes.

**New Features**
- Added `validate_email` method to ensure proper email formatting
- Added `validate_short_code` method to enforce alphanumeric short codes

**Enhancements & Refinements**
- Removed hard-coded 'NP' region from `phone` field to support international numbers
2025-12-14 08:17:48 +05:45
sankalp 54df9af013 feat(test): added test for models 2025-12-11 21:52:51 +05:45
sankalp 63d63d5e5c fix(notification): fixed formatting and linting 2025-12-11 21:09:14 +05:45
sankalp 466d4b868a feat(notification): added notification model and admin 2025-12-11 21:02:16 +05:45
sankalp 4afe6eaa3a - update pyproject.toml and models/clients.py 2025-12-09 14:28:35 +05:45
sankalp 8b50ff5412 This commit refactors the models in the 'models' app, specifically 'clients' and 'services' modules. It includes the PhoneNumberField in the Client model and adds a new Credential model to the services module. The Service model has been modified to include new fields and relationships. 2025-12-09 13:35:09 +05:45
sankalp e78841631c This commit refactors the project structure by moving the models and API to separate directories. It also updates the settings, Procfile, manage.py, and README files accordingly. The purpose of this change is to improve the organization and maintainability of the project. 2025-12-09 10:43:31 +05:45