Package: python-django-tastypie
Version: 0.12.0-1
Severity: serious

Hello,

thank you for maintaining tastypie.

An attempt to use it with Django 1.8 gives this:

[...]
  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'

Upstream has several bugs about it, this seems a good start:
https://github.com/django-tastypie/django-tastypie/issues/1288

Enrico

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.5.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python-django-tastypie depends on:
ii  python-dateutil   2.4.2-1
ii  python-django     1.9.6-1
ii  python-mimeparse  0.1.4-1
pn  python:any        <none>

python-django-tastypie recommends no packages.

Versions of packages python-django-tastypie suggests:
pn  python-defusedxml  <none>
ii  python-lxml        3.6.0-1
ii  python-yaml        3.11-3+b1

-- no debconf information

Reply via email to