Add extra variable to the context in this way:
http://code.djangoproject.com/wiki/NewformsHOWTO#Q:HowcanIpassextracontextvariablesintomyaddandchangeviews
then override your submit_line.html template and put into it something
like that:
{% if my_show_delete_link %}
{% if show_delete_link %}{% tran
I like that there's a "delete" checkbox with NFA, but what if I don't
want the item to be delete-able? I have a case where I'm they're an
inline, and I don't want anyone to be able to delete those items
unless the parent is deleted. Can this be done?
--~--~-~--~~~---~--
2 matches
Mail list logo