Re: Using the ModelAdmin.inlines class, there is no DELETE button

2018-01-16 Thread Matemática A3K
On Tue, Jan 16, 2018 at 6:15 PM, Matemática A3K wrote: > According to https://code.djangoproject.com/ticket/15910: > "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

Re: Using the ModelAdmin.inlines class, there is no DELETE button

2018-01-16 Thread Matemática A3K
According to https://code.djangoproject.com/ticket/15910: "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 remove

Using the ModelAdmin.inlines class, there is no DELETE button

2018-01-13 Thread FernandoJMM
Good Morning, I'm customizing the ModelAdmin class inlines attribute. The code is this. class NaveInline(admin.TabularInline): model = Nave fields = ['codigoNave', 'nave', 'tipoPuesta'] ordering = ['codigoNave'] extra = 1 class GranjaAdmin(admin.ModelAdmin): fieldsets = [