MCPcopy
hub / github.com/django/django / _assert_mutable

Method _assert_mutable

django/http/request.py:647–649  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

645 self._encoding = value
646
647 def _assert_mutable(self):
648 if not self._mutable:
649 raise AttributeError("This QueryDict instance is immutable")
650
651 def __setitem__(self, key, value):
652 self._assert_mutable()

Callers 9

__setitem__Method · 0.95
__delitem__Method · 0.95
setlistMethod · 0.95
setlistdefaultMethod · 0.95
appendlistMethod · 0.95
popMethod · 0.95
popitemMethod · 0.95
clearMethod · 0.95
setdefaultMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected