Hi,

Is there any way in Django to limit validation to a subset of a
model's fields?  What I'm looking for is an equivalent to Struts
validator's 'page' attribute, which lets one specify that elements a,
b, and c are on page 1 (and should be validated there), whereas
elements d, e, and f are on page 2 (and should be validated there) --
allowing one to split a form into separate pages.

The use case for this is a long registration process, where different
data points from individual models are split across multiple pages.
The application needs to save data collected after every step, so the
user doesn't have to start from scratch if they leave the site and
return later.  As a silly example, let's say that name is collected on
page 1, phone # on page 2.  Both are required and both live in a
'person' table -- and I want to save the model after page 1.

Thanks,
-Ollie

Reply via email to