django-sharding icon indicating copy to clipboard operation
django-sharding copied to clipboard

raise more explicit exception in router

Open JBKahn opened this issue 9 years ago • 0 comments

raise exception in router get_db_for_* when you pass in None and instance is None for sharded models.

JBKahn avatar Oct 14 '15 18:10 JBKahn