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 Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page