Open joshuadavidthomas opened 5 months ago
Yes, I find myself overriding all this very quickly.
I want to address reversing URLs, and the structure of the default templates here, so let me keep this in mind for the moment.
(Just need to decide how it's meant to look 😅)
Currently as a user of
neapolitan
there's no easy way to adjust how the action links are rendered inCRUDView
's list view, since the links are rendered to a string within the templatetag.I got around this by creating my own
object_list
templatetag that calls a newaction_links
function that, instead of rendering to a string, returns a dictionary with the relevant info that can then taken by the template and rendered there. This approach allows for greater flexibility for anyone usingneapolitan
to adjust how the actions are rendered.Here's the relevant commit to see how this would look.