MCPcopy Index your code
hub / github.com/encode/django-rest-framework / FILES

Method FILES

rest_framework/request.py:437–444  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

435
436 @property
437 def FILES(self):
438 # Leave this one alone for backwards compat with Django's request.FILES
439 # Different from the other two cases, which are not valid property
440 # names on the WSGIRequest class.
441 if not _hasattr(self, '_files'):
442 with wrap_attributeerrors():
443 self._load_data_and_files()
444 return self._files
445
446 def force_plaintext_errors(self, value):
447 # Hack to allow our exception handler to force choice of

Callers

nothing calls this directly

Calls 3

_load_data_and_filesMethod · 0.95
_hasattrFunction · 0.85
wrap_attributeerrorsFunction · 0.85

Tested by

no test coverage detected