Is it possible to make a model's properties available in a form which are
created as described at
http://www.djangoproject.com/documentation/models/properties/?
For example the following model form does not display any widgets for
full_name and full_name2:
class PersonForm(forms.ModelForm):
class Meta:
model = Person
Adding full_name and full_name2 to the model form doesn't help either as
the variables are not bound to the properties:
class PersonForm(forms.ModelForm):
full_name = forms.CharField()
full_name2 = forms.CharField()
class Meta:
model = Person
Any ideas? Or is it impossible?
Boris
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.