You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, the reason for this is that a huge amount of SQL queries are being done. For example for brasero-common: 11830 queries in 1109.7ms.
This is due to the file and session select boxes. Each entry causes a few lookups in the database due to the __unicode__ implementation.
If you have the debug toolbar enabled, it will do an EXPLAIN query for each regular query, which makes the loading even far far slower than without the toolbar. Especially on SQLite. On my system loading one of the tags took 60s instead of 5s.
The question is how to handle this. For example the file representation does a query to the directory model, in order to show the full path. We could remove this information, but then files cannot really be identified in the admin.
opening a tag in the admin view takes forever, e.g: http://localhost:8000/admin/swid/tag/2213/
@dbrgn can you investigate on this?
The text was updated successfully, but these errors were encountered: