Skip to main content

Override migrate command not to trip on tables with schema name provided via db_tables.

Project description

About
-----

I need some cursor override to prevent migrate from tripping on models with schema definition on 'db_table' such as those used with herokuconnect's salesforce schema.

Installation
------------

The library is hosted on
`PyPi <https://pypi.python.org/pypi/django-migrate-with-schema-override/>`_, so you can
grab it there with::

pip install django-migrate-with-schema-override

Then add ``cursor_override`` to your ``INSTALLED_APPS``.::

INSTALLED_APPS = (
# ...
'cursor_override',
# ...
)

Usage
-----

You need to add this line to your ``settings.py`` to enable the override:

::

# Set to False to allow writes
CURSOR_OVERRIDE = True

Credits
-----

Credit goes to 'http://github.com/streeter/django-db-readonly' where I've patterned the repository for I could not find any tutorials on how to override django's utils.py

Thanks to you Chris Streeter!


License
-------

Uses the `MIT <http://opensource.org/licenses/MIT>`_ license.

Project details


Download files

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

Files for django-migrate-with-schema-override, version 0.4
Filename, size & hash File type Python version Upload date
django-migrate-with-schema-override-0.4.tar.gz (3.5 kB) View hashes Source None

Supported by

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