MCPcopy Create free account
hub / github.com/MongoEngine/mongoengine / Event

Class Event

tests/queryset/test_geo.py:13–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11 """Create some sample data re-used in many of the tests below."""
12
13 class Event(Document):
14 title = StringField()
15 date = DateTimeField()
16 location = point_field_class()
17
18 def __unicode__(self):
19 return self.title
20
21 self.Event = Event
22

Callers 1

_test_embeddedMethod · 0.70

Calls 3

StringFieldClass · 0.85
DateTimeFieldClass · 0.85

Tested by 1

_test_embeddedMethod · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…