List Info

Thread: Re: form_for_instance and form argument, empty form?




Re: form_for_instance and form argument, empty form?
country flaguser name
France
2007-11-07 09:05:19
RajeshD a écrit :
>
> On Nov 7, 9:42 am, David Larlet <lar...gmail.com> wrote:
>   
>> I thought that it was more appropriated to post it
on the devlist
>> because it sounds like a bug but ok let's move it
on the userlist, sorry
>> for the noise here. I'll be glad to hear your
solution.
>>     
>
> Paste here your FooForm and Foo model code that doesn't
work for you.
>   

class Foo(models.Model):
    title = models.CharField(_("Title"),
core=True, maxlength=100)

class FooForm(forms.Form):
    title = forms.CharField(label = _("Title"))

Here they are.

David


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )