forked from applegrew/django-select2
-
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit 8bd7f72
Try to get queryset form choices, if possible (applegrew#509)
Get queryset for model widgets from choices. This omits the need to explicitly supply a queryset or model to the widget.1 parent 6b1ca10 commit 8bd7f72
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
419 | 419 | | |
420 | 420 | | |
421 | 421 | | |
422 | + | ||
423 | + | ||
422 | 424 | | |
423 | 425 | | |
424 | 426 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | - | ||
190 | 189 | | |
191 | 190 | | |
192 | 191 | | |
| |||
198 | 197 | | |
199 | 198 | | |
200 | 199 | | |
201 | - | ||
202 | 200 | | |
203 | 201 | | |
204 | 202 | | |
| |||
0 commit comments