Public bug reported:

Using python-django-tastypie from Ubuntu 16.04 results in the following
traceback:

[...]
  File "/usr/lib/python2.7/dist-packages/tastypie/resources.py", line 1740, in 
<module>
    class BaseModelResource(Resource):
  File "/usr/lib/python2.7/dist-packages/tastypie/resources.py", line 2210, in 
BaseModelResource
    @transaction.commit_on_success()
AttributeError: 'module' object has no attribute 'commit_on_success'

This has been fixed in Zesty with django-tastypie version 0.13.3-1. It's
probably be best to backport this to 16.04 rather than trying to cherry
pick all the django 1.8 changes.

** Affects: django-tastypie (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: django-tastypie (Ubuntu Xenial)
     Importance: High
         Status: Triaged

** Affects: django-tastypie (Debian)
     Importance: Unknown
         Status: Unknown


** Tags: xenial

** Also affects: django-tastypie (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Changed in: django-tastypie (Ubuntu)
       Status: New => Fix Released

** Changed in: django-tastypie (Ubuntu Xenial)
       Status: New => Triaged

** Changed in: django-tastypie (Ubuntu Xenial)
   Importance: Undecided => High

** Bug watch added: Debian Bug tracker #826022
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=826022

** Also affects: django-tastypie (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=826022
   Importance: Unknown
       Status: Unknown

** Tags added: xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1733013

Title:
  16.04's python-django-tastypie doesn't work with 16.04's django

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/django-tastypie/+bug/1733013/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to