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
20 :members: attribute_value_limiter
22 .. autoclass:: JSONValue
25 .. autoclass:: ForeignKeyValue
28 .. autoclass:: ManyToManyValue
31 .. automodule:: philo.models.base
33 :members: value_content_type_limiter
35 .. autofunction:: register_value_model(model)
36 .. autofunction:: unregister_value_model(model)
43 :exclude-members: attribute_set, get_attribute_mapper
45 .. autoclass:: TreeManager
48 .. autoclass:: TreeEntity
51 :exclude-members: attribute_set, get_attribute_mapper
53 .. attribute:: objects
55 An instance of :class:`TreeManager`.
57 .. automethod:: get_path