Incompatible with Django 1.8

Bug #1710880 reported by Sheila Miguez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Django Factory
New
Undecided
Unassigned

Bug Description

I'm working on upgrading an old project from Django 1.6, and this is the stacktrace I get when running a test that uses DjangoFactory.

Is anyone still maintaining django_factory?

Traceback (most recent call last):
  File "/home/codersquid/work/hexr/upgrade18/apps/uploads/tests/test_submission.py", line 344, in setUp
    self.platform = factory.make_platform()
  File "/home/codersquid/work/hexr/upgrade18/apps/hardware/tests/factory.py", line 74, in make_platform
    self._resolve_vendor(kwargs)
  File "/home/codersquid/work/hexr/upgrade18/apps/hardware/tests/factory.py", line 16, in _resolve_vendor
    kwargs['vendor'] = self.make_one(Vendor)
  File "/home/codersquid/work/hexr/vlap18/local/lib/python2.7/site-packages/django_factory/factory.py", line 493, in make_one
    return self._create_one(model, True, [], attrs)
  File "/home/codersquid/work/hexr/vlap18/local/lib/python2.7/site-packages/django_factory/factory.py", line 413, in _create_one
    instance, m2m_dict, fk_dict = self._generate_instance(model, save, attrs, not_including)
  File "/home/codersquid/work/hexr/vlap18/local/lib/python2.7/site-packages/django_factory/factory.py", line 275, in _generate_instance
    fields = self.get_fields(model)
  File "/home/codersquid/work/hexr/vlap18/local/lib/python2.7/site-packages/django_factory/factory.py", line 562, in get_fields
    fields.remove(field)
AttributeError: 'tuple' object has no attribute 'remove

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.