'Handles recording the user\'s access.
Stores the current timestamp in the "accesses" list within the cache.'

def accessed(self, identifier, **kwargs):

    key = self.convert_identifier_to_key(identifier)
    times_accessed = cache.get(key, [])
    times_accessed.append(int(time.time()))
    cache.set(key, times_accessed, self.expiration)
