/usr/lib/python2.7/dist-packages/treebeard/templatetags/__init__.py is in python-django-treebeard 2.0~beta1-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 | from django.template import Variable
action_form_var = Variable('action_form')
def needs_checkboxes(context):
return action_form_var.resolve(context) is not None
|