mirror of
https://github.com/jazzband/django-constance.git
synced 2026-04-12 11:11:06 +00:00
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 |
||
|---|---|---|
| .. | ||
| backends | ||
| locale | ||
| management | ||
| templates/admin/constance | ||
| test | ||
| __init__.py | ||
| admin.py | ||
| apps.py | ||
| base.py | ||
| context_processors.py | ||
| settings.py | ||
| signals.py | ||
| utils.py | ||