Correctly display and roundtrip initial data of ModelChoiceField

Issue #1 resolved
Former user created an issue

Here is a small patch intended for two purposes: 1. Correctly roundtrip initial data by populating the hidden field, in case a form is edited and submitted without touching the ACWidget. 2. Correctly display initial data in the case of a ModelChoiceField, where the initial data is a primary key, but the initial display should show a label, not the primary key itself. Hope this helps. And thanks for your package! It's already a great improvement to my project. --Paul Dexter

Comments (2)

  1. Log in to comment