django1/django/forms
Jim Bailey 539e3693d4 Fixed #20849 -- ModelForms do not work well with prefetch_related.
model_to_dict() (used when rendering forms) queries the database
to get the list of primary keys for ManyToMany fields. This is
unnecessary if the field queryset has been prefetched, all the
keys are already in memory and can be obtained with a simple
iteration.
2013-11-03 12:27:54 +02:00
..
extras Fixed flake8 E241 2013-11-02 21:45:40 +02:00
__init__.py Fixed #21302 -- Fixed unused imports and import *. 2013-11-02 15:24:56 -04:00
fields.py Merge pull request #1848 from rayashmanjr/master 2013-11-02 12:34:34 -07:00
forms.py More attacking E302 violators 2013-11-02 13:12:09 -07:00
formsets.py More attacking E302 violators 2013-11-02 13:12:09 -07:00
models.py Fixed #20849 -- ModelForms do not work well with prefetch_related. 2013-11-03 12:27:54 +02:00
util.py Removed import * in tests. 2013-10-22 08:32:01 -04:00
utils.py More attacking E302 violators 2013-11-02 13:12:09 -07:00
widgets.py Fixed the remaining E302 violations int eh django package 2013-11-02 17:37:15 -07:00