azavea/OTM2 — pull request #209 by steventlamb (2013-08-16 00:00:44+00:00)
Title: Topic/rename ref id to ref

(has a commit from another PR on it)

Ref is a foreign key, and not a integer representing an id, so it
should not end in '_id'. It is important to change this to ref,
because django automagically exposes the '_id' reference for getting
at the id of a field efficiently. In fact, with this foreign key
called 'ref_id', the database column on audit is called 'ref_id_id' !