1 Entities and Attributes
2 =======================
4 .. module:: 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
31 :members: value_content_type_limiter
33 .. autofunction:: register_value_model(model)
34 .. autofunction:: unregister_value_model(model)
41 :exclude-members: attribute_set
43 .. autoclass:: TreeManager
46 .. autoclass:: TreeEntity
48 :exclude-members: attribute_set
50 .. attribute:: objects
52 An instance of :class:`TreeManager`.
54 .. automethod:: get_path