mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-09 19:40:19 +00:00
repair user merging tool (#498)
This commit is contained in:
@ -165,7 +165,4 @@ class Subscription(models.Model):
|
||||
return user.is_in_group(settings.SITH_MAIN_BOARD_GROUP) or user.is_root
|
||||
|
||||
def is_valid_now(self):
|
||||
return (
|
||||
self.subscription_start <= date.today()
|
||||
and date.today() <= self.subscription_end
|
||||
)
|
||||
return self.subscription_start <= date.today() <= self.subscription_end
|
||||
|
Reference in New Issue
Block a user