Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/django/django
/ open
Method
open
tests/model_fields/models.py:295–297 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
293
super().__init__(*args, **kwargs)
294
295
def
open(self):
296
self.was_opened = True
297
super().open()
298
299
class
TestImageField(models.ImageField):
300
attr_class = TestImageFieldFile
Callers
15
opener
Method · 0.45
test_multiple_calls
Method · 0.45
test_bug_19457
Method · 0.45
test_file_access_options
Method · 0.45
test_file_save_with_path
Method · 0.45
test_file_storage_preserves_filename_case
Method · 0.45
test_makedirs_race_handling
Method · 0.45
test_file_methods_pathlib_path
Method · 0.45
test_save_overwrite_behavior
Method · 0.45
test_save_overwrite_behavior_truncate
Method · 0.45
test_save_overwrite_behavior_temp_file
Method · 0.45
test_custom_storage_discarding_empty_content
Method · 0.45
Calls
no outgoing calls
Tested by
15
opener
Method · 0.36
test_multiple_calls
Method · 0.36
test_bug_19457
Method · 0.36
test_file_access_options
Method · 0.36
test_file_save_with_path
Method · 0.36
test_file_storage_preserves_filename_case
Method · 0.36
test_makedirs_race_handling
Method · 0.36
test_file_methods_pathlib_path
Method · 0.36
test_save_overwrite_behavior
Method · 0.36
test_save_overwrite_behavior_truncate
Method · 0.36
test_save_overwrite_behavior_temp_file
Method · 0.36
test_custom_storage_discarding_empty_content
Method · 0.36