Hi,
Before I begin: I'm using newforms-admin r7508, which is a couple of
commits after the qs-rf update.
Here's my stack trace:
Traceback (most recent call last):
File "/var/www/mydomain/project/django/core/handlers/base.py", line
82, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/var/www/mydomain/project/ext_admin/sites.py", line 52, in root
return super(ExtAdminSite, self).root(request, url)
File "/var/www/mydomain/project/django/contrib/admin/sites.py", line
137, in root
return self.model_page(request, *url.split('/', 2))
File "/var/www/mydomain/project/django/contrib/admin/sites.py", line
154, in model_page
return admin_obj(request, rest_of_url)
File "/var/www/mydomain/project/ext_admin/options.py", line 101, in
__call__
return method(request)
File "/var/www/mydomain/project/newcms/admin.py", line 256, in list
for obj in qs:
File "/var/www/mydomain/project/django/db/models/query.py", line 78,
in _result_iter
self._fill_cache()
File "/var/www/mydomain/project/django/db/models/query.py", line 490,
in _fill_cache
self._result_cache.append(self._iter.next())
File "/var/www/mydomain/project/django/db/models/query.py", line 167,
in iterator
obj = self.model.from_sequence(row[index_start:])
File "/var/www/mydomain/project/django/db/models/base.py", line 257,
in from_sequence
setattr(obj, field.attname, field.get_default())
File "/var/www/mydomain/project/django/db/models/fields/related.py",
line 508, in __set__
manager.add(*value)
TypeError: add() argument after * must be a sequence
As far as I can tell my code is not playing a role in this error; at
least not directly. As you can see, I'm just making the queryset
evaluate with the line "for obj in qs:".
If anyone could point me in the right direction, that'd be great.
regards,
Simon
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---