Note to Self Django Jquery Namespace
Note to self
Django: undefined jQuery
Django loads jQuery as a dependency and stores it under the django namespace.
To access the jQuery loaded by django you would use django.jQuery.
Using a module pattern to define a module that has jQuery as a dependency:
(function($){
// Moduleā¦
})(django.jQuery);