class NaveInline(admin.TabularInline):model = Navefields = ['codigoNave', 'nave', 'tipoPuesta']ordering = ['codigoNave']extra = 1class GranjaAdmin(admin.ModelAdmin):fieldsets = [(None, {'fields': [('codigoGranja', 'granja'), ('empresa', 'tipoGranja'), ('regimen')]}),('Datos adicionales', {'fields': [('direccion', 'localidad', 'codigoPostal','provincia', 'region', 'pais', 'telefonoPrincipal', 'telefonoMovil','fax', 'email', 'ceence','cea', 'maquina', 'clasificacionZootecnica','formaDeCria', 'notas')], 'classes': ['collapse']}),]inlines = [NaveInline]
. . . . . .
--
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/c21e2ff0-a1d0-4f83-b6c9-bc91a8d1e7e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
According to https://code.djangoproject.com/ticket/15910:Could be that something is invalid and you are not rendering errors in the template?
"When adding a form to an inline formset in the admin interface it has a nice "Remove" link added automatically. These links are however missing from empty rows that have been created as a result from the "extra" option. They are also removed when the form is saved and validation of the form as a whole fails"