django-constance/constance/backends/database
Jon Dufresne 3a1f8a898b Remove unnecessary calls to dict.keys
iter(dict) is equivalent to iter(dict.keys()). Can simply act on the
dict instead. Provides a more concise, Pythonic syntax and avoids an
unnecessary function call.

Inspired by Lennart Regebro's presentation "Prehistoric Patterns in
Python" at PyCon 2017. Available at:

https://www.youtube.com/watch?v=V5-JH23Vk0I
2017-06-02 10:23:21 +02:00
..
migrations Moved South migrations out of the way and added Django migrations. 2014-11-21 20:21:17 +01:00
south_migrations Moved South migrations out of the way and added Django migrations. 2014-11-21 20:21:17 +01:00
__init__.py Remove unnecessary calls to dict.keys 2017-06-02 10:23:21 +02:00
models.py Added ability to prefix database values. Fixes #24. 2013-02-21 19:27:56 +01:00