Re: stackedinline admin form-set collapse

2010-03-01 Thread Josh Kersey
I'm using Django 1.1.1 and have accomplished this using jQuery. Here's a simplified version of what I write to override the admin change_form template for the targeted app. I put this at //templates/admin///change_form.html: {% extends "admin/change_form.html" %} {% block extrahead %}{{ block.su

stackedinline admin form-set collapse

2010-03-01 Thread Simon Davies
Is there a way to collapse the stacked inline form-sets in the admin app, a parameter I can define in admin.py for inline class. Ideally this would work so I could have extra=1, which would give me the functionality of clicking to open the form to add another object. Thanks Simon -- You receiv