Releases: JBKahn/django-sharding
Releases · JBKahn/django-sharding
3.0.0 django 2 support in setup.py
2.0.0
- Unpin
dj-database-url
from a specific minor version to a specific major version. - Initial support for deleting django models. I'm not going to update the docs just yet
as I don't entirely like this solution...something is better than nothing.
Check thetest_deleted_model_in_settings
tests to see this. The issue is that django
needs to know about a model after you've deleted the class so sharded settings on deleted
models need to be tracked somewhere.
1.1.0
A bug fix and settings improvement
- Bugfix so that the
fields.py
file is importable when psycog2 isn't installed. - Add the ability to set the database name in the settings helper, and override
the one in the url. Makes generating these settings programatically a bit easier.
Django 1.10 compatibility and some additional library features!
- Django 1.10 compatibility.
- Added postgres specific ID generator
- Some magic sharded field lookups (if you're so inclined)
- The above fields have the additional functionality to automatically lookup the shard when part of the save/update/filter clauses contain the information required to get the shard
- Alters the way data migrations run as far as which databases are acted upon as well as provides an override, see the docs for more details. This brings the package more inline with Django.