Thank you Daniel, it works for me. ;)
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
To post to this group, send emai
On Friday, January 21, 2011 11:58:36 PM UTC, jonas wrote:
>
> Hello,
>
> I'm creating a subset of a ModelForm.
>
> class FavArtistForm(ModelForm):
> class Meta:
> model = FavArtist
> fields = ('artist',)
> widgets = {
> 'artist': CharField(),
> }
Hello,
I'm creating a subset of a ModelForm.
class FavArtistForm(ModelForm):
class Meta:
model = FavArtist
fields = ('artist',)
widgets = {
'artist': CharField(),
}
The field artist is of the type ForeignKey which is by default repres
3 matches
Mail list logo