webanalysis.templatetags package

Submodules

webanalysis.templatetags.extra_funcs module

webanalysis.templatetags.extra_funcs.handle_no_value(input)[source]

Used to handle cased where a DSC file has no value

Parameters:input – The input from the DSC file
Returns:The input, or “Not available”
webanalysis.templatetags.extra_funcs.print_time(timestamp)[source]

A function that converts a timestamp into a human readable string (as we use timestamps in the database)

Parameters:timestamp – The timestamp to be converted
Returns:A human readable time value
webanalysis.templatetags.extra_funcs.print_username(user)[source]

Prints a username of a user based on a user model

Parameters:user – The User to print the username of
Returns:The username

Module contents