@register.filter
def resize(value, size, root_name='resize'):
    return reverse('imagefit_resize', kwargs=dict(
        path_name=root_name, format=size, url=value))
Remove duplicated genres.
dataset/ETHPy150Open vinyll/django-imagefit/imagefit/templatetags/imagefit.py/resize--crossover with--dataset/ETHPy150Open beetbox/beets/test/test_lastgenre.py/LastGenrePluginTest.test_no_duplicate