- from django.db import transaction
-
- path, slug, name = args
-
- # Start transaction management.
- transaction.commit_unless_managed()
- transaction.enter_transaction_management()
- transaction.managed(True)
+ path, slug, name, part_name, index, parts_count = args
+ index = int(index)
+ parts_count = int(parts_count)