Hi there,

I'm trying to override the edit_inline_stacked template so I can  
dynamically add in extra inline data via javascript - similar to
http://www.arnebrodowski.de/blog/507-Add-and-remove-Django-Admin-Inlines-with-JavaScript.html


I can override the change_form admin template, but can't seem to use/ 
override the following line to hook into the inline objects loop
{% for related_object in inline_related_objects %}{% edit_inline  
related_object %}{% endfor %}


If I directly reference a template from the inline, duplicating the  
edit_inline_stacked.html template, I get 'Invalid Block Tag' errors  
for the following two lines
{% field_widget bound_field %}
{% admin_field_line bound_field %}


I'm pretty new to Django, but am enjoying it, however I would like to  
get this working for my own site.

If anyone has any advice, or any other methods of adding/removing data  
dynamically from inlines then I'd really appreciate it!

Cheers
Niall



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to