adewes / blitzdb

Blitz is a document-oriented database for Python that is backend-agnostic. It comes with a flat-file database for JSON documents and provides MongoDB-like querying capabilities.
http://blitzdb.readthedocs.org
MIT License
330 stars 37 forks source link

No hardcode pk #44

Closed cmutel closed 9 years ago

cmutel commented 9 years ago

Consistently use .get_pk_name instead of hardcoded ‘pk’ string.

Note: Please make sure this is correct! I haven't been able to figure out how to write meaningful tests.

adewes commented 9 years ago

Looks very good to me, thanks @cmutel !