This hardcoded the db_alias fetched from schema_editor and forces django to try and migrate any second database you use, rather than routing to the default database. In testing a build from scratch, these do not appear needed. Using using() prevents us from using multiple databases behind edxapp. Additionally - add back a removed backwards migration from certificates 0003. I have no idea why this was dropped in the 1.8 upgrade.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
migrations | Loading commit data... | |
tests | Loading commit data... | |
__init__.py | Loading commit data... | |
admin.py | Loading commit data... | |
bad_request_rate_limiter.py | Loading commit data... | |
cache.py | Loading commit data... | |
config_parse.py | Loading commit data... | |
date_utils.py | Loading commit data... | |
db.py | Loading commit data... | |
disable_rate_limit.py | Loading commit data... | |
file.py | Loading commit data... | |
json_request.py | Loading commit data... | |
keyword_substitution.py | Loading commit data... | |
markup.py | Loading commit data... | |
memcache.py | Loading commit data... | |
milestones_helpers.py | Loading commit data... | |
model_utils.py | Loading commit data... | |
models.py | Loading commit data... | |
module_utils.py | Loading commit data... | |
organizations_helpers.py | Loading commit data... | |
password_policy_validators.py | Loading commit data... | |
query.py | Loading commit data... | |
request.py | Loading commit data... | |
sandboxing.py | Loading commit data... | |
string_utils.py | Loading commit data... | |
testing.py | Loading commit data... | |
url.py | Loading commit data... | |
validate_on_save.py | Loading commit data... | |
views.py | Loading commit data... |