the first `if` call did execute the whole `select` query with (perhaps) millions of records in them, even though the only result needed here is one record. The acually used queryset later will be filtered by the parent-model. |
||
|---|---|---|
| .. | ||
| locale | ||
| static/adminsortable | ||
| templates/adminsortable | ||
| templatetags | ||
| __init__.py | ||
| admin.py | ||
| fields.py | ||
| models.py | ||
| utils.py | ||