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
Wad of Stuff Django Views
=========================

A set of view functions and classes to extend the functionality of Django's
generic views to support inlines.

Requirements
============

Django 1.0 or newer.

Functions
=========

wadofstuff.django.views.create_object(..., inlines=None)
--------------------------------------------------------
wadofstuff.django.views.update_object(..., inlines=None)
--------------------------------------------------------

These functions are identical to the Django ones except for the addition of the
`inlines` argument. This argument consists of a list of dictionaries that will
be passed as arguments after the `parent_model` argument to
`inlineformset_factory(parent_model, ...)`.

For example, arguments to a generic view might typically look like:

crud_dict = {
'model':Author
'inlines':[{
'model':Book,
'extra':2,
'form':BookForm,
},{
'model':Article,
}],
# ... other generic view arguments
}

would translate to calls to `inlineformset_factory()` like:

inlineformset_factory(Author, model=Book, extra=2, form=BookForm)

and

inlineformset_factory(Author, model=Article)

The view function will create a formset for each inline model and add them to
the template context. In the example above the context variables would be named
`book_formset` and `article_formset`.

What's new
==========

Version 1.0.1:

- Added ability to import views from wadofstuff.django.views.

Version 1.0.0:

- First public release.
Release History

Release History

1.0.1

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

1.0.0

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

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