When I use a TabularInline class, type text inputs haven't a correct
size, so I'm getting too large lines for input:

 <input id="id_bidon_set-0-nreg_apic" type="text" class="vTextField"
name="bidon_set-0-nreg_apic" maxlength="20" />

How can I add a size attribute to this input?.  I want size to have
the maxlength value.

This is my code:

class BidonInline(admin.TabularInline):
    model = Bidon

class BidonAdmin(admin.ModelAdmin):
    inlines = [
        BidonInline,
    ]

-- lm
--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to