magically adding per-view javascripts.
magically adding per-view javascripts.

hopefully, this will make setting {% javascripts %} within templates
quite rare. to perform magic, use this directory structure:

myapp/
  static/
    javascripts/
      global/*.js   # every view in the entire
      global.js     # webui - use with caution
                    # --
      app/*.js      # every view within this app
      app.js        # (filename is ALWAYS "app")
                    # --
      page/%s/*.js  # only a single view (where %s is the
      page/%.js     # name of the function in views.py)

peterayeni/rapidsms,dimagi/rapidsms-core-dev,ehealthafrica-ci/rapidsms,unicefuganda/edtrac,eHealthAfrica/rapidsms,unicefuganda/edtrac,dimagi/rapidsms,caktus/rapidsms,lsgunth/rapidsms,ehealthafrica-ci/rapidsms,rapidsms/rapidsms-core-dev,ken-muturi/rapidsms,lsgunth/rapidsms,peterayeni/rapidsms,catalpainternational/rapidsms,ken-muturi/rapidsms,lsgunth/rapidsms,ehealthafrica-ci/rapidsms,dimagi/rapidsms,caktus/rapidsms,dimagi/rapidsms-core-dev,unicefuganda/edtrac,lsgunth/rapidsms,catalpainternational/rapidsms,eHealthAfrica/rapidsms,caktus/rapidsms,ken-muturi/rapidsms,catalpainternational/rapidsms,peterayeni/rapidsms,eHealthAfrica/rapidsms,catalpainternational/rapidsms,peterayeni/rapidsms,rapidsms/rapidsms-core-dev