Commits

Anonymous committed f52e871

Blah. Renaming a model sucks.

  • Participants
  • Parent commits 4323ed6

Comments (0)

Files changed (1)

         """
         try:
             user_profile = self.get(activation_key=activation_key)
-        except Profile.DoesNotExist:
+        except self.model.DoesNotExist:
             return False
         if not user_profile.activation_key_expired():
             # Account exists and has a non-expired key. Activate it.