Django has good support for this approach, because you can tier your templates as well. Include the global script in your
base.html template, then create a
mysection-base.html template that inherits from
mysection-base.html instead of
base.html, and they'll all have access to the section-specific scripts.