accounts/models.py
def activation_key_expired(self):
        """
        Determines whether this ``RegistrationProfile``'s activation
        key has expired.

        Returns ``True`` if the key has expired, ``False`` otherwise.

        Key expiration is determined by the setting
        ``ACCOUNT_ACTIVATION_DAYS``, which should be the number of
        days a key should remain valid after an account is registered.

        """
        expiration_date = datetime.timedelta(days=settings.ACCOUNT_ACTIVATION_DAYS)
        return self.user.date_joined + expiration_date <= datetime.datetime.now()

        Determines whether this ``RegistrationProfile``'s activation
        key has expired.

        Returns ``True`` if the key has expired, ``False`` otherwise.

        Key expiration is determined by the setting
        ``ACCOUNT_ACTIVATION_DAYS``, which should be the number of
        days a key should remain valid after an account is registered.

        
Determines whether this ``RegistrationProfile``'s activation
key has expired.



Key expiration is determined by the setting
``ACCOUNT_ACTIVATION_DAYS``, which should be the number of
days a key should remain valid after an account is registered.
Determines whether this ` ` RegistrationProfile ` ` ' s activation key has expired . Key expiration is determined by the setting ` ` ACCOUNT_ACTIVATION_DAYS ` ` which should be the number of days a key should remain valid after an account is registered .
def activation_key_expired(self):
        expiration_date = datetime.timedelta(days=settings.ACCOUNT_ACTIVATION_DAYS)
        return self.user.date_joined + expiration_date <= datetime.datetime.now()
def activation_key_expired ( self ) : expiration_date = datetime . timedelta ( days = settings . ACCOUNT_ACTIVATION_DAYS ) return self . user . date_joined + expiration_date <= datetime . datetime . now ( )
Determines whether this ``RegistrationProfile``'s activation
key has expired.
Determines whether this ` ` RegistrationProfile ` ` ' s activation key has expired .
"""
        Determines whether this ``RegistrationProfile``'s activation
        key has expired.

        Returns ``True`` if the key has expired, ``False`` otherwise.

        Key expiration is determined by the setting
        ``ACCOUNT_ACTIVATION_DAYS``, which should be the number of
        days a key should remain valid after an account is registered.

        """
self