Also introduce a new exception type for invalid database IDs
Also introduce a new exception type for invalid database IDs

(cherry picked from commit 4835cd244ee371ed6f719c4c33925f92a54def16)

chrisglass/django_polymorphic,chrisglass/django_polymorphic