Skip to content Skip to sidebar Skip to footer

Pendingdeprecationwarning On Django / Tastypie

I am trying to set a pretty straightforward example of a REST service using tastypie, however I am getting a PendingDeprecationWarning. Here is the error message appearing on the b

Solution 1:

Problem seems to be solved by changing the decorator of patch_list() method (line 2190) in file resources.py file of tastypie

from @transaction.commit_on_success()

to @transaction.atomic()

Post a Comment for "Pendingdeprecationwarning On Django / Tastypie"