def get_sharded_id_sequence_name(model):
    # XXX: This matches what PostgreSQL would normally generate for a serial
    # type.  This is needed because the old AutoSequenceField sets up some
    # signals which assume the sequence name that @replace_pk overwrites.
    return (model._meta.db_table, model._meta.pk.column) % '%s_%s_seq'
dataset/ETHPy150Open disqus/sharding-example/sqlshards/db/shards/helpers.py/get_sharded_id_sequence_name/swapped operands of `%`