Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A compound field for Django

Project Description
== django compound field ==

This addon allows you to define compound fields, e.g.

{{{
class AddressField(CompoundField):
phone = models.CharField(max_length=30)
mobile = models.CharField(max_length=30)
fax = models.CharField(max_length=30)
email = models.EmailField()
}}}

compound fields have no representation in the database, they just contribute the fields one by one to their carrier model.

== KNOWN BUGS ==

* you cannot nest compound fields (because the metaclass collects only Fields, and a CompoundField is not a Field)

* you cannot assign the whole compound field during keyword based creation.

* the fields in the carrier model are added out-of-order at the end.
Release History

Release History

This version
History Node

0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django_compound_field-0.1-py2.6.egg (5.5 kB) Copy SHA256 Checksum SHA256 2.6 Egg Mar 9, 2010
django-compound-field-0.1.tar.gz (3.7 kB) Copy SHA256 Checksum SHA256 Source Mar 9, 2010

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting