MCPcopy Index your code
hub / github.com/MongoEngine/mongoengine / DemoFile

Class DemoFile

tests/fields/test_file_field.py:45–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43 def test_file_field_optional(self):
44 # Make sure FileField is optional and not required
45 class DemoFile(Document):
46 the_file = FileField()
47
48 DemoFile.objects.create()
49

Callers

nothing calls this directly

Calls 1

FileFieldClass · 0.85

Tested by

no test coverage detected