class documentation

Undocumented

Static Method merge Merge lists while trying to keep the relative order of the elements. Warn if the lists have the same elements in a different relative order.
Method __add__ Undocumented
Method __getitem__ Return a Media object that only contains media of the given type.
Method __init__ Undocumented
Method __repr__ Undocumented
Method __str__ Undocumented
Method absolute_path Given a relative or absolute path to a static asset, return an absolute path. An absolute path will be returned unchanged while a relative path will be passed to django.templatetags.static.static().
Method render Undocumented
Method render_css Undocumented
Method render_js Undocumented
Instance Variable _css_lists Undocumented
Instance Variable _js_lists Undocumented
Property _css Undocumented
Property _js Undocumented
@staticmethod
def merge(*lists): (source)

Merge lists while trying to keep the relative order of the elements. Warn if the lists have the same elements in a different relative order. For static assets it can be important to have them included in the DOM in a certain order. In JavaScript you may not be able to reference a global or in CSS you might want to override a style.

def __add__(self, other): (source)

Undocumented

def __getitem__(self, name): (source)

Return a Media object that only contains media of the given type.

def __init__(self, media=None, css=None, js=None): (source)

Undocumented

def __repr__(self): (source)

Undocumented

def __str__(self): (source)

Undocumented

def absolute_path(self, path): (source)

Given a relative or absolute path to a static asset, return an absolute path. An absolute path will be returned unchanged while a relative path will be passed to django.templatetags.static.static().

def render(self): (source)

Undocumented

def render_css(self): (source)

Undocumented

def render_js(self): (source)

Undocumented

_css_lists = (source)

Undocumented

_js_lists = (source)

Undocumented

Undocumented

Undocumented