Skip to content

multmeio/django-hstore-flattenfields

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
doc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

Django with dynamic fields in hstore

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •