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 | |
---|---|---|
.. | ||
django | 2 years ago | |
fastapi | 2 years ago | |
myauth | 2 years ago | |
templates | 3 years ago | |
__init__.py | 4 years ago | |
asgi.py | 3 years ago | |
settings.py | 2 years ago | |
urls.py | 3 years ago | |
utils.py | 3 years ago |