https://github.com/fitzgen/django-query-analyzer
Analyzer of django query
https://github.com/fitzgen/django-query-analyzer
Last synced: over 1 year ago
JSON representation
Analyzer of django query
- Host: GitHub
- URL: https://github.com/fitzgen/django-query-analyzer
- Owner: fitzgen
- Created: 2010-03-02T22:37:05.000Z (over 16 years ago)
- Default Branch: master
- Last Pushed: 2010-03-28T06:27:15.000Z (over 16 years ago)
- Last Synced: 2025-03-17T11:59:40.647Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 248 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Django-Query-Analyzer
=====================
This is the start of the django query analyzer project, a way to introspect the
django ORM.
Installation:
-------------
Required: Django 1.2
$ git clone git://github.com/andymckay/django-query-analyzer.git
$ cd /path/to/your/django/project
$ ln -s /path/to/django-query-analyzer/query_analyzer query_analyzer
add "query_analyzer" to your installed_apps in settings.py
include query_analyzer.urls in your project's urls. eg:
(r'^query/', include("query_analyzer.urls")),
then go to:
http://your.django.site/query/basic/
Misc. Installation Notes
------------------------
The admin application must be enabled the "new" way in urls.py. Use this style:
# ...
(r'^admin/', include(admin.site.urls)),
# ...
and NOT this old way:
# ...
("(r'^admin/(.*)', admin.site.root),")
# ...