Changes between Initial Version and Version 1 of Ticket #32013, comment 4
- Timestamp:
- Sep 17, 2020, 5:58:31 AM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #32013, comment 4
initial v1 19 19 }}} 20 20 21 or even 22 23 {{{ 24 self.fields["clients"].choices = [(c.pk, c.get_name()) for c in Client.objects.filter(realm=self.realm, active=True)] 25 }}} 26 21 27 Our tests don't complain, but that might just be because we're not covering/asserting deep enough. Can you confirm this code (and other code that manipulates / works with choices) will remain functional? Or should we audit the entire codebase to see this new `ModelChoiceIteratorValue` will break stuff? 22 28