[Python-modules-team] Bug#834667: django-modeltranslation: FTBFS in testing (type object 'TestModel' has no attribute '_deferred')

Herbert Fortes terberh at gmail.com
Sat Sep 2 15:20:59 UTC 2017


Hi,

It seems that this bug was fixed by the upstream. Just
need to upgrade to the last release. (5 Apr - 0.12.1)
I can do that if you allow me.<https://github.com/deschler/django-modeltranslation/releases/tag/0.12.1>

======================================================================
ERROR: setUpClass (modeltranslation.tests.tests.ModeltranslationTransactionTest)
----------------------------------------------------------------------
Traceback (most recent call last):

|

[...]

 File "/<<PKGBUILDDIR>>/modeltranslation/translator.py", line 427, in register
    opts = self._get_options_for_model(model, opts_class, **options)
  File "/<<PKGBUILDDIR>>/modeltranslation/translator.py", line 547, in _get_options_for_model
    if model._deferred:
AttributeError: type object 'TestModel' has no attribute '_deferred'


Please check:

 - https://github.com/deschler/django-modeltranslation/issues/381



Regards,
Herbert

|

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20170902/4e3f1101/attachment.html>


More information about the Python-modules-team mailing list