Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiple adjustments on the same model instance with {% adjust_bulk %} #62

Open
melinath opened this issue Sep 13, 2014 · 1 comment

Comments

@melinath
Copy link
Owner

Right now, {% adjust_bulk %} lets you do an optimized adjustment of a bunch of (say) image fields for a queryset. But you can only do one adjustment per item in the iterable. That's a problem; often you'll have two fields that need to be adjusted, or one field that needs to be adjusted in two different ways. We should support that.

@melinath
Copy link
Owner Author

melinath commented Apr 7, 2020

Specifically the issue here is that you might be looping over one iterable but want to have multiple images rendered for each item in the iterable - say, different sizes depending on window size or device resolution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant