Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Django form extended validation linked to jquery.validate.js

Project Description

Important steps:
* include 'validation_extended' in yours INSTALLED_APPS
* read docstrings from validation_extended.validation

Package features:
- Turns form validation represent like so:
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:
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):

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

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

Release History

This version
History Node


History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(7.8 kB) Copy SHA256 Hash SHA256
Source None Apr 27, 2013

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers