Joseph Kahn
Joseph Kahn
I didn't do that, to be honest I was planning to remove that code in my next release. Maintaining that seems like a lot of overhead.
I believe it's used to determine if models are allowed to be foreign keyed to eachother. So probably only used at either migrating creation time or at migration time. I...
I'm not sure about the specific error message but I can checkout your code and see.
Are the items and set on the same database? Otherwise it's not meant to be an allowed relationship with an actual foreign key
Django doesn't have good multi-db support as it is and I didn't really like the idea of hiding how the DB works from the code. It makes it harder to...
For the `get_shard_from_id`, you can inherit from this field or make your own to inherit from [this](https://github.com/JBKahn/django-sharding/blob/84d3807e8b7de34036d1feb2ccd5344c78973f3e/django_sharding_library/fields.py#L210) and `get_shard` isn't supposed to be that complicated. If you use [that class](https://github.com/JBKahn/django-sharding/blob/84d3807e8b7de34036d1feb2ccd5344c78973f3e/django_sharding_library/fields.py#L210-L241)...
Thanks for the documentation errors and this, I'll try to get to taking a look this weekend.
We can update the function to allow you to pass additional options?
I'll add to the ReadMe that it does not work with 1.10.3 It has been fixed in 1.10.4, my pr was merged https://docs.djangoproject.com/en/1.10/releases/1.10.4/
awesome, thanks