'Disable atomicity for the view.
Otherwise, we\'d be unable to commit to the database until the
request had concluded; Django will refuse to commit when an
atomic() block is active, since that would break atomicity.'

@method_decorator(transaction.non_atomic_requests)
def dispatch(self, *args, **kwargs):

    return super(ChooseModeView, self).dispatch(*args, **kwargs)
