tschellenbach/Django-facebook — pull request #460 by yuvadm (2014-06-19 07:51:31+00:00)
Title: Rename depreacated @transaction.commit_on_success to @transaction.atomic

Fixes these warnings:

home/user/.virtualenvs/proj/lib/python2.7/site-packages/django_facebook/utils.py:316: RemovedInDjango18Warning: commit_on_success is deprecated in favor of atomic.

The fix is a simple rename, no functionality should be affected:

> atomic allows us to create a block of code within which the atomicity on the database is guaranteed. If the block of code is successfully completed, the changes are committed to the database. If there is an exception, the changes are rolled back.

https://docs.djangoproject.com/en/dev/topics/db/transactions/#django.db.transaction.atomic