Added Blinker signal support
This commit is contained in:
		| @@ -5,6 +5,7 @@ Changelog | |||||||
| Changes in dev | Changes in dev | ||||||
| ============== | ============== | ||||||
|  |  | ||||||
|  | - Added blinker signal support | ||||||
| - Added query_counter context manager for tests | - Added query_counter context manager for tests | ||||||
| - Added DereferenceBaseField - for improved performance in field dereferencing | - Added DereferenceBaseField - for improved performance in field dereferencing | ||||||
| - Added optional map_reduce method item_frequencies | - Added optional map_reduce method item_frequencies | ||||||
|   | |||||||
| @@ -11,3 +11,4 @@ User Guide | |||||||
|    document-instances |    document-instances | ||||||
|    querying |    querying | ||||||
|    gridfs |    gridfs | ||||||
|  |    signals | ||||||
|   | |||||||
| @@ -6,9 +6,11 @@ import connection | |||||||
| from connection import * | from connection import * | ||||||
| import queryset | import queryset | ||||||
| from queryset import * | from queryset import * | ||||||
|  | import signals | ||||||
|  | from signals import * | ||||||
|  |  | ||||||
| __all__ = (document.__all__ + fields.__all__ + connection.__all__ + | __all__ = (document.__all__ + fields.__all__ + connection.__all__ + | ||||||
|            queryset.__all__) |            queryset.__all__ + signals.__all__) | ||||||
|  |  | ||||||
| __author__ = 'Harry Marr' | __author__ = 'Harry Marr' | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,5 +1,8 @@ | |||||||
| # -*- coding: utf-8 -*- | # -*- coding: utf-8 -*- | ||||||
|  |  | ||||||
|  | __all__ = ['pre_init', 'post_init', 'pre_save', 'post_save', | ||||||
|  |            'pre_delete', 'post_delete'] | ||||||
|  |  | ||||||
| signals_available = False | signals_available = False | ||||||
| try: | try: | ||||||
|     from blinker import Namespace |     from blinker import Namespace | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user