2009/5/11 Julián C. Pérez
>
> anyone??
> pleeease??
> :D
>
> On 10 mayo, 09:15, Julián C. Pérez wrote:
> > anyone?? any help??
> > :)
> >
>
Please stop doing this. Cluttering an already high-traffic list with daily
"please help" notes isn't of any use to anyone. If someone had time to
help, t
anyone??
pleeease??
:D
On 10 mayo, 09:15, Julián C. Pérez wrote:
> anyone?? any help??
> :)
>
> > hi all
> > something like this had already been
> > reported:http://code.djangoproject.com/ticket/6138
>
> > i tried sean's solutions but nothing happens...
> > stand by...
> > ;)
>
> > On May 8, 7
anyone?? any help??
:)
> hi all
> something like this had already been
> reported:http://code.djangoproject.com/ticket/6138
>
> i tried sean's solutions but nothing happens...
> stand by...
> ;)
>
> On May 8, 7:25 pm, Julián C. Pérez wrote:
>
> > thank you,s ean
> > i will try
> > ahh one thing
hi all
something like this had already been reported:
http://code.djangoproject.com/ticket/6138
i tried sean's solutions but nothing happens...
stand by...
;)
On May 8, 7:25 pm, Julián C. Pérez wrote:
> thank you,s ean
> i will try
> ahh one thing i'd like to comment...
> when creating an Profi
thank you,s ean
i will try
ahh one thing i'd like to comment...
when creating an ProfileForm object I even give it the class as an
argument like this:
...
profile, created = Profile.objects.get_or_create(user=request.user)
myProfileForm = ProfileForm(request.POST, instance=profile,
error_class=Div
Try this, not tested but it might work.
class ProfileForm(forms.ModelForm):
def __init__(self, *args, **kwargs):
self.error_class = DivErrorList
super(ProfileForm, self).__init__(*args, **kwargs)
class Meta:
model = P
exclude = ('date', 'user', 'public')
hi everyone
me again...
i need some help
i want to change the error_class in a modlefrom instance
the class looks like this:
# in a models.py file
1 .class ProfileForm(forms.ModelForm):
2.
3. error_class = DivErrorList
4.
5. class Meta:
6. model = P
7. exclude
7 matches
Mail list logo