Sent: Monday, January 11, 2010 9:27 PM
Subject: Re: Form Validation in Admin
On Jan 11, 3:24 am, "Sasuke" <zhouj...@gmail.com> wrote:
Hi all,
I'm using the form's clean() method to do validation for models in admin.
The validation we need to do is to make sure there are no more t
On Jan 11, 3:24 am, "Sasuke" wrote:
> Hi all,
> I'm using the form's clean() method to do validation for models in admin. The
> validation we need to do is to make sure there are no more than a certain
> number of items totally submitted. So I calculate the total number of
Hi all,
I'm using the form's clean() method to do validation for models in admin. The
validation we need to do is to make sure there are no more than a certain
number of items totally submitted. So I calculate the total number of items in
the clean() method and check whether it is in the given
On 13 Kwi, 21:10, Alex Gaynor wrote:
> Provide a custom form to the ModelAdmin using the form
> option:http://docs.djangoproject.com/en/dev/ref/contrib/admin/#form
>
> Alex
>
Oh, it's so simple.. :-)
Thank You Alex
regards.
On Mon, Apr 13, 2009 at 2:52 PM, eli wrote:
>
> Hi,
>
> How can I to validate data from form in Django Admin Panel? (like:
> clena_fieldname in form.ModelForm) ?
>
> regards.
> >
>
Provide a custom form to the ModelAdmin using the form option:
Hi,
How can I to validate data from form in Django Admin Panel? (like:
clena_fieldname in form.ModelForm) ?
regards.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send
6 matches
Mail list logo