display inlines on top of the model

4 views
Skip to first unread message

Vladimir

unread,
Jul 29, 2008, 3:56:31 AM7/29/08
to Django users
i wuold like to have some inlines on top of the page...

is there a way to enabl a functionality like this

class AdminMultiLanguage(admin.ModelAdmin):
inlines = [LanguageInline]
top_inlines = [OtherInlines]

and then add OtherInlines on the top of the django admin interface...

have you ever heard about smt like this?

Brian Rosner

unread,
Jul 29, 2008, 11:31:58 AM7/29/08
to django...@googlegroups.com

There isn't a way now aside from modifying the template, but you would
have to move all inlines above the model form. However, it can be
customized on a per model basis if you like. post-1.0 will see some
fixes in this area to improve this kind of customization.


--
Brian Rosner
http://oebfare.com

Reply all
Reply to author
Forward
0 new messages