From acc0eeb8468fd7c1e00a4454b177dc1cbce58542 Mon Sep 17 00:00:00 2001 From: rizwanisready Date: Tue, 9 Apr 2024 17:18:40 +0530 Subject: [PATCH] updated otp expiry time to 1 minute --- goodtimes/settings/base.py | 2 +- manage_subscriptions/models.py | 4 ++-- templates/manage_wallets/withdrawal_list.html | 3 +++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/goodtimes/settings/base.py b/goodtimes/settings/base.py index 88e01ff..75e1ce9 100644 --- a/goodtimes/settings/base.py +++ b/goodtimes/settings/base.py @@ -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 diff --git a/manage_subscriptions/models.py b/manage_subscriptions/models.py index 44cd0ce..4d5be4e 100644 --- a/manage_subscriptions/models.py +++ b/manage_subscriptions/models.py @@ -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 ) diff --git a/templates/manage_wallets/withdrawal_list.html b/templates/manage_wallets/withdrawal_list.html index b5153e2..0f03569 100644 --- a/templates/manage_wallets/withdrawal_list.html +++ b/templates/manage_wallets/withdrawal_list.html @@ -44,6 +44,8 @@ style="width: 79.7969px;">Coins Amount + Status Submitted {{withdrawal_obj.principal}} {{withdrawal_obj.coins}} {{withdrawal_obj.amount}} + {{withdrawal_obj.status}} {{withdrawal_obj.created_on}}