1 Entities and Attributes
2 =======================
4 .. automodule:: philo.models.base
6 One of the core concepts in Philo is the relationship between the :class:`Entity` and :class:`Attribute` classes. :class:`Attribute`\ s represent an arbitrary key/value pair by having one :class:`GenericForeignKey` to an :class:`Entity` and another to an :class:`AttributeValue`.
12 .. autoclass:: Attribute
15 .. autoclass:: AttributeValue
18 .. automodule:: philo.models.base
19 :members: attribute_value_limiter
21 .. autoclass:: JSONValue
24 .. autoclass:: ForeignKeyValue
27 .. autoclass:: ManyToManyValue
30 .. automodule:: philo.models.base
32 :members: value_content_type_limiter
34 .. autofunction:: register_value_model(model)
35 .. autofunction:: unregister_value_model(model)
42 :exclude-members: attribute_set
44 .. autoclass:: TreeManager
47 .. autoclass:: TreeEntity
50 :exclude-members: attribute_set
52 .. attribute:: objects
54 An instance of :class:`TreeManager`.
56 .. automethod:: get_path