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
Metadata
Release files for Solution 5.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| Solution-5.4.0.tar.gz | 35.7 kB | Without provenance | Details for Solution-5.4.0.tar.gz |
Release files / Solution-5.4.0.tar.gz
| Download URL | Solution-5.4.0.tar.gz |
|---|---|
| Size | 35.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4e866a5056e76692c6cbda191f27ff504cec9d483d353cccd39de0a5873930f4
|
|
BLAKE2b-256 checksum How to use checksums |
71c48db78972616f169cff69bb81c5546dddd21bd617f09d6a9b2d668785eb18
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for Solution 5.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.