Switched the admin to use @transaction.atomic.
Ported layermapping for autocommit.