Further investigation indicates that the template engine is simply failing to include/render the template for the inline -- i.e. the following line is reached but is producing nothing:
{% include inline_admin_formset.opts.template %} I've checked the value of inline_admin_formset.opts.template (admin/ edit_inline/tabular.html) and that the file exists and has global read permissions. Does that help at all with the diagnosis? On Aug 15, 11:52 am, Nan <ringe...@gmail.com> wrote: > Yes, the ModelAdmins are declared in a separate admin.py. Just tried > the import on the command line and got no import errors. > > The admin and the rest of the app are otherwise running just fine, btw > -- it's just that one inline that's not showing up at all (and then > because it's not output to the browser the ModelFormSet throws a > ValidationError: [u'ManagementForm data is missing or has been > tampered with'] when we try to save the Ticket.) > > Thanks for your suggestions! > > On Aug 15, 11:29 am, Reinout van Rees <rein...@vanrees.org> wrote: > > > > > > > > > On 15-08-11 16:18, Nan wrote: > > > > I'm having a problem with admin inlines on a particular model suddenly > > > not showing up, even though they were working previously. Oddly, > > > they're working just fine on the exact same code in staging (granted, > > > on a somewhat different server setup) but not in production. > > > > The only changes I've made between versions are to wrap any help text > > > for each model field in ugettext_lazy. > > > My guess is that there is an import error somehow in the admin.py > > (assuming you've put that in a different file from your models.py). > > > So could you try importing "yourproject.admin" from "manage.py shell"? > > > Reinout > > > -- > > Reinout van Rees http://reinout.vanrees.org/ > > rein...@vanrees.org http://www.nelen-schuurmans.nl/ > > "If you're not sure what to do, make something. -- Paul Graham" -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.