** Description changed: + [Impact] + tastypie is unusable with the version of django in Ubuntu 16.04 as it was not updated to support django 1.8. + + [Test Case] + 1) Install python-django-tastypie and django on Ubuntu 16.04 + 2) Try to start a django application + 3) Observe the following traceback + 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() + 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' + + with the version of django-tastypie in -proposed you'll observe no such + traceback. + + [Regression Potential] + Given that it is not possible to use tastypie, this will be an improvement over the current situation. 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.
-- 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