django-select2/tests
Johannes Hoppe f31beec0c4
Add support for custom to_field names for foreign keys (#486)
Django's ForeignKey supports custom to_fields. The to field is the
primary key by default, but can be modified. The to field is also
used by forms to reduce database lookups.

This patch add support for custom to_field names on both model or
form layer.
2018-06-30 14:56:32 +02:00
..
testapp Add support for custom to_field names for foreign keys (#486) 2018-06-30 14:56:32 +02:00
__init__.py Drop Python 2 support 2017-11-25 18:56:46 +01:00
conftest.py Drop Python 2 support 2017-11-25 18:56:46 +01:00
test_cache.py Drop Python 2 support 2017-11-25 18:56:46 +01:00
test_forms.py Add support for custom to_field names for foreign keys (#486) 2018-06-30 14:56:32 +02:00
test_views.py Drop Python 2 support 2017-11-25 18:56:46 +01:00