On 6-7-2012 17:14, Fabiano Martins wrote:
> My idea was centralize the validation in the Model to allow use it on
> several clients besides the primary Web page (such as a batch program, a
> web service, etc.)
Yes, and normally the clean() method is the right method, but ...
> At this moment, the
My idea was centralize the validation in the Model to allow use it on
several clients besides the primary Web page (such as a batch program, a
web service, etc.)
At this moment, the database relationship yet not exists, but the
"memory data relashionship" already exists.
Conceptually I
On 5-7-2012 21:46, Fabiano Martins wrote:
> I'm novice on Django, and I have a problem that I can't resolve through
> documentation.
>
> I like to make a validation on Model.clear() of the master class method based
> on
> data of your detail classes, but it returns always a empty set.
>
>
Hi,
I'm novice on Django, and I have a problem that I can't resolve
through documentation.
I like to make a validation on Model.clear() of the master class
method based on data of your detail classes, but it returns always a
empty set.
This example
4 matches
Mail list logo