This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Formsets are a Django abstraction that make it easier to manage multiple instances of a single Form on a page. In 2009 I wrote a blog post about using nesting formsets using Django 1.1. This is a generic implementation of the technique described there, targeting Django 1.6 and later. A follow-up blog post provides additional context.

Note that I do not advocate the use of nested Formsets: in every case I’ve considered them, they’ve led to usability issues and overly complex view code. This repository was created as an exercise in test driven development and abstraction.

Your mileage may vary.

Installing

You can install Django Nested Formsets using your favorite package management tool. For example:

$ pip install django-nested-formset

You can also install the latest development version:

$ pip install git+https://github.com/nyergler/nested-formset#egg=django-nested-formset

After installing the package, you can use the nestedformset_factory function to create your formset class.

Developing

If you’d like to work on the source, I suggest cloning the repository and creating a virtualenv.

$ cd nested-formset
$ virtualenv .
$ source bin/activate
$ python setup.py develop

The last line will install the installation and test dependencies.

To run the unit test suite, run the following:

$ python setup.py test

See Also

License

This package is released under a BSD style license. See LICENSE for details.

News

0.1.4

Release date: 7 March 2015

  • Dropped Django 1.5.x support; it’s no longer receiving security updates or maintenance.
  • Updated accepted factory kwargs for Django 1.7 and later
  • Fixed builds against Django tip.

0.1.3

Release date: 28 September 2014

  • Test against Django 1.7-final
  • has_changed now takes into account all nested forms.

0.1.2

Release date: 20 May 2014

  • Support for passing files to bound nested formsets
  • The media property now rolls up all nested media
  • Compatibility with Django 1.7.

0.1.1

Release date: 6 March 2014

  • Bump minor version number to get PyPI to index the development version link.

0.1

Release date: 6 March 2014

  • Initial release on PyPI
Release History

Release History

0.1.4

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.3

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-nested-formset-0.1.4.tar.gz (9.6 kB) Copy SHA256 Checksum SHA256 Source Mar 8, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development 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