Wednesday, July 30, 2014

how to ride submit_line.html

How can we override the submit_line.html to disable the save buttons in django admin site

I have tried in following ways:
1-> Using Javascript
2->https://github.com/django/django/blob/master/django/contrib/admin/templatetags/admin_modify.py#L23 by overriding these link

But I want to change it using change_view method
how can I achieve that

Thank you
For Help

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/6d7fc41b-0777-46ce-8e8e-0706ae58c870%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment