Merge branch 'release/0.9.12'

This commit is contained in:
Tyson Clugg 2015-07-16 08:48:34 +10:00
commit beb4b9ea6a
3 changed files with 7 additions and 2 deletions

View file

@ -1,6 +1,11 @@
Change Log
==========
0.9.12
------
* Bugfix /app.model/schema helper method on collections to work with
more model field types.
0.9.11
------
* Fix bug in post login/logout subscription handling.

View file

@ -298,7 +298,7 @@ class Collection(APIMixin):
}
# Django supports model._meta -> pylint: disable=W0212
meta = self.model._meta
connection = router.db_for_read(self.model.objects.none())
connection = connections[router.db_for_read(self.model.objects.none())]
for field in meta.local_fields:
int_type = field.get_internal_type()
schema = {

View file

@ -5,7 +5,7 @@ from setuptools import setup, find_packages
setup(
name='django-ddp',
version='0.9.11',
version='0.9.12',
description=__doc__,
long_description=open('README.rst').read(),
author='Tyson Clugg',