group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #20019
[Bug 1733013] Re: 16.04's python-django-tastypie doesn't work with 16.04's django
This bug was fixed in the package django-tastypie - 0.13.3-1~16.04.1
---------------
django-tastypie (0.13.3-1~16.04.1) xenial; urgency=medium
* Backport of 0.13.3-1 to fix django-tastypie's incompatability with django
version 1.8 which is the only one available in Ubuntu 16.04.
(LP: #1733013)
-- Brian Murray <brian@xxxxxxxxxx> Fri, 17 Nov 2017 14:31:09 -0800
** Changed in: django-tastypie (Ubuntu Xenial)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1733013
Title:
16.04's python-django-tastypie doesn't work with 16.04's django
Status in django-tastypie package in Ubuntu:
Fix Released
Status in django-tastypie source package in Xenial:
Fix Released
Status in django-tastypie package in Debian:
Fix Released
Bug description:
[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()
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/django-tastypie/+bug/1733013/+subscriptions
References