|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
clean_decorator(decorator)
This decorator can be used to turn simple functions into well-behaved
decorators, so long as the decorators are fairly simple. If a
decorator expects a function and returns a function (no descriptors),
and if it doesn't modify function attributes or docstring, then it is
eligible to use this. Simply apply @simple_decorator to your
decorator and it will automatically preserve the docstring and
function attributes of functions to which it is applied. |
source code
|
|
|
|
merge_many_to_many(items,
binder,
queryset,
single_result=False,
id_path='id') |
source code
|
|
|
|
merge_polymorphic(items,
binder,
queryset,
single_result=False,
base_path='',
item_type_path='item_type',
item_id_path='item_id') |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|