home / django_tickets / tickets

tickets: 6075

This data as json

id created changetime last_pulled_from_trac stage status component type severity version resolution summary description owner reporter keywords easy has_patch needs_better_patch needs_tests needs_docs ui_ux
6075 2007-12-01 12:46:05 2008-06-11 03:58:01 2022-03-06 03:36:10.700150 Accepted closed contrib.admin     newforms-admin fixed max_num, etc. for inline models in newforms-admin The max_num feature is missing in the newforms-admin branch. When you add max_num to your Child_Inline max_num doesn't do anything. {{{ from django.contrib import admin class Child_Inline(admin.TabularInline): model = Child extra = 3 max_num = 5 }}} I looked at the code in {{{ django/contrib/admin/options.py }}} and it seems that there is no max_num feature there. I added a patch with the missing functionality. I'm not sure if it's the best way to do it, especially the line with apply in it. brosner yserrano nfa-blocker 0 1 1 1 1 0
Powered by Datasette · Queries took 1.203ms