parameters: (context, active=True)
return_statement: return {'timers': timers, 'perms': perms, 'next': request.path}
docstring: Get a list of active Timer instances to include in the nav menu.
      :param context: Django's context data.
      :param active: the state of Timers to filter.
      :returns: a dictionary with timers data.
docstring_summary: Get a list of active Timer instances to include in the nav menu.
      :param context: Django's context data.
      :param active: the state of Timers to filter.
      :returns: a dictionary with timers data.
docstring_tokens: Get a list of active Timer instances to include in the nav menu . : param context : Django s context data . : param active : the state of Timers to filter . : returns : a dictionary with timers data .
function: def timer_nav(context, active=True):
      """
      Get a list of active Timer instances to include in the nav menu.
      :param context: Django's context data.
      :param active: the state of Timers to filter.
      :returns: a dictionary with timers data.
      """
      request = context['request'] or None
      timers = Timer.objects.filter(active=active)
      perms = context['perms'] or None
      # The 'next' parameter is currently not used.
      return {'timers': timers, 'perms': perms, 'next': request.path}
function_tokens: def timer_nav ( context , active = True ) : request = context [ 'request' ] or None timers = Timer . objects . filter ( active = active ) perms = context [ 'perms' ] or None # The 'next' parameter is currently not used. return { 'timers' : timers , 'perms' : perms , 'next' : request . path }