Javascripts¶
Grappelli only uses a subset of the original admin javascripts.
If there’s only minor modifications, we use the original javascript (e.g.
RelatedObjectLookups.js).If we add functionality, we use our own jQuery-plugins (e.g.
jquery.grp_collapsible.js) or jQuery-widgets (e.g.jquery.grp_timepicker.js)If there are major modifications, we use our own files as well (e.g.
jquery.grp_inlines.js).
Original Javascripts¶
in /static/admin/js/
calendar.js,collapse.js,collapse.min.js,inlines.js,inlines.min.js,jquery.init.js,jquery.js,jquery.min.js,timeparse.js,DateTimeShortcuts.jsnot used (empty to prevent 404)
actions.js,actions.min.jsminor modifiations, marked with GRAPPELLI CUSTOM
core.jsoriginal
prepopulate,prepopulate.min.jsoriginal
related-widget-wrapper.jsoriginal
SelectBox.jsoriginal
SelectFilter2.jsminor modifiations, marked with GRAPPELLI CUSTOM (e.g. removed help-text, because trusted editors should know what to do)
urlify.jsoriginal
RelatedObjectLookups.jsminor modifiations, marked with GRAPPELLI CUSTOM
Grappelli Javascripts¶
in /static/admin/js/
jquery.grp_collapsible.jscollapsibles
jquery.grp_collapsible_group.jsgrouped collapsibles (inlines)
jquery.grp_inlines.jsinlines (tabular and stacked)
jquery.grp_related_fk.jsforeign-key lookup
jquery.grp_related_m2m.jsm2m lookup
jquery.grp_related_generic.jsgeneric lookup
jquery.grp_autocomplete_fk.jsforeign-key lookup with autocomplete
jquery.grp_autocomplete_m2m.jsm2m lookup with autocomplete
jquery.grp_autocomplete_generic.jsgeneric lookup with autocomplete
jquery.grp_timepicker.jstimepicker
grappelli.jsmain grappelli js
grappelli.min.jsminified version of all Grappelli JS