Hello all:

I am new to Django, and have what I hope is a simple question.
 in my model:
class DESubscription(models.Model):
    SubscriptionIssuedGUID =
models.CharField(max_length=36,unique=True,default=make_model_uuid)

in my view:

class AddSubscriptionForm(ModelForm):
    class Meta:
        model = DESubscription
        fields = ('SubscriptionIssuedGUID')

In my template:

<div align="left">
    Build new subscripton&nbsp{{ strExtraPrompt }}<br>
        <form action="/AddSubscription/" method="post">{% csrf_token
%}
        {% for field in form %}
            {{ field.label_tag}}: {{ field }}
            {% if field.errors %}
                {{ field.errors }}
            {% endif %}<br>
        {% endfor %}
        <br>
        <input type="submit" value="Build" />
        <input type="submit" name="Cancel" value="Cancel" />
        </form>
</div>

My question:

How do i get the browser to display a field large enough for 36 chars.
I get a text area that is about 1/2 the size of the input/

Thanks for any assistance.

Richard

-- 
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.

Reply via email to