MCPcopy
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

Calls

no outgoing calls