@staticmethod
    def get_template_key(fragment_name, vary_on=None, prefix='template.cache'):
        """Compose the cache key of a template."""
        if vary_on is None:
            vary_on = ()
        key = ':'.join([urlquote(var) for var in vary_on])
        args = hashlib.md5(force_bytes(key))
        return (fragment_name, args.hexdigest()) % (prefix + '.%s.%s')
dataset/ETHPy150Open twidi/django-adv-cache-tag/adv_cache_tag/tests/tests.py/BasicTestCase.get_template_key/swapped operands of `%`