Django EAV 2

Django EAV 2 is an entity-attribute-value storage for modern Django. Getting started is very easy.

Step 1. Register a model:

import eav

or with decorators:

from eav.decorators import register_eav

class Supplier(models.Model):

Step 2. Create an attribute:

Attribute.objects.create(name='City', datatype=Attribute.TYPE_TEXT)

Step 3. That’s it! You’re ready to go: = 'London'

# = <EavQuerySet [<Supplier: Supplier object (1)>]>

API Reference

If you are looking for information on a specific function, class, or method, this part of the documentation is for you.

Indices and tables