On Sun, 11 Feb 2007 17:43:44 -0500, johnny <[EMAIL PROTECTED]> wrote:

>
> Can I create the following in newforms:
>
> forms.DateTimeField

yes

> forms.IntegerField

yes

> forms.FloatField

yes

> forms.TextField

try forms.CharField

> forms.LargeTextField

Not directly, but you can assign the Textarea widget to a CharField like  
so:

     foo = forms.CharField(widget = forms.Textarea())

For a list of all the fields available see the tests [1] starting about  
line 775.

[1]:  
http://code.djangoproject.com/browser/django/trunk/tests/regressiontests/forms/tests.py#L775

>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to