How can I make the href for a button use urls.py?

Viewed 4548

I need to add a 'Cancel' button to my ModelForm, I am using crispy forms but when I add href='personnel-index' to redirect back to the list view, it does not. I've checked their documentation but no luck nor any luck on Google.

3 Answers
Related