Django with dynamic fields in hstore
Python HTML
Latest commit 09626a6 May 4, 2015 @caitifbrito caitifbrito resolving conflict
Permalink
Failed to load latest commit information.
doc
example
hstore_flattenfields
tests
.coveragerc
.coveralls.yml
.gitignore
.travis.yml
AUTHORS
CONTRIBUTORS.md
LICENSE
README.md
README.rst
fabfile.py
requirements.txt
runtests.py
setup.py

README.md

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