Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

===============================
Solution
===============================

.. image:: https://badge.fury.io/py/Solution.png
:target: http://badge.fury.io/py/Solution

.. image:: https://travis-ci.org/jpscaletti/solution.png?branch=master
:target: https://travis-ci.org/jpscaletti/solution

.. image:: https://pypip.in/d/Solution/badge.png
:target: https://crate.io/packages/Solution?version=latest


An amazing form solution


Features
====================================

* Return validated data as dictionaries or create/update a linked model and child models.
* Sub-forms and form sets
* Extremely flexible in the field representation (defaulting to an HTML representation that might be good enough).
* Easy individual field or form-wide validators.
* Customizable cleanup functions.



______

:copyright: `Juan-Pablo Scaletti <http://jpscaletti.com>`_.
:license: MIT, see LICENSE for more details.


.. :changelog:

=============
History
=============

2.x
+++++++++++++++++++++++++++++++++++++

* Selects (and MultiSelects) can take groups of items and render them as ``<optgroup>`` or ``<fieldset>``.

* The ``clean`` and `vprepare`` methods of a field can now be defined as a form method with the signature ``clean_fieldname(py_value, **kwargs)`` and ``prepare_fieldname(obj_value, **kwargs)``.

* Added ``prepare`` and ``clean`` methods to the form so a user can overwrite them to store there the logic of pre and post-processing the data, keeping that logic in the form itself instead of in a view.

* Several bugfixes

Download files

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

Source Distribution

Solution-5.4.0.tar.gz (35.7 kB view details)

Uploaded Source

File details

Details for the file Solution-5.4.0.tar.gz.

File metadata

  • Download URL: Solution-5.4.0.tar.gz
  • Upload date:
  • Size: 35.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Solution-5.4.0.tar.gz
Algorithm Hash digest
SHA256 4e866a5056e76692c6cbda191f27ff504cec9d483d353cccd39de0a5873930f4
MD5 c1e2a918745e099482c99a434fbabb05
BLAKE2b-256 71c48db78972616f169cff69bb81c5546dddd21bd617f09d6a9b2d668785eb18

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

5.4.0 This release

1 file

5.3.7

1 file

5.3.6

1 file

5.3.5

1 file

5.3.4

1 file

5.3.3

1 file

5.3.2

1 file

5.3.1

1 file

5.3.0

1 file

5.2.8

1 file

5.2.6

1 file

5.2.5

1 file

5.2.4

1 file

5.2.1

1 file

5.2.0

1 file

5.1.1

1 file

5.1.0

1 file

5.0.4

1 file

5.0.3

1 file

5.0.2

1 file

5.0.1

1 file

5.0.0

1 file

4.0.1

1 file

4.0.0

1 file

3.0.18

1 file

3.0.17

1 file

3.0.16

1 file

3.0.13

1 file

3.0.12

1 file

3.0.11

1 file

3.0.10

1 file

3.0.9

1 file

3.0.8

1 file

3.0.7

1 file

3.0.6

1 file

3.0.5

1 file

3.0.4

1 file

3.0.3

1 file

3.0.2

1 file

3.0.1

1 file

3.0.0

1 file

2.10.0

1 file

2.9.5

1 file

2.9.4

1 file

2.9.3

1 file

2.9.2

1 file

2.9.1

1 file

2.9.0

1 file

2.8

1 file

2.7.5

1 file

2.7.4

1 file

2.7.3

1 file

2.7.2

1 file

2.7.1

1 file

2.6.2

1 file

2.6.1

1 file

2.6.0

1 file

2.5.3

1 file

2.5.2

1 file

2.5.1

1 file

2.4.9

1 file

2.4.8

1 file

2.4.7

1 file

2.4.5

1 file

2.4.4

1 file

2.4.3

1 file

2.4.2

1 file

2.4.1

1 file

2.4.0

1 file

2.3.9

1 file

2.3.8

1 file

2.3.7

1 file

2.3.6

1 file

2.3.5

1 file

2.3.4

1 file

2.3.2

1 file

2.3.1

1 file

2.3

1 file

2.1

1 file

2.0.1

1 file

2.0

1 file

1.6.4

1 file

1.6.3

1 file

1.6.2

1 file

1.6.1

1 file

1.6

1 file

1.5.1

1 file

1.5

1 file

1.4

1 file

1.3

1 file

1.2

1 file

1.1.17

1 file

1.1.16

1 file

1.1.15

1 file

1.1.14

1 file

1.1.12

1 file

1.1.10

1 file

1.1.9

1 file

1.1.8

1 file

1.1.7

1 file

1.1.6

1 file

1.1.5

1 file

1.1.4

1 file

1.1.3

1 file

1.1.1

1 file

1.1.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page