1. blindmelon
  2. django-registration

Commits

ubernostrum  committed 91862d3

Typo

  • Participants
  • Parent commits 563853a
  • Branches default

Comments (0)

Files changed (1)

File models.py

View file
         
         """
         for profile in self.all():
-            if profile.activation_key_expired:
+            if profile.activation_key_expired():
                 user = profile.user
                 if not user.is_active:
                     user.delete() # Removing the User will remove the RegistrationProfile, too.