Changes between Initial Version and Version 1 of Ticket #30256, comment 5
- Timestamp:
- Mar 21, 2019, 12:12:01 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #30256, comment 5
initial v1 5 5 The answer is that the queries are reduced in PostgreSQL and not in SQLite. 6 6 7 I incorporated the debug toolbar in that project and arranged it to use a Postgresql database with [https://github.com/raratiru/autobug/blob/master/autobug/settings.py#L81 those credentials].8 9 I uploaded the `queries*.txt` files which report all the queries from debug toolbar either with their full traceback or only the queries.10 11 I also uploaded a db.json file with all the database contents in json format.12 13 7 Here, I paste the queries for the url http://127.0.0.1:8000/admin/inl/child3/1/change/. 14 15 The url http://127.0.0.1:8000/admin/inl/master/1/change/ has many more queries because it includes all other models as inlines.16 8 17 9 [https://github.com/raratiru/autobug/blob/master/queries_only_django-autocomplete.txt The queries]: … … 38 30 39 31 The complete traceback cam be found in [https://github.com/raratiru/autobug/blob/master/queries_django-autocomplete.txt this file]. 32 33 The url http://127.0.0.1:8000/admin/inl/master/1/change/ has many more queries because it includes all other models as inlines. 34 35 There are some additions to my project in order to reproduce easily the above: 36 37 * I incorporated the debug toolbar in that project and arranged it to use a Postgresql database with [https://github.com/raratiru/autobug/blob/master/autobug/settings.py#L81 those credentials]. 38 39 * I uploaded the `queries*.txt` files which report all the queries from debug toolbar either with their full traceback or only the queries. 40 41 * I also uploaded a `db.json` file with all the database contents in json format.