Refactor Docker configuration and API endpoints

- Merged production and development Docker configurations
- Updated Dockerfile to use multi-stage build
- Removed separate Dockerfile.prod
- Modified docker-compose.yml for production settings
- Added new API endpoints for user filtering by ID card
- Updated serializers and views for Atoll and Island management
- Enhanced user and atoll-related filters and views
This commit is contained in:
2025-01-24 11:43:18 +05:00
parent f6f77bb0e5
commit c1fc07e3e2
9 changed files with 118 additions and 137 deletions

View File

@ -219,7 +219,7 @@ def send_sms_with_callback_token(user, mobile_token, **kwargs):
"message": base_string % mobile_token.key,
"check_delivery": False,
}
print(mobile_token.key)
response = requests.post(api_url, headers=headers, data=json.dumps(data))
if response.status_code == 200:
return True