I updated my django version to revision 9710 today and now I am getting the following error message on screen:
Caught an exception while rendering: subquery has too many columns This is the traceback: Original Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/django/template/debug.py", line 71, in render_node result = node.render(context) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/django/template/debug.py", line 87, in render output = force_unicode(self.filter_expression.resolve(context)) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/django/template/__init__.py", line 559, in resolve new_obj = func(obj, *arg_vals) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/django/template/defaultfilters.py", line 510, in length return len(value) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/django/db/models/query.py", line 160, in __len__ self._result_cache = list(self.iterator()) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/django/db/models/query.py", line 275, in iterator for row in self.query.results_iter(): File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/django/db/models/sql/query.py", line 203, in results_iter for rows in self.execute_sql(MULTI): File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/django/db/models/sql/query.py", line 1752, in execute_sql cursor.execute(sql, params) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/django/db/backends/util.py", line 19, in execute return self.cursor.execute(sql, params) ProgrammingError: subquery has too many columns It seems that this query is creating the problem: groupmembers = requestedgroup.group_members.exclude (id__in=groupadmins) And the model looks like this: group_members = models.ManyToManyField(User, verbose_name="group members", related_name="groupofumembers") And ideas? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---