hi, I'm using the forms,and* the code is:*
from django import forms
class dcForm(forms.Form):
"""
"""
TOPIC_CHOICES = ( ('cnccdn', 'cnccdn.com'), ('lxcdns', 'lxcdns.com'),
('wscdns', 'wscdns.com'),)
dnssystem = forms.ChoiceField(choices=TOPIC_CHOICES)
dn = forms.CharField()
cv = forms.CharField()
*the template is:*
<form method="POST" action="." {%if form.is_multipart %}
enctype="multipart/form-data"{% endif %}>
<table border="0" width="1270px"
style="background-color:#ffff99;text-align:top;">
{{ form.as_table }}
the WEB is:
[image: 内嵌图片 1]
*I want to replace the "Dnssystem, Dn, Cv" to "dnssystem, dn, cv".*
How to solve it?
Thank you
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
<<未命名.jpg>>

