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

Method clear_checkbox_name

django/forms/widgets.py:560–565  ·  view source on GitHub ↗

Given the name of the file input, return the name of the clear checkbox input.

(self, name)

Source from the content-addressed store, hash-verified

558 use_fieldset = False
559
560 def clear_checkbox_name(self, name):
561 """
562 Given the name of the file input, return the name of the clear checkbox
563 input.
564 """
565 return name + "-clear"
566
567 def clear_checkbox_id(self, name):
568 """

Callers 3

get_contextMethod · 0.95
value_from_datadictMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected