X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/d19e216035b14d8f60b24dda0c0670e6997f16ce..54d1617957cfa3a8c9ffd714ad6c4bef09e727de:/philo/contrib/waldo/tokens.py?ds=sidebyside diff --git a/philo/contrib/waldo/tokens.py b/philo/contrib/waldo/tokens.py index 80f0b11..858b073 100644 --- a/philo/contrib/waldo/tokens.py +++ b/philo/contrib/waldo/tokens.py @@ -2,12 +2,12 @@ Based on django.contrib.auth.tokens """ - +from hashlib import sha1 from datetime import date + from django.conf import settings from django.utils.http import int_to_base36, base36_to_int from django.contrib.auth.tokens import PasswordResetTokenGenerator -from hashlib import sha1 REGISTRATION_TIMEOUT_DAYS = getattr(settings, 'WALDO_REGISTRATION_TIMEOUT_DAYS', 1)