mirror of
https://github.com/jazzband/django-eav2.git
synced 2026-03-16 22:40:26 +00:00
Readme tweak
This commit is contained in:
parent
d669a6fdaa
commit
f889f89dcb
1 changed files with 0 additions and 2 deletions
|
|
@ -39,7 +39,6 @@ model with eav::
|
|||
|
||||
Create some attributes
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
::
|
||||
|
||||
>>> from eav.models import Attribute
|
||||
>>> Attribute.objects.create(name='Weight', datatype=Attribute.TYPE_FLOAT)
|
||||
|
|
@ -64,7 +63,6 @@ Assign eav values
|
|||
|
||||
Filter on eav values
|
||||
~~~~~~~~~~~~~~~~~~~~
|
||||
::
|
||||
|
||||
>>> MyModel.objects.filter(eav__weight=15.4)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue