Skip to content

fitzgen/django-query-analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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),")
    # ...

About

Analyzer of django query

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages