Skip to main content

Management command for creating views of multi-table models

Project description

Copyright (c) 2009,2010 Dennis Kaarsemaker <dennis@kaarsemaker.net> 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 setup.py install Usage: - Add ‘sqlviews’ to INSTALLED_APPS - Run: ./manage.py sqlviews <appname>

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

Project details


Release history Release notifications

This version
History Node

1.0

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
django-sqlviews-1.0.tar.gz (3.6 kB) Copy SHA256 hash SHA256 Source None Oct 1, 2012

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page