More fixed recommended by Elrond
authorJessica Tallon <jessica@megworld.co.uk>
Wed, 20 May 2015 10:41:42 +0000 (12:41 +0200)
committerJessica Tallon <jessica@megworld.co.uk>
Tue, 26 May 2015 14:48:59 +0000 (16:48 +0200)
commit2e4782ef6d0f35b68a3b01c98c1274f8b7fd523e
tree7785d3745fa1a02af9eab8c9ab3aa377ad8864dd
parent0b405a3ee279d04ea4ee39a5644b54fa61a1836d
More fixed recommended by Elrond

This fixes the problem where GenericForeignKey could only be used with models
that are in the core of Mediagoblin, it now can be used with any model
that SQLAlchemy knows about, including plugins. This also fixes some small bugs
caused by incorrect ordering of params into a function.
mediagoblin/db/models.py