Hi, In a class view, I am trying to modify two instances of different models. There are some identical data stored in both tables. They should really be the same in any circumstance .
Should I use "@commit_on_success"? If I should, how should i use it for the class based view? Should I do something like this? class CreateSomethingView(CreateView): "" "" @method_decorator(transaction.commit_on_succes) def post(self): "" -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.