Release 0.3.1
Foreign key constraints support
- Set PRAGMA foreign_keys=ON on opening of connect to SQLite. Only SQLite(>=3.6.19) supports foreign key constraints. So in lower versions, this does not effect.
Exceptions
- MultipleObjectsReturned for Model.get() when it does not return the single object.
- NotUniqueForeignKey for Many-To-One relationships related with multiple parents.
Constant name
- Field.TYPENAMES -> Field.TYPE_NAMES