Template filter to get each attribute value in an iterable
Iterate through the supplied iterable and return the `attrname` eattribute of each element in the iterable. Useful with the `join` filter
- filter
- iterable
Iterate through the supplied iterable and return the `attrname` eattribute of each element in the iterable. Useful with the `join` filter
If you set a ForeignKey field in the admin to read-only, you can use this snippet to automatically create a hyperlink to that object.
strangefeatures has posted 2 snippets.