Django-hstore-flattenfields is an alternative for who want to have a Dynamic Scheme in Django without rely on a NoSQL database. Django-hstore-flattenfields add "dynamic fields" in Django Models, using the Hstore extension built in the PostgreSQL v9.1+. This way you can quickly add new fields in a Model, with some great features.
Django-hstore-flattenfields is built and used in the Multmeio enterprise.
Some great features are:
- Automatic type parsing
- QuerySet filters (exact, iexact, contains, icontains, startswith, istartswith, endswith, iendswith, in, lt, lte, gt, gte)
Install and usage
Install django-hstore-flattenfields with pip:
$ pip install django-hstore-flattenfields
You're done! django-hstore-flattenfields is ready to use! ;)
Usage and example
For a full example click here.
Star and follow us!
Fork and clone this repository.
$ git clone firstname.lastname@example.org:<username>/django-hstore-flattenfields.git
Change <username> to your GitHub account.
Cd into django-hstore-flattenfields directory and install it's dependencies:
$ cd django-hstore-flattenfields/ $ pip install -r requirements.txt
Now start pushing! :D
Read our documentation. TODO Add contact/help options