intranet.apps.users.templatetags package

Submodules

intranet.apps.users.templatetags.grades module

intranet.apps.users.templatetags.grades.to_grade_name(year)[source]

Returns a Grade object for a year.

intranet.apps.users.templatetags.grades.to_grade_number(year)[source]

Returns a Grade object for a year.

intranet.apps.users.templatetags.phone_numbers module

intranet.apps.users.templatetags.phone_numbers.dashes(phone)[source]

Returns the phone number formatted with dashes.

intranet.apps.users.templatetags.users module

intranet.apps.users.templatetags.users.argument_request_user(obj, func_name)[source]

Pass request.user as an argument to the given function call.

intranet.apps.users.templatetags.users.user_attr(username, attribute)[source]

Gets an attribute of the user with the given username.

Module contents