Package wcdbweb :: Package templatetags :: Module template_extras
[hide private]
[frames] | no frames]

Module template_extras

source code

Classes [hide private]
  GaplessNode
Functions [hide private]
 
multiply(a, b) source code
 
order_by(qs, field) source code
 
is_dict(obj) source code
 
is_property_viewable(obj) source code
 
is_list(obj) source code
 
get_template_last_updated(templateFile) source code
 
set_time_zone(datetime) source code
 
get_organisms_n_batches(organisms, id) source code
 
regroup_by(all_objects, by, field, values) source code
Variables [hide private]
  register = template.Library()
  strip_empty_lines = allow_lazy(strip_empty_lines, unicode)
  gapless = register.tag(gapless)
Function Details [hide private]

multiply(a, b)

source code 
Decorators:
  • @register.filter

order_by(qs, field)

source code 
Decorators:
  • @register.filter

is_dict(obj)

source code 
Decorators:
  • @register.filter

is_property_viewable(obj)

source code 
Decorators:
  • @register.filter

is_list(obj)

source code 
Decorators:
  • @register.filter

get_template_last_updated(templateFile)

source code 
Decorators:
  • @register.filter

set_time_zone(datetime)

source code 
Decorators:
  • @register.filter

get_organisms_n_batches(organisms, id)

source code 
Decorators:
  • @register.filter

regroup_by(all_objects, by, field, values)

source code 
Decorators:
  • @register.assignment_tag