diff --git a/backend/donations/views/api.py b/backend/donations/views/api.py index 8ff42b40..f1547a1c 100644 --- a/backend/donations/views/api.py +++ b/backend/donations/views/api.py @@ -181,9 +181,9 @@ def post(self, request, *args, **kwargs): pass DONATION_LIMIT = date( - year=settings.DONATION_LIMIT_YEAR, - month=settings.DONATION_LIMIT_MONTH, - day=settings.DONATION_LIMIT_DAY, + year=settings.DONATIONS_LIMIT_YEAR, + month=settings.DONATIONS_LIMIT_MONTH, + day=settings.DONATIONS_LIMIT_DAY, ) if timezone.now().date() > DONATION_LIMIT: diff --git a/backend/donations/views/ngo.py b/backend/donations/views/ngo.py index 47973cb0..6b4563fc 100644 --- a/backend/donations/views/ngo.py +++ b/backend/donations/views/ngo.py @@ -39,9 +39,9 @@ def get_context_data(self, ngo_url, **kwargs): def get(self, request, ngo_url, *args, **kwargs): context = self.get_context_data(ngo_url) donation_limit = date( - year=settings.DONATION_LIMIT_YEAR, - month=settings.DONATION_LIMIT_MONTH, - day=settings.DONATION_LIMIT_DAY, + year=settings.DONATIONS_LIMIT_YEAR, + month=settings.DONATIONS_LIMIT_MONTH, + day=settings.DONATIONS_LIMIT_DAY, ) try: