More complicated way from https://github.com/cyberdelia/django-pipeline/issues/293