#3894: ManyToMany breaks in admin on python 2.3
---------------------------------------------------------+------------------
Reporter: Øyvind Saltvik <[EMAIL PROTECTED]> | Owner:
adrian
Status: new |
Component: Database wrapper
Version: SVN |
Resolution:
Keywords: |
Stage: Unreviewed
Has_patch: 0 |
Needs_docs: 0
Needs_tests: 0 |
Needs_better_patch: 0
---------------------------------------------------------+------------------
Changes (by Øyvind Saltvik <[EMAIL PROTECTED]>):
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
Traceback
{{{
Traceback (most recent call last):
File "/var/www/vhosts/il-
sverre.no/httpdocs/trunk/django/core/handlers/base.py" in get_response
77. response = callback(request, *callback_args, **callback_kwargs)
File "/var/www/vhosts/il-
sverre.no/httpdocs/trunk/django/contrib/admin/views/decorators.py" in
_checklogin
55. return view_func(request, *args, **kwargs)
File "/var/www/vhosts/il-
sverre.no/httpdocs/trunk/django/views/decorators/cache.py" in
_wrapped_view_func
39. response = view_func(request, *args, **kwargs)
File "/var/www/vhosts/il-
sverre.no/httpdocs/trunk/django/contrib/admin/views/main.py" in
change_stage
363. new_data = manipulator.flatten_data()
File "/var/www/vhosts/il-
sverre.no/httpdocs/trunk/django/db/models/manipulators.py" in flatten_data
248. new_data.update(f.flatten_data(fol, obj))
File "/var/www/vhosts/il-
sverre.no/httpdocs/trunk/django/db/models/fields/related.py" in
flatten_data
700. instance_ids = [instance._get_pk_val() for instance in getattr(obj,
self.name).all()]
File "/var/www/vhosts/il-
sverre.no/httpdocs/trunk/django/db/models/query.py" in __iter__
108. return iter(self._get_data())
File "/var/www/vhosts/il-
sverre.no/httpdocs/trunk/django/db/models/query.py" in _get_data
470. self._result_cache = list(self.iterator())
File "/var/www/vhosts/il-
sverre.no/httpdocs/trunk/django/db/models/query.py" in iterator
174. select, sql, params = self._get_sql_clause()
File "/var/www/vhosts/il-
sverre.no/httpdocs/trunk/django/db/models/query.py" in _get_sql_clause
484. joins2, where2, params2 = self._filters.get_sql(opts)
File "/var/www/vhosts/il-
sverre.no/httpdocs/trunk/django/db/models/query.py" in get_sql
648. joins2, where2, params2 = val.get_sql(opts)
File "/var/www/vhosts/il-
sverre.no/httpdocs/trunk/django/db/models/query.py" in get_sql
699. return parse_lookup(self.kwargs.items(), opts)
File "/var/www/vhosts/il-
sverre.no/httpdocs/trunk/django/db/models/query.py" in parse_lookup
831. joins2, where2, params2 = lookup_inner(path, lookup_type, value,
opts, opts.db_table, None)
File "/var/www/vhosts/il-
sverre.no/httpdocs/trunk/django/db/models/query.py" in lookup_inner
938. raise TypeError, "Cannot resolve keyword '%s' into field" % name
TypeError at /admin/bugtest/bug/
Cannot resolve keyword 'bug' into field
}}}
--
Ticket URL: <http://code.djangoproject.com/ticket/3894#comment:1>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" 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-updates?hl=en
-~----------~----~----~----~------~----~------~--~---