scipost.templatetags.scipost_extras module

scipost.templatetags.scipost_extras.list_element(l, idx)[source]

Return the element with index idx from list, or None.

scipost.templatetags.scipost_extras.concatenate(arg1, arg2)[source]

Stringify and concatenate the two arguments

scipost.templatetags.scipost_extras.sort_by(queryset, order)[source]
scipost.templatetags.scipost_extras.duration(dur)[source]
scipost.templatetags.scipost_extras.content_type_id(obj)[source]
scipost.templatetags.scipost_extras.object_name(obj)[source]
scipost.templatetags.scipost_extras.get_admin_url(obj)[source]
scipost.templatetags.scipost_extras.increment_dt(dt)[source]
scipost.templatetags.scipost_extras.is_in_group(user, group_name)[source]
scipost.templatetags.scipost_extras.associated_contributors(draft)[source]