Skip to main content
Important steps:
* include 'validation_extended' in yours INSTALLED_APPS
* read docstrings from validation_extended.validation


Package features:
- Turns form validation represent like so:
# forms.py
from validation_extended import AutoValidated

class SomeForm(AutoValidated, django.forms.ModelForm): # or django.forms.Form as base class
class Meta:
model = SomeModel

class Validators:
class RequiresAll:
foo = [foo_validator]
bar = [bar_validator]
baz = [baz_validator(5)]

- Forms can make rules for jquery.validate if form class was inherited from ClientValidation
and all validators were inherited from Validator class and written like so:
# validators.py
from validation_extended import Validator

class SimpleValidator(Validator):
message = "simple validator error"
client_events = "focusout keyup"
data = {'values': [1, 2, 3]}

def js_rules(self):
pass

def validated(self, field_name, data):
if not data in self.data['values']:
self.raise_error()

- It also provide remote validation. To use it include next lines in your urls.py:
# urls.py
urlpatterns += patterns(
url(r'^validation/', include('validation_extended.urls')))

Metadata

Release files for django-extended-forms-validation 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-extended-forms-validation 1.1.0
File Size Uploaded Provenance Actions
django-extended-forms-validation-1.1.0.tar.gz 7.8 kB Without provenance Details for django-extended-forms-validation-1.1.0.tar.gz

Release files / django-extended-forms-validation-1.1.0.tar.gz

Download URL django-extended-forms-validation-1.1.0.tar.gz
Size 7.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9b6ce78553992a32fc9f16849e0749cfb86525d04b51fd3b68d036a2f7b581ea
BLAKE2b-256 checksum
How to use checksums
fb46bd81bf30f3dfca756ba501bbd39fc98b88f74aed6a887f7d389443e83bc7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-extended-forms-validation 1.1.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.

Release history Release notifications | RSS feed

This release

1.1.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page