kelp
unread,Apr 4, 2011, 1:37:44 PM4/4/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
Hello,
I have a form set up in the following way:
from django.db import models
from django import forms
class ContactForm(forms.Form):
subject = forms.CharField(max_length=100)
message = forms.CharField(widget=forms.Textarea)
sender = forms.EmailField()
cc_myself = forms.BooleanField(required=False)
On my local machine, the "message" actually displays as a textarea,
but on my remote server, the "message" displays as a text input. I am
using Django version 1.2.3 on my local server and 1.2.5 on my remote
server. Yes, I am sure that this file is identical on both servers.
I am displaying the field with a simple: {{ form.message }}
Why does it display differently?
Thanks!