4
You can add JS code to Admin objects using its Media class. There you can probably define functions to submit changes through Ajax.
0
is it possible to use ajax to save the entire form instead? Just keep a list of changes and save only the intended change
Admin uses formsets to display dtata in multiple forms and formset.save()
checks for formset.changed_forms
before saving. So, only necessary db writes happen. Not every db entry is re-written.
- [Django]-How to tag whole ViewSet in drf_yasg?
- [Django]-Django: How to dynamic filter foreignkey choices by Customizing the Django_Admin
- [Django]-Django Queryset: Need help in optimizing this set of queries
- [Django]-Adding javascript to a Django redirect (HttpResponse)
0
Old question, but I found it when googling. Try https://github.com/sjrd/django-ajax-selects
Source:stackexchange.com