Hello, I'm using https://github.com/jeremyjbowers/django-autocomplete to use inline-admin autocomplete.
The problem occurs when I add another inline.... the name of the input doesnt have the number of the row, it have --prefix--.instead. I'm using the id to capture events with javascript, so I need each one to have the id with the row number. Any idea why its doing that? the template of the widget is: <input type="text" id="lookup_{{ name }}" value="{{ label }}" style="display:none;" /> <a href="{{ related_url }}{{ url }}" class="related-lookup" id="lookup_id_{{ name }}" onclick="return showRelatedObjectLookupPopup(this);"> <img src="/static/admin/img/selector-search.gif" width="16" height="16" alt="{% trans "Lookup" %}" /> </a> So I think the {{name}} tag is not rendering..... as it seen on the picture attached. any help is welcome -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/Oc0zfWsEV7MJ. 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.
<<attachment: Pantallazo.png>>