Merge pull request #1937 from bagerard/changelog
Bump version to 0.16.0 + update changelog
This commit is contained in:
@@ -23,7 +23,7 @@ __all__ = (list(document.__all__) + list(fields.__all__) +
|
||||
list(signals.__all__) + list(errors.__all__))
|
||||
|
||||
|
||||
VERSION = (0, 15, 3)
|
||||
VERSION = (0, 16, 0)
|
||||
|
||||
|
||||
def get_version():
|
||||
|
||||
@@ -134,7 +134,7 @@ class DeReference(object):
|
||||
object_map = {}
|
||||
for collection, dbrefs in self.reference_map.iteritems():
|
||||
|
||||
# we use getattr instead of hasattr because as hasattr swallows any exception under python2
|
||||
# we use getattr instead of hasattr because hasattr swallows any exception under python2
|
||||
# so it could hide nasty things without raising exceptions (cfr bug #1688))
|
||||
ref_document_cls_exists = (getattr(collection, 'objects', None) is not None)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user