Wednesday, July 30, 2014

Re: how to ride submit_line.html

Hi,

have a look there: http://stackoverflow.com/questions/8442724/django-admin-disable-editing-and-remove-save-butttons-for-a-specific-model

Guess it is the right way to go.

Cheers

Am Mittwoch, 30. Juli 2014 13:32:18 UTC+2 schrieb Akshay Mukadam:
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/c12e72bb-5e59-48d7-827d-f65e4fe4fc4e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment