updated otp expiry time to 1 minute
This commit is contained in:
@@ -208,7 +208,7 @@ SHORT_DATE_FORMAT = "d-m-Y"
|
||||
TIME_FORMAT = "H:i p"
|
||||
|
||||
# otp expire time limit
|
||||
OTP_EXPIRE_TIME = 10 # mins
|
||||
OTP_EXPIRE_TIME = 1 # mins
|
||||
|
||||
|
||||
# Default primary key field type
|
||||
|
||||
@@ -18,8 +18,8 @@ class Plan(BaseModel):
|
||||
|
||||
class Subscription(BaseModel):
|
||||
title = models.CharField(max_length=255)
|
||||
short_description = models.CharField(max_length=255, null=True, blank=True)
|
||||
long_description = models.TextField(null=True, blank=True)
|
||||
# short_description = models.CharField(max_length=255, null=True, blank=True)
|
||||
# long_description = models.TextField(null=True, blank=True)
|
||||
plan = models.ForeignKey(
|
||||
Plan, related_name="subscription_plan", on_delete=models.CASCADE
|
||||
)
|
||||
|
||||
@@ -44,6 +44,8 @@
|
||||
style="width: 79.7969px;">Coins</th>
|
||||
<th tabindex="3" aria-controls="style-3" rowspan="1" colspan="1"
|
||||
style="width: 77.3281px;">Amount</th>
|
||||
<th tabindex="3" aria-controls="style-3" rowspan="1" colspan="1"
|
||||
style="width: 77.3281px;">Status</th>
|
||||
<th tabindex="4" aria-controls="style-3" rowspan="1" colspan="1"
|
||||
style="width: 143.516px;">Submitted</th>
|
||||
<th tabindex="5" aria-controls="style-3" rowspan="1" colspan="1"
|
||||
@@ -59,6 +61,7 @@
|
||||
<td>{{withdrawal_obj.principal}}</td>
|
||||
<td>{{withdrawal_obj.coins}}</td>
|
||||
<td>{{withdrawal_obj.amount}}</td>
|
||||
<td>{{withdrawal_obj.status}}</td>
|
||||
<td>{{withdrawal_obj.created_on}}</td>
|
||||
<td class="text-center">
|
||||
<button type="button" class="btn btn-info mb-2 me-4"
|
||||
|
||||
Reference in New Issue
Block a user