Skip to main content

experimental application for making table prefixes fortables that django creates

Project description

===========
Django table prefix
===========

django-table-prefix provides experimental ability to set your own
database table prefixes for django project this app is included in
Include this app into your project's settings.py, provide table prefix
name and list of models (optional) for ommiting prefix usage::

INSTALLED_APPS = (
... # your regular stuff
'table_prefix',
)

# table prefix name
DB_PREFIX = 'nifty_prefix'

# omit prefixing tables for these models
OMIT_MODELS = (
'<app_name>.<model class name>',
)

Project details


Download files

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

Source Distribution

django-table-prefix-0.0.5.tar.gz (1.9 kB view hashes)

Uploaded Source

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