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 | RSS feed

This version

1.0

Download files

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

Source Distribution

django-sqlviews-1.0.tar.gz (3.6 kB view details)

Uploaded Source

File details

Details for the file django-sqlviews-1.0.tar.gz.

File metadata

File hashes

Hashes for django-sqlviews-1.0.tar.gz
Algorithm Hash digest
SHA256 b8ff7fd1559e2deffdb892b247d2989dc65a15de46b1a3aea00b499eea8b426c
MD5 03e448f3c87b07886381cf33d1a07571
BLAKE2b-256 655ff02db8e866f4831b84707ab95c4c057c517fc84152786f9720ae3fc67fab

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page