1 | Index: __init__.py
|
---|
2 | ===================================================================
|
---|
3 | --- __init__.py (wersja 1674)
|
---|
4 | +++ __init__.py (kopia robocza)
|
---|
5 | @@ -1902,6 +1902,10 @@
|
---|
6 | order = new_data['order_'] and map(int, new_data['order_'].split(',')) or []
|
---|
7 | for rel_opts in opts.get_ordered_objects():
|
---|
8 | getattr(new_object, 'set_%s_order' % rel_opts.object_name.lower())(order)
|
---|
9 | +
|
---|
10 | + if hasattr(new_object, '_post_total_save'):
|
---|
11 | + new_object._post_total_save()
|
---|
12 | +
|
---|
13 | return new_object
|
---|
14 |
|
---|
15 | def manipulator_get_related_objects(opts, klass, add, change, self):
|
---|