new_contents: from django.contrib.auth.tokens import PasswordResetTokenGenerator
  from django.utils import six
  
  
  class AccountConfirmationTokenGenerator(PasswordResetTokenGenerator):
      def _make_hash_value(self, user, timestamp):
          return (six.text_type(user.pk) + six.text_type(timestamp)) +  six.text_type(user.is_active)
  
  account_confirmation_token = AccountConfirmationTokenGenerator()
  
  
subject: add file for generating confirmation token