On Mon, Aug 31, 2009 at 12:13 AM, buttman wrote:
>
> class MyForm(ModelForm):
> field1 = CustomField(custom_option="sdsdsd")
> field2 = CustomField(custom_option="sdsdsd")
> field3 = CustomField(custom_option="sdsdsd")
> #
>
> class Meta:
> model = MyModel
> exclu
class MyForm(ModelForm):
field1 = CustomField(custom_option="sdsdsd")
field2 = CustomField(custom_option="sdsdsd")
field3 = CustomField(custom_option="sdsdsd")
#
class Meta:
model = MyModel
exclude = ('some_field')
class AnotherForm(MyForm):
field1 =
On Aug 31, 12:08 am, nbv4 wrote:
> class MyForm(ModelForm):
> field1 = CustomField(custom_option="sdsdsd")
> field2 = # ...
> #
>
> class Meta:
>
> class AnotherForm(MyForm):
sorry, I accidently pressed tab + space which prematurely submitted
the messgae... I will add the re
class MyForm(ModelForm):
field1 = CustomField(custom_option="sdsdsd")
field2 = # ...
#
class Meta:
class AnotherForm(MyForm):
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" gr
4 matches
Mail list logo