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)
44 .. autoclass:: TreeManager
47 .. autoclass:: TreeEntity
51 .. attribute:: objects
53 An instance of :class:`TreeManager`.
55 .. automethod:: get_path