Add wallet balance to User model and implement Atoll/Island management

- Added `wallet_balance` field to the User model.
- Updated UserAdmin to include `wallet_balance` in the admin interface.
- Created serializers and views for Atoll and Island management.
- Implemented endpoints for listing, creating, and updating Atolls and Islands.
- Enhanced payment processing with UUIDs for Payment and Topup models.
- Added migration files for new fields and constraints.
- Improved error handling and validation in various views.
- Updated email templates for better responsiveness and SEO.
This commit is contained in:
2025-01-20 20:59:16 +05:00
parent 4d0eb86478
commit f6f77bb0e5
19 changed files with 513 additions and 108 deletions

View File

@ -1,5 +1,9 @@
<!doctype html>
<html lang="en">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Your login token">
<meta name="keywords" content="login, token, SARLink Portal">
<head>
<meta charset="UTF-8" />
<title>Your Login Token</title>
@ -62,6 +66,7 @@
}
</style>
</head>
<body>
<div class="container">
<div class="header">
@ -85,4 +90,5 @@
</div>
</div>
</body>
</html>
</html>

View File

@ -1,10 +1,16 @@
<!doctype html>
<html lang="en">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Your verification token">
<meta name="keywords" content="verification, token, sarlink">
<head>
<meta charset="UTF-8" />
<title>Your Verification Token</title>
</head>
<body>
<h2>Use this verification code: {{ callback_token }}</h2>
</body>
</html>
</html>