Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Django admin.TabularInline auto insert three blank row

I am using Tabularline for one of the admin page.

When loaded, it will automatically loaded with 3 empty rows.

How can I prevent it?

like image 778
kelvinfix Avatar asked Apr 20 '11 14:04

kelvinfix


1 Answers

you can set extra for the inline, which controls how many empty rows are shown.

like image 158
JamesO Avatar answered Oct 20 '22 15:10

JamesO