Skip to main content

Provides a familiar interface for using Fluidinfo within Django projects

Project description

(c) FluidInfo 2011 dev@fluidinfo.com

License: New BSD License

Bridging Django to Fluidinfo with FOM

The purpose of this package is to make it easy to use FOM to define models for Django based applications that need to make use of Fluidinfo as their database backend (instead of a traditional relational database).

To read the full documentation make sure you have Sphinx installed, change to the doc directory and type:

make html

Alternatively, you can view the documentation online here:

http://packages.python.org/django-fluidinfo/

How..?

It works by wrapping the FOM based classes in Django-esque classes so you can do the following:

from django_fluidinfo import models

class foo(models.Model):
    bar = models.CharField('test/namespace/bar_tag')
    baz = models.IntegerField('test/namespace/baz_tag')

These models can then be used with specially created ModelForms that function in a similar fashion to the traditional Django ModelForms:

from django_fluidinfo.forms import ModelForm

class FooForm(ModelForm):
    class Meta:
            model = Foo

Take a look in the django_fluidinfo/tests.py file for example usage. Expect more comprehensive documentation very soon.

While this doesn’t reflect the dynamic nature of Fluidinfo’s schema I’d like to point out that my aim is to give Djangonaughts a familiar “no brainer” route to using Fluidinfo.

I expect them to dig into FOM once they grok what Fluidinfo is about. ;-)

Comments and feedback most welcome!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

django-fluidinfo-0.2.1.zip (8.9 kB view details)

Uploaded Source

django-fluidinfo-0.2.1.tar.gz (6.4 kB view details)

Uploaded Source

File details

Details for the file django-fluidinfo-0.2.1.zip.

File metadata

File hashes

Hashes for django-fluidinfo-0.2.1.zip
Algorithm Hash digest
SHA256 8f9877f842ad3c11d8c98c72679d8086b542bcb39ee396a8f42f92d47ef096f6
MD5 ebdda3719b5cea1764bfe3525a3f7d7f
BLAKE2b-256 2218718686b10d3d05881933b7a624c937981dea4ee0ca3ca2f986a194ef6361

See more details on using hashes here.

File details

Details for the file django-fluidinfo-0.2.1.tar.gz.

File metadata

File hashes

Hashes for django-fluidinfo-0.2.1.tar.gz
Algorithm Hash digest
SHA256 510728609adbcbf86f646fcd0436eddd9fd806f464adcfb5b87b16bdf3d3b4a5
MD5 ba543c6f62580684656c3c5d887fcd1f
BLAKE2b-256 3a3db386355d62934ed7d0be166d4993fff01394c281153ed1eae94f517af2f5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page