{% extends "base.html" %} {% block title %}Inline Formset using Autocomplete{% endblock %} {% block extrahead %} {{ formset.media }} {% endblock %} {% block content %}
This autocomplete example is supposed to show one possible use for the optional "added" and "removed" callbacks. I know it's not user-friendly to select a product name and have a strange number "magically" appear -- believe me, I wouldn't do that in production code :)
The original code I extracted this from was a bit more complicated (it allowed users specify search criteria used to create ad-hoc groups). Rather than use that, I decided to base this on the inline formset example.
{% endblock %}