You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2f1f95fea9
The way were were doing it was implicitly sorting the query items and it was causing millions of items to be sorted (even though the result should only have one) making it slow. By switching away from `get()` and `first()` we are telling django to not try to sort. |
2 years ago | |
---|---|---|
.. | ||
migrations | 3 years ago | |
token_auth | 3 years ago | |
__init__.py | 3 years ago | |
app_settings_inner.py | 3 years ago | |
apps.py | 3 years ago | |
models.py | 2 years ago | |
signals.py | 3 years ago | |
utils.py | 3 years ago |