django_hstore_flattenfields

Django with dynamic fields in hstore


License
Other
Install
pip install django_hstore_flattenfields==0.8

Documentation

Django-hstore-flattenfields

PyPi version Downloads Coverage Status Code Health Build Status

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:

  • ModelForms
  • *.objects.create()
  • Automatic type parsing
  • QuerySet filters (exact, iexact, contains, icontains, startswith, istartswith, endswith, iendswith, in, lt, lte, gt, gte)
  • Aggregations

Install and usage

Installation

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.

Diagram Application

diagram

Development

Star and follow us!

Fork and clone this repository.

$ git clone git@github.com:<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

Help

Read our documentation. TODO Add contact/help options