Created
July 7, 2012 14:23
-
-
Save koniiiik/3066649 to your computer and use it in GitHub Desktop.
Current status of the CompositeField Django fork
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Script started on Sat 07 Jul 2012 11:42:21 AM CEST | |
Creating test database for alias 'default'... | |
Creating test database for alias 'other'... | |
....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................FF....F.............................................F...............................................................................................................................................................................ss.............................EEEE.EE.........................................F..........................................................s..........................................................sssssss....s..............s......s...................................................s............................. | |
.....................................s...........sss............................................................................................................................................EEEEEEEE......ss....................................................................................................................................................................................E..................................E.E.......................s........sss.s.........................................F..........................................s.....................s.................................................................................................................................................................................................................................................................................................................................x........................................................................................................FE.......s.................. | |
..........s....................................................ss...........x....F..x.................................................................................................................................................................................................................................................................s............................................................................................................................................................................................................................x.....................................................................................................................................................................................................................................................................................................................s.................................s.......................................................F....s....................................................... | |
........................................................................................................................................................................................................................................................s..............................................................................................................................................................................................ssssssss....s.......s......................................................ssssss..................sss.......sssssss.............................................................................................................................................................................sss.................................................................................................................................................................ss.sss..........s................................................................................................................... | |
........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ssssssssssssssssssssssssssssssssss.....................ssss...s.....................ssssssss... | |
====================================================================== | |
ERROR: test_cf_lookup (modeltests.composite_fields.tests.CompositeFieldTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/johnny64/repos/git/koniiiik-django/tests/modeltests/composite_fields/tests.py", line 47, in test_cf_lookup | |
p1 = Person.objects.get(full_name=('John', 'Lennon')) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/manager.py", line 131, in get | |
return self.get_query_set().get(*args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/query.py", line 367, in get | |
clone = self.filter(*args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/query.py", line 634, in filter | |
return self._filter_or_exclude(False, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/query.py", line 652, in _filter_or_exclude | |
clone.query.add_q(Q(*args, **kwargs)) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/query.py", line 1241, in add_q | |
can_reuse=used_aliases, force_having=force_having) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/query.py", line 1112, in add_filter | |
process_extras=process_extras) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/query.py", line 1338, in setup_joins | |
dupe_col = direct and field.column or field.field.column | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/fields/__init__.py", line 259, in column | |
% (self.name,)) | |
FieldError: Field full_name spans multiple columns. | |
====================================================================== | |
ERROR: test_cf_order (modeltests.composite_fields.tests.CompositeFieldTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/johnny64/repos/git/koniiiik-django/tests/modeltests/composite_fields/tests.py", line 61, in test_cf_order | |
str(qs.query) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/query.py", line 169, in __str__ | |
sql, params = self.sql_with_params() | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/query.py", line 177, in sql_with_params | |
return self.get_compiler(DEFAULT_DB_ALIAS).as_sql() | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 72, in as_sql | |
ordering, ordering_group_by = self.get_ordering() | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 398, in get_ordering | |
self.query.model._meta, default_order=asc): | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 429, in find_ordering_name | |
field, col, alias, joins, opts = self._setup_joins(pieces, opts, alias) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 462, in _setup_joins | |
opts, alias, False) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/query.py", line 1338, in setup_joins | |
dupe_col = direct and field.column or field.field.column | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/fields/__init__.py", line 259, in column | |
% (self.name,)) | |
FieldError: Field full_name spans multiple columns. | |
====================================================================== | |
ERROR: test_cf_pk_deletion (modeltests.composite_fields.tests.CompositeFieldTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/johnny64/repos/git/koniiiik-django/tests/modeltests/composite_fields/tests.py", line 91, in test_cf_pk_deletion | |
self.p1.delete() | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/base.py", line 597, in delete | |
collector.delete() | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/deletion.py", line 61, in decorated | |
func(self, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/deletion.py", line 264, in delete | |
query.delete_batch(pk_list, self.using) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/subqueries.py", line 42, in delete_batch | |
where.add((Constraint(None, field.column, field), 'in', | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/fields/__init__.py", line 259, in column | |
% (self.name,)) | |
FieldError: Field full_name spans multiple columns. | |
====================================================================== | |
ERROR: test_cf_primary_key (modeltests.composite_fields.tests.CompositeFieldTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/johnny64/repos/git/koniiiik-django/tests/modeltests/composite_fields/tests.py", line 79, in test_cf_primary_key | |
qs = Person.objects.filter(pk=('Paul', 'McCartney')) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/manager.py", line 143, in filter | |
return self.get_query_set().filter(*args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/query.py", line 634, in filter | |
return self._filter_or_exclude(False, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/query.py", line 652, in _filter_or_exclude | |
clone.query.add_q(Q(*args, **kwargs)) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/query.py", line 1241, in add_q | |
can_reuse=used_aliases, force_having=force_having) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/query.py", line 1112, in add_filter | |
process_extras=process_extras) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/query.py", line 1338, in setup_joins | |
dupe_col = direct and field.column or field.field.column | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/fields/__init__.py", line 259, in column | |
% (self.name,)) | |
FieldError: Field full_name spans multiple columns. | |
====================================================================== | |
ERROR: test_composite_of_related_fields (modeltests.composite_fields.tests.CompositeFieldTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/johnny64/repos/git/koniiiik-django/tests/modeltests/composite_fields/tests.py", line 143, in test_composite_of_related_fields | |
tues_big_day.save() | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/base.py", line 477, in save | |
force_update=force_update, update_fields=update_fields) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/base.py", line 544, in save_base | |
manager.using(using).filter(pk=pk_val).exists())): | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/query.py", line 634, in filter | |
return self._filter_or_exclude(False, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/query.py", line 652, in _filter_or_exclude | |
clone.query.add_q(Q(*args, **kwargs)) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/query.py", line 1241, in add_q | |
can_reuse=used_aliases, force_having=force_having) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/query.py", line 1112, in add_filter | |
process_extras=process_extras) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/query.py", line 1338, in setup_joins | |
dupe_col = direct and field.column or field.field.column | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/fields/__init__.py", line 259, in column | |
% (self.name,)) | |
FieldError: Field composite_key spans multiple columns. | |
====================================================================== | |
ERROR: test_composite_val_string_repr (modeltests.composite_fields.tests.CompositeFieldTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/johnny64/repos/git/koniiiik-django/tests/modeltests/composite_fields/tests.py", line 132, in test_composite_val_string_repr | |
fetched = MostFieldTypes.objects.get(all_fields=unpacked) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/manager.py", line 131, in get | |
return self.get_query_set().get(*args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/query.py", line 367, in get | |
clone = self.filter(*args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/query.py", line 634, in filter | |
return self._filter_or_exclude(False, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/query.py", line 652, in _filter_or_exclude | |
clone.query.add_q(Q(*args, **kwargs)) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/query.py", line 1241, in add_q | |
can_reuse=used_aliases, force_having=force_having) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/query.py", line 1112, in add_filter | |
process_extras=process_extras) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/query.py", line 1338, in setup_joins | |
dupe_col = direct and field.column or field.field.column | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/fields/__init__.py", line 259, in column | |
% (self.name,)) | |
FieldError: Field all_fields spans multiple columns. | |
====================================================================== | |
ERROR: test_add_another (regressiontests.admin_views.tests.AdminCompositePrimaryKeysTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/johnny64/repos/git/koniiiik-django/tests/regressiontests/admin_views/tests.py", line 3710, in test_add_another | |
response = self.client.post("/test_admin/admin/admin_views/personwithcompositepk/add/", data, follow=True) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/test/client.py", line 423, in post | |
response = super(Client, self).post(path, data=data, content_type=content_type, **extra) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/test/client.py", line 257, in post | |
return self.request(**r) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/core/handlers/base.py", line 113, in get_response | |
response = callback(request, *callback_args, **callback_kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/contrib/admin/options.py", line 366, in wrapper | |
return self.admin_site.admin_view(view)(*args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/utils/decorators.py", line 91, in _wrapped_view | |
response = view_func(request, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/views/decorators/cache.py", line 89, in _wrapped_view_func | |
response = view_func(request, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/contrib/admin/sites.py", line 196, in inner | |
return view(request, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/utils/decorators.py", line 25, in _wrapper | |
return bound_func(*args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/utils/decorators.py", line 91, in _wrapped_view | |
response = view_func(request, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/utils/decorators.py", line 21, in bound_func | |
return func(self, *args2, **kwargs2) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/transaction.py", line 208, in inner | |
return func(*args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/contrib/admin/options.py", line 955, in add_view | |
self.save_model(request, new_object, form, False) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/contrib/admin/options.py", line 709, in save_model | |
obj.save() | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/base.py", line 477, in save | |
force_update=force_update, update_fields=update_fields) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/base.py", line 544, in save_base | |
manager.using(using).filter(pk=pk_val).exists())): | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/query.py", line 634, in filter | |
return self._filter_or_exclude(False, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/query.py", line 652, in _filter_or_exclude | |
clone.query.add_q(Q(*args, **kwargs)) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/query.py", line 1241, in add_q | |
can_reuse=used_aliases, force_having=force_having) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/query.py", line 1112, in add_filter | |
process_extras=process_extras) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/query.py", line 1338, in setup_joins | |
dupe_col = direct and field.column or field.field.column | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/fields/__init__.py", line 259, in column | |
% (self.name,)) | |
FieldError: Field full_name spans multiple columns. | |
====================================================================== | |
ERROR: test_add_continue (regressiontests.admin_views.tests.AdminCompositePrimaryKeysTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/johnny64/repos/git/koniiiik-django/tests/regressiontests/admin_views/tests.py", line 3723, in test_add_continue | |
response = self.client.post("/test_admin/admin/admin_views/personwithcompositepk/add/", data, follow=True) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/test/client.py", line 423, in post | |
response = super(Client, self).post(path, data=data, content_type=content_type, **extra) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/test/client.py", line 257, in post | |
return self.request(**r) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/core/handlers/base.py", line 113, in get_response | |
response = callback(request, *callback_args, **callback_kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/contrib/admin/options.py", line 366, in wrapper | |
return self.admin_site.admin_view(view)(*args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/utils/decorators.py", line 91, in _wrapped_view | |
response = view_func(request, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/views/decorators/cache.py", line 89, in _wrapped_view_func | |
response = view_func(request, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/contrib/admin/sites.py", line 196, in inner | |
return view(request, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/utils/decorators.py", line 25, in _wrapper | |
return bound_func(*args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/utils/decorators.py", line 91, in _wrapped_view | |
response = view_func(request, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/utils/decorators.py", line 21, in bound_func | |
return func(self, *args2, **kwargs2) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/transaction.py", line 208, in inner | |
return func(*args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/contrib/admin/options.py", line 955, in add_view | |
self.save_model(request, new_object, form, False) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/contrib/admin/options.py", line 709, in save_model | |
obj.save() | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/base.py", line 477, in save | |
force_update=force_update, update_fields=update_fields) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/base.py", line 544, in save_base | |
manager.using(using).filter(pk=pk_val).exists())): | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/query.py", line 634, in filter | |
return self._filter_or_exclude(False, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/query.py", line 652, in _filter_or_exclude | |
clone.query.add_q(Q(*args, **kwargs)) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/query.py", line 1241, in add_q | |
can_reuse=used_aliases, force_having=force_having) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/query.py", line 1112, in add_filter | |
process_extras=process_extras) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/query.py", line 1338, in setup_joins | |
dupe_col = direct and field.column or field.field.column | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/fields/__init__.py", line 259, in column | |
% (self.name,)) | |
FieldError: Field full_name spans multiple columns. | |
====================================================================== | |
ERROR: test_add_save (regressiontests.admin_views.tests.AdminCompositePrimaryKeysTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/johnny64/repos/git/koniiiik-django/tests/regressiontests/admin_views/tests.py", line 3697, in test_add_save | |
response = self.client.post("/test_admin/admin/admin_views/personwithcompositepk/add/", data, follow=True) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/test/client.py", line 423, in post | |
response = super(Client, self).post(path, data=data, content_type=content_type, **extra) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/test/client.py", line 257, in post | |
return self.request(**r) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/core/handlers/base.py", line 113, in get_response | |
response = callback(request, *callback_args, **callback_kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/contrib/admin/options.py", line 366, in wrapper | |
return self.admin_site.admin_view(view)(*args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/utils/decorators.py", line 91, in _wrapped_view | |
response = view_func(request, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/views/decorators/cache.py", line 89, in _wrapped_view_func | |
response = view_func(request, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/contrib/admin/sites.py", line 196, in inner | |
return view(request, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/utils/decorators.py", line 25, in _wrapper | |
return bound_func(*args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/utils/decorators.py", line 91, in _wrapped_view | |
response = view_func(request, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/utils/decorators.py", line 21, in bound_func | |
return func(self, *args2, **kwargs2) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/transaction.py", line 208, in inner | |
return func(*args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/contrib/admin/options.py", line 955, in add_view | |
self.save_model(request, new_object, form, False) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/contrib/admin/options.py", line 709, in save_model | |
obj.save() | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/base.py", line 477, in save | |
force_update=force_update, update_fields=update_fields) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/base.py", line 544, in save_base | |
manager.using(using).filter(pk=pk_val).exists())): | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/query.py", line 634, in filter | |
return self._filter_or_exclude(False, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/query.py", line 652, in _filter_or_exclude | |
clone.query.add_q(Q(*args, **kwargs)) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/query.py", line 1241, in add_q | |
can_reuse=used_aliases, force_having=force_having) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/query.py", line 1112, in add_filter | |
process_extras=process_extras) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/query.py", line 1338, in setup_joins | |
dupe_col = direct and field.column or field.field.column | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/fields/__init__.py", line 259, in column | |
% (self.name,)) | |
FieldError: Field full_name spans multiple columns. | |
====================================================================== | |
ERROR: test_change_save (regressiontests.admin_views.tests.AdminCompositePrimaryKeysTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/johnny64/repos/git/koniiiik-django/tests/regressiontests/admin_views/tests.py", line 3749, in test_change_save | |
response = self.client.post("/test_admin/admin/admin_views/personwithcompositepk/%s/" % bobby_url, data, follow=True) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/test/client.py", line 423, in post | |
response = super(Client, self).post(path, data=data, content_type=content_type, **extra) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/test/client.py", line 257, in post | |
return self.request(**r) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/core/handlers/base.py", line 113, in get_response | |
response = callback(request, *callback_args, **callback_kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/contrib/admin/options.py", line 366, in wrapper | |
return self.admin_site.admin_view(view)(*args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/utils/decorators.py", line 91, in _wrapped_view | |
response = view_func(request, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/views/decorators/cache.py", line 89, in _wrapped_view_func | |
response = view_func(request, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/contrib/admin/sites.py", line 196, in inner | |
return view(request, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/utils/decorators.py", line 25, in _wrapper | |
return bound_func(*args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/utils/decorators.py", line 91, in _wrapped_view | |
response = view_func(request, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/utils/decorators.py", line 21, in bound_func | |
return func(self, *args2, **kwargs2) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/transaction.py", line 208, in inner | |
return func(*args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/contrib/admin/options.py", line 1017, in change_view | |
obj = self.get_object(request, unquote(object_id)) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/contrib/admin/options.py", line 478, in get_object | |
return queryset.get(pk=object_id) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/query.py", line 367, in get | |
clone = self.filter(*args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/query.py", line 634, in filter | |
return self._filter_or_exclude(False, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/query.py", line 652, in _filter_or_exclude | |
clone.query.add_q(Q(*args, **kwargs)) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/query.py", line 1241, in add_q | |
can_reuse=used_aliases, force_having=force_having) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/query.py", line 1112, in add_filter | |
process_extras=process_extras) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/query.py", line 1338, in setup_joins | |
dupe_col = direct and field.column or field.field.column | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/fields/__init__.py", line 259, in column | |
% (self.name,)) | |
FieldError: Field full_name spans multiple columns. | |
====================================================================== | |
ERROR: test_changelist_display (regressiontests.admin_views.tests.AdminCompositePrimaryKeysTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/johnny64/repos/git/koniiiik-django/tests/regressiontests/admin_views/tests.py", line 3733, in test_changelist_display | |
response = self.client.get("/test_admin/admin/admin_views/personwithcompositepk/") | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/test/client.py", line 413, in get | |
response = super(Client, self).get(path, data=data, **extra) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/test/client.py", line 239, in get | |
return self.request(**r) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/core/handlers/base.py", line 113, in get_response | |
response = callback(request, *callback_args, **callback_kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/contrib/admin/options.py", line 366, in wrapper | |
return self.admin_site.admin_view(view)(*args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/utils/decorators.py", line 91, in _wrapped_view | |
response = view_func(request, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/views/decorators/cache.py", line 89, in _wrapped_view_func | |
response = view_func(request, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/contrib/admin/sites.py", line 196, in inner | |
return view(request, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/utils/decorators.py", line 25, in _wrapper | |
return bound_func(*args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/utils/decorators.py", line 91, in _wrapped_view | |
response = view_func(request, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/utils/decorators.py", line 21, in bound_func | |
return func(self, *args2, **kwargs2) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/contrib/admin/options.py", line 1233, in changelist_view | |
'selection_note': _('0 of %(cnt)s selected') % {'cnt': len(cl.result_list)}, | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/query.py", line 87, in __len__ | |
self._result_cache = list(self.iterator()) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/query.py", line 296, in iterator | |
for row in compiler.results_iter(): | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 772, in results_iter | |
for rows in self.execute_sql(MULTI): | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 817, in execute_sql | |
sql, params = self.as_sql() | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 72, in as_sql | |
ordering, ordering_group_by = self.get_ordering() | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 398, in get_ordering | |
self.query.model._meta, default_order=asc): | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 429, in find_ordering_name | |
field, col, alias, joins, opts = self._setup_joins(pieces, opts, alias) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 462, in _setup_joins | |
opts, alias, False) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/query.py", line 1338, in setup_joins | |
dupe_col = direct and field.column or field.field.column | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/fields/__init__.py", line 259, in column | |
% (self.name,)) | |
FieldError: Field full_name spans multiple columns. | |
====================================================================== | |
ERROR: test_delete_action (regressiontests.admin_views.tests.AdminCompositePrimaryKeysTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/johnny64/repos/git/koniiiik-django/tests/regressiontests/admin_views/tests.py", line 3798, in test_delete_action | |
response = self.client.post("/test_admin/admin/admin_views/personwithcompositepk/", data) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/test/client.py", line 423, in post | |
response = super(Client, self).post(path, data=data, content_type=content_type, **extra) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/test/client.py", line 257, in post | |
return self.request(**r) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/core/handlers/base.py", line 113, in get_response | |
response = callback(request, *callback_args, **callback_kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/contrib/admin/options.py", line 366, in wrapper | |
return self.admin_site.admin_view(view)(*args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/utils/decorators.py", line 91, in _wrapped_view | |
response = view_func(request, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/views/decorators/cache.py", line 89, in _wrapped_view_func | |
response = view_func(request, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/contrib/admin/sites.py", line 196, in inner | |
return view(request, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/utils/decorators.py", line 25, in _wrapper | |
return bound_func(*args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/utils/decorators.py", line 91, in _wrapped_view | |
response = view_func(request, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/utils/decorators.py", line 21, in bound_func | |
return func(self, *args2, **kwargs2) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/contrib/admin/options.py", line 1153, in changelist_view | |
response = self.response_action(request, queryset=cl.get_query_set(request)) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/contrib/admin/options.py", line 906, in response_action | |
queryset = queryset.filter(pk__in=selected) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/query.py", line 634, in filter | |
return self._filter_or_exclude(False, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/query.py", line 652, in _filter_or_exclude | |
clone.query.add_q(Q(*args, **kwargs)) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/query.py", line 1241, in add_q | |
can_reuse=used_aliases, force_having=force_having) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/query.py", line 1112, in add_filter | |
process_extras=process_extras) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/query.py", line 1338, in setup_joins | |
dupe_col = direct and field.column or field.field.column | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/fields/__init__.py", line 259, in column | |
% (self.name,)) | |
FieldError: Field full_name spans multiple columns. | |
====================================================================== | |
ERROR: test_delete_instance (regressiontests.admin_views.tests.AdminCompositePrimaryKeysTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/johnny64/repos/git/koniiiik-django/tests/regressiontests/admin_views/tests.py", line 3769, in test_delete_instance | |
response = self.client.get("/test_admin/admin/admin_views/personwithcompositepk/%s/delete/" % bobby_url) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/test/client.py", line 413, in get | |
response = super(Client, self).get(path, data=data, **extra) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/test/client.py", line 239, in get | |
return self.request(**r) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/core/handlers/base.py", line 113, in get_response | |
response = callback(request, *callback_args, **callback_kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/contrib/admin/options.py", line 366, in wrapper | |
return self.admin_site.admin_view(view)(*args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/utils/decorators.py", line 91, in _wrapped_view | |
response = view_func(request, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/views/decorators/cache.py", line 89, in _wrapped_view_func | |
response = view_func(request, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/contrib/admin/sites.py", line 196, in inner | |
return view(request, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/utils/decorators.py", line 25, in _wrapper | |
return bound_func(*args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/utils/decorators.py", line 91, in _wrapped_view | |
response = view_func(request, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/utils/decorators.py", line 21, in bound_func | |
return func(self, *args2, **kwargs2) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/transaction.py", line 208, in inner | |
return func(*args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/contrib/admin/options.py", line 1261, in delete_view | |
obj = self.get_object(request, unquote(object_id)) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/contrib/admin/options.py", line 478, in get_object | |
return queryset.get(pk=object_id) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/query.py", line 367, in get | |
clone = self.filter(*args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/query.py", line 634, in filter | |
return self._filter_or_exclude(False, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/query.py", line 652, in _filter_or_exclude | |
clone.query.add_q(Q(*args, **kwargs)) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/query.py", line 1241, in add_q | |
can_reuse=used_aliases, force_having=force_having) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/query.py", line 1112, in add_filter | |
process_extras=process_extras) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/query.py", line 1338, in setup_joins | |
dupe_col = direct and field.column or field.field.column | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/fields/__init__.py", line 259, in column | |
% (self.name,)) | |
FieldError: Field full_name spans multiple columns. | |
====================================================================== | |
ERROR: test_resolve_permalink (regressiontests.admin_views.tests.AdminCompositePrimaryKeysTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/johnny64/repos/git/koniiiik-django/tests/regressiontests/admin_views/tests.py", line 3820, in test_resolve_permalink | |
list_response = self.client.get(list_url) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/test/client.py", line 413, in get | |
response = super(Client, self).get(path, data=data, **extra) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/test/client.py", line 239, in get | |
return self.request(**r) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/core/handlers/base.py", line 113, in get_response | |
response = callback(request, *callback_args, **callback_kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/contrib/admin/options.py", line 366, in wrapper | |
return self.admin_site.admin_view(view)(*args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/utils/decorators.py", line 91, in _wrapped_view | |
response = view_func(request, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/views/decorators/cache.py", line 89, in _wrapped_view_func | |
response = view_func(request, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/contrib/admin/sites.py", line 196, in inner | |
return view(request, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/utils/decorators.py", line 25, in _wrapper | |
return bound_func(*args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/utils/decorators.py", line 91, in _wrapped_view | |
response = view_func(request, *args, **kwargs) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/utils/decorators.py", line 21, in bound_func | |
return func(self, *args2, **kwargs2) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/contrib/admin/options.py", line 1233, in changelist_view | |
'selection_note': _('0 of %(cnt)s selected') % {'cnt': len(cl.result_list)}, | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/query.py", line 87, in __len__ | |
self._result_cache = list(self.iterator()) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/query.py", line 296, in iterator | |
for row in compiler.results_iter(): | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 772, in results_iter | |
for rows in self.execute_sql(MULTI): | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 817, in execute_sql | |
sql, params = self.as_sql() | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 72, in as_sql | |
ordering, ordering_group_by = self.get_ordering() | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 398, in get_ordering | |
self.query.model._meta, default_order=asc): | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 429, in find_ordering_name | |
field, col, alias, joins, opts = self._setup_joins(pieces, opts, alias) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 462, in _setup_joins | |
opts, alias, False) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/sql/query.py", line 1338, in setup_joins | |
dupe_col = direct and field.column or field.field.column | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/fields/__init__.py", line 259, in column | |
% (self.name,)) | |
FieldError: Field composite_key spans multiple columns. | |
====================================================================== | |
ERROR: test_regression_12851 (regressiontests.select_related_regress.tests.SelectRelatedRegressTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/johnny64/repos/git/koniiiik-django/tests/regressiontests/select_related_regress/tests.py", line 129, in test_regression_12851 | |
troy = SpecialClient.objects.select_related('state').defer('value', 'state__name').get(name='Troy Buswell') | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/query.py", line 370, in get | |
num = len(clone) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/query.py", line 87, in __len__ | |
self._result_cache = list(self.iterator()) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/query.py", line 295, in iterator | |
requested=requested, only_load=only_load) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/query.py", line 1337, in get_klass_info | |
if select_related_descend(f, restricted, requested, load_fields): | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/query_utils.py", line 161, in select_related_descend | |
(field.model._meta.object_name, field.name)) | |
InvalidQuery: Field Client.state cannot be both deferred and traversed using select_related at the same time. | |
====================================================================== | |
ERROR: test_inlineformset_custom_callback (regressiontests.model_formsets_regress.tests.FormfieldCallbackTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/johnny64/repos/git/koniiiik-django/tests/regressiontests/model_formsets_regress/tests.py", line 312, in test_inlineformset_custom_callback | |
self.assertCallbackCalled(callback) | |
File "/home/johnny64/repos/git/koniiiik-django/tests/regressiontests/model_formsets_regress/tests.py", line 300, in assertCallbackCalled | |
id_field, user_field, data_field = UserSite._meta.fields | |
ValueError: too many values to unpack | |
====================================================================== | |
ERROR: test_modelformset_custom_callback (regressiontests.model_formsets_regress.tests.FormfieldCallbackTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/johnny64/repos/git/koniiiik-django/tests/regressiontests/model_formsets_regress/tests.py", line 318, in test_modelformset_custom_callback | |
self.assertCallbackCalled(callback) | |
File "/home/johnny64/repos/git/koniiiik-django/tests/regressiontests/model_formsets_regress/tests.py", line 300, in assertCallbackCalled | |
id_field, user_field, data_field = UserSite._meta.fields | |
ValueError: too many values to unpack | |
====================================================================== | |
ERROR: test_defer_with_select_related (regressiontests.defer_regress.tests.DeferRegressionTest) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/johnny64/repos/git/koniiiik-django/tests/regressiontests/defer_regress/tests.py", line 189, in test_defer_with_select_related | |
obj = ItemAndSimpleItem.objects.defer('item').select_related('simple').get() | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/query.py", line 370, in get | |
num = len(clone) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/query.py", line 87, in __len__ | |
self._result_cache = list(self.iterator()) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/query.py", line 295, in iterator | |
requested=requested, only_load=only_load) | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/query.py", line 1337, in get_klass_info | |
if select_related_descend(f, restricted, requested, load_fields): | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/db/models/query_utils.py", line 161, in select_related_descend | |
(field.model._meta.object_name, field.name)) | |
InvalidQuery: Field ItemAndSimpleItem.simple cannot be both deferred and traversed using select_related at the same time. | |
====================================================================== | |
FAIL: test_update_fields_inheritance (modeltests.update_only_fields.tests.UpdateOnlyFieldsTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/johnny64/repos/git/koniiiik-django/tests/modeltests/update_only_fields/tests.py", line 56, in test_update_fields_inheritance | |
self.assertEqual(e3.profile, profile_receptionist) | |
AssertionError: <Profile: Boss> != <Profile: Receptionist> | |
====================================================================== | |
FAIL: test_update_fields_inheritance_with_proxy_model (modeltests.update_only_fields.tests.UpdateOnlyFieldsTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/johnny64/repos/git/koniiiik-django/tests/modeltests/update_only_fields/tests.py", line 80, in test_update_fields_inheritance_with_proxy_model | |
self.assertEqual(e3.profile, profile_receptionist) | |
AssertionError: <Profile: Boss> != <Profile: Receptionist> | |
====================================================================== | |
FAIL: test_multiple_table (modeltests.model_inheritance.tests.ModelInheritanceTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/johnny64/repos/git/koniiiik-django/tests/modeltests/model_inheritance/tests.py", line 134, in test_multiple_table | |
["id", "name", "address", "place_ptr", "rating", "serves_hot_dogs", "serves_pizza", "chef"] | |
AssertionError: Lists differ: ['id', 'name', 'address', u'pl... != ['id', 'name', 'address', 'pla... | |
First differing element 4: | |
place_ptr_id | |
rating | |
First list contains 2 additional elements. | |
First extra element 8: | |
chef | |
['id', | |
'name', | |
'address', | |
- u'place_ptr', | |
? - | |
+ 'place_ptr', | |
- u'place_ptr_id', | |
'rating', | |
'serves_hot_dogs', | |
'serves_pizza', | |
- 'chef', | |
? ^ | |
+ 'chef'] | |
? ^ | |
- 'chef_id'] | |
====================================================================== | |
FAIL: test_error_messages (modeltests.lookup.tests.LookupTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/johnny64/repos/git/koniiiik-django/tests/modeltests/lookup/tests.py", line 472, in test_error_messages | |
self.assertEqual(str(ex), "Cannot resolve keyword 'pub_date_year' " | |
AssertionError: "Cannot resolve keyword 'pub_date_year' into field. Choices are: author, author_id, headline, id, pub_date, tag" != u"Cannot resolve keyword 'pub_date_year' into field. Choices are: author, headline, id, pub_date, tag" | |
====================================================================== | |
FAIL: test_with_data (modeltests.model_forms.tests.OldFormForXTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/johnny64/repos/git/koniiiik-django/tests/modeltests/model_forms/tests.py", line 1076, in test_with_data | |
['id', 'name', 'score', 'writer_ptr']) | |
AssertionError: Lists differ: ['id', 'name', 'score', u'writ... != [u'id', u'name', u'score', u'w... | |
First list contains 1 additional elements. | |
First extra element 4: | |
writer_ptr_id | |
- ['id', 'name', 'score', u'writer_ptr', u'writer_ptr_id'] | |
? ------------------ | |
+ [u'id', u'name', u'score', u'writer_ptr'] | |
? + + + | |
====================================================================== | |
FAIL: test_attribute_name_not_python_keyword (regressiontests.inspectdb.tests.InspectDBTestCase) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/johnny64/GSoC/2011/env/lib/python2.7/site-packages/django/test/testcases.py", line 857, in skip_wrapper | |
return test_func(*args, **kwargs) | |
File "/home/johnny64/repos/git/koniiiik-django/tests/regressiontests/inspectdb/tests.py", line 34, in test_attribute_name_not_python_keyword | |
self.assertIn("from_field = models.ForeignKey('InspectdbPeople')", out.getvalue()) | |
AssertionError: "from_field = models.ForeignKey('InspectdbPeople')" not found in "# This is an auto-generated Django model module.\n# You'll have to do the following manually to clean this up:\n# * Rearrange models' order\n# * Make sure each model has one field with primary_key=True\n# Feel free to rename the models, but don't rename db_table values or field names.\n#\n# Also note: You'll have to insert the output of 'django-admin.py sqlcustom [appname]'\n# into your database.\n\nfrom django.contrib.gis.db import models\n\nclass InspectdbDigitsincolumnname(models.Model):\n id = models.IntegerField(primary_key=True)\n number_123 = models.CharField(max_length=11, db_column=u'123') # Field renamed because it wasn't a valid Python identifier.\n number_4extra = models.CharField(max_length=11, db_column=u'4extra') # Field renamed because it wasn't a valid Python identifier.\n number_45extra = models.CharField(max_length=11, db_column=u'45extra') # Field renamed because it wasn't a valid Python | |
identifier.\n class Meta:\n db_table = u'inspectdb_digitsincolumnname'\n\nclass InspectdbMessage(models.Model):\n id = models.IntegerField(primary_key=True)\n from_id = models.IntegerField()\n class Meta:\n db_table = u'inspectdb_message'\n\nclass InspectdbPeople(models.Model):\n id = models.IntegerField(primary_key=True)\n name = models.CharField(max_length=255)\n class Meta:\n db_table = u'inspectdb_people'\n\nclass InspectdbPeopledata(models.Model):\n people_pk_id = models.IntegerField(primary_key=True)\n ssn = models.CharField(max_length=11)\n class Meta:\n db_table = u'inspectdb_peopledata'\n\nclass InspectdbPeoplemoredata(models.Model):\n id = models.IntegerField(primary_key=True)\n people_unique_id = models.IntegerField(unique=True)\n license = models.CharField(max_length=255)\n class Meta:\n db_table = u'inspectdb_peoplemoredata'\n\n" | |
====================================================================== | |
FAIL: test_basic (regressiontests.defer_regress.tests.DeferRegressionTest) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/johnny64/repos/git/koniiiik-django/tests/regressiontests/defer_regress/tests.py", line 154, in test_basic | |
"SimpleItem", | |
AssertionError: Lists differ: ['Child', 'Feature', 'Item', '... != ['Child', 'Child_Deferred_valu... | |
First differing element 1: | |
Feature | |
Child_Deferred_value | |
Second list contains 1 additional elements. | |
First extra element 20: | |
SimpleItem | |
['Child', | |
+ 'Child_Deferred_value', | |
'Feature', | |
'Item', | |
'ItemAndSimpleItem', | |
'Item_Deferred_name', | |
'Item_Deferred_name_other_value_text', | |
'Item_Deferred_name_other_value_value', | |
'Item_Deferred_other_value_text_value', | |
'Item_Deferred_text_value', | |
'Leaf', | |
'Leaf_Deferred_child_id_second_child_id_value', | |
'Leaf_Deferred_name_value', | |
'Leaf_Deferred_second_child_id_value', | |
'Leaf_Deferred_value', | |
'Proxy', | |
'RelatedItem', | |
'RelatedItem_Deferred_', | |
'RelatedItem_Deferred_item_id', | |
'ResolveThis', | |
'SimpleItem'] | |
====================================================================== | |
FAIL: test_deferred_load_qs_pickling (regressiontests.queries.tests.Queries1Tests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/johnny64/repos/git/koniiiik-django/tests/regressiontests/queries/tests.py", line 645, in test_deferred_load_qs_pickling | |
self.assertEqual(list(qs), list(q2)) | |
AssertionError: Lists differ: [<Item_Deferred_creator_id_nam... != [<Item_Deferred_creator_id_cre... | |
First differing element 0: | |
four | |
four | |
- [<Item_Deferred_creator_id_name: four>, | |
+ [<Item_Deferred_creator_id_creator_id_name: four>, | |
? +++++++++++ | |
- <Item_Deferred_creator_id_name: one>, | |
+ <Item_Deferred_creator_id_creator_id_name: one>, | |
? +++++++++++ | |
- <Item_Deferred_creator_id_name: three>, | |
+ <Item_Deferred_creator_id_creator_id_name: three>, | |
? +++++++++++ | |
- <Item_Deferred_creator_id_name: two>] | |
+ <Item_Deferred_creator_id_creator_id_name: two>] | |
? +++++++++++ | |
====================================================================== | |
FAIL: test_get_relations (regressiontests.introspection.tests.IntrospectionTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/johnny64/repos/git/koniiiik-django/tests/regressiontests/introspection/tests.py", line 25, in _inner | |
return func(*args, **kwargs) | |
File "/home/johnny64/repos/git/koniiiik-django/tests/regressiontests/introspection/tests.py", line 123, in test_get_relations | |
self.assertEqual(relations, {3: (0, Reporter._meta.db_table)}) | |
AssertionError: {4: (0, u'introspection_reporter')} != {3: (0, u'introspection_reporter')} | |
- {4: (0, u'introspection_reporter')} | |
? ^ | |
+ {3: (0, u'introspection_reporter')} | |
? ^ | |
---------------------------------------------------------------------- | |
Ran 4811 tests in 514.169s | |
FAILED (failures=9, errors=18, skipped=118, expected failures=4) | |
Destroying test database for alias 'default'... | |
Destroying test database for alias 'other'... | |
Script done on Sat 07 Jul 2012 11:51:07 AM CEST |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment