Skip to content

Releases: JBKahn/django-sharding

3.0.0 django 2 support in setup.py

26 Apr 18:38
86d9f56
Compare
Choose a tag to compare

forgot that, doing a major release so it doesn't auto-upgrade for people.

2.0.0

10 Sep 19:29
Compare
Choose a tag to compare
  • 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 the test_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

20 Mar 01:22
Compare
Choose a tag to compare

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!

07 Oct 14:54
Compare
Choose a tag to compare
  • 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.

0.0.8

21 Apr 03:23
Compare
Choose a tag to compare

0.0.8 (Apr 20th 2016)

A few fixes for compatibility with python3 and using tox for testing

  • Tested on pthon 2.7, 3.4 and 3.5

0.0.6

15 Dec 19:09
Compare
Choose a tag to compare

Small fix of legacy settings name

  • DJANGO_FRAGMENTS_SHARD_SETTINGS to DJANGO_SHARDING_SETTINGS.

0.0.5

14 Dec 21:37
Compare
Choose a tag to compare

Small Fix for people wrapping the package

  • Allow you to rename the app the config is loaded in through a hiddden setting

0.0.4

14 Dec 18:24
Compare
Choose a tag to compare

Small Fix for Django 1.9

  • Updated the router to accept the model hint in addition to already accepting the model_name hint.