Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Management command for creating views of multi-table models

Project Description

Copyright (c) 2009,2010 Dennis Kaarsemaker <> Management command for creating views of multi-table models

When doing multi-table inheritance, it is somewhat annoying that you constantly need to type INNER JOIN when accessing the data outside the django ORM, for instance in a database shell or with external applications. This management commands makes it easy to create views for these models that are simpler to query.

Install: python install Usage: - Add ‘sqlviews’ to INSTALLED_APPS - Run: ./ sqlviews <appname>

Tested only on MySQL, bugreports or testreports for other databases are welcome.

Release History

This version
History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(3.6 kB) Copy SHA256 Hash SHA256
Source None Oct 1, 2012

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers