MCPcopy Create free account
hub / github.com/django/django / clear_checkbox_id

Method clear_checkbox_id

django/forms/widgets.py:567–571  ·  view source on GitHub ↗

Given the name of the clear checkbox input, return the HTML id for it.

(self, name)

Source from the content-addressed store, hash-verified

565 return name + "-clear"
566
567 def clear_checkbox_id(self, name):
568 """
569 Given the name of the clear checkbox input, return the HTML id for it.
570 """
571 return name + "_id"
572
573 def is_initial(self, value):
574 """

Callers 1

get_contextMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected