1. psilar
  2. django-registration

Commits

Psilar  committed e8a6a75

Typo .. fixed missing parenthesis

  • Participants
  • Parent commits 68e3e09
  • Branches default

Comments (0)

Files changed (1)

File registration/models.py

View file
         """
         expiration_date = datetime.timedelta(days=settings.ACCOUNT_ACTIVATION_DAYS)
         return self.activation_key == self.ACTIVATED or \
-               (self.user.date_joined + expiration_date <= datetime.datetime.utcnow().replace(tzinfo=utc)
+               (self.user.date_joined + expiration_date <= datetime.datetime.utcnow().replace(tzinfo=utc))
     activation_key_expired.boolean = True