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.
-----
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.
Source Distribution
Close
Hashes for django-migrate-with-schema-override-0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 185aaaa25b7989df74075c94c433be33eb290ee8fa597134f7e913303418159b |
|
MD5 | f963b8140022fc0c9aac742c8bc16ffa |
|
BLAKE2b-256 | 34325a30e5e1a0e1656dd906ed4512113badfb01a4c488add694c1c21216cd89 |