[Python-modules-team] Bug#907325: python3-djangorestframework-generators 0.2.8 doesn't work with Django 1.10

Nicolás César nico at nicocesar.com
Sun Aug 26 14:54:06 BST 2018


Package: python3-djangorestframework-generators
Version: 0.2.8-2
Severity: important

Dear Maintainer,

This is a known bug in 0.2.8:
https://github.com/Brobin/drf-generators/issues/25
https://github.com/Brobin/drf-generators/issues/28

How to reproduce it:

python manage.py generate manager --format modelviewset

will generate:

  File
"/python/api/lib/python3.5/site-packages/drf_generators/management/commands/generate.py",
line 8, in <module>
    class Command(AppCommand):
  File
"python/api/lib/python3.5/site-packages/drf_generators/management/commands/generate.py",
line 33, in Command
    option_list = AppCommand.option_list + base_options
AttributeError: type object 'AppCommand' has no attribute 'option_list'


This is because python3-djangorestframework-generators 0.2.8 needs to be
upgraded to 0.3.0 where the problem has been fixed

Thanks,
Nico

-- System Information:
Debian Release: 9.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

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

Versions of packages python3-djangorestframework-generators depends on:
ii  python3         3.5.3-1
ii  python3-django  1:1.10.7-2+deb9u2

Versions of packages python3-djangorestframework-generators recommends:
ii  python3-djangorestframework  3.4.0-2

python3-djangorestframework-generators suggests no packages.

-- no debconf information
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20180826/8a71d78f/attachment.html>


More information about the Python-modules-team mailing list