1. Peter Wright
  2. django-registration

Commits

Peter Wright  committed aa99e05

Fixed to include whitespace around ‘+’ operator (PEP8).

  • Participants
  • Parent commits 3b69f61
  • Branches default

Comments (0)

Files changed (1)

File registration/models.py

View file
  • Ignore whitespace
         username = user.username
         if isinstance(username, unicode):
             username = username.encode('utf-8')
-        activation_key = sha_constructor(salt+username).hexdigest()
+        activation_key = sha_constructor(salt + username).hexdigest()
         return self.create(user=user,
                            activation_key=activation_key)