Thx john i have checked the spelling of every field listed in Admin class but the error was always there.
Patrick John DeRosa wrote: > When I've seen messages similar to this, it's usually because an > identifier in the meta.Admin list_display list was not defined as a > field in the class. A good place to start would be to check the > spelling of every field listed in meta.Admin. > > John > > Patrick wrote: > >> Hi, >> when i go in my admin site (http://basetta.pupazzo.org/admin) >> I recieve always this >> >> Mod_python error: "PythonHandler django.core.handlers.modpython" >> >> Traceback (most recent call last): >> >> File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line 299, in >> HandlerDispatch >> result = object(req) >> >> File "/usr/lib/python2.3/site-packages/django/core/handlers/modpython.py", >> line 161, in handler >> return ModPythonHandler()(req) >> >> File "/usr/lib/python2.3/site-packages/django/core/handlers/modpython.py", >> line 137, in __call__ >> response = middleware_method(request, response) >> >> File >> "/usr/lib/python2.3/site-packages/django/contrib/sessions/middleware.py", >> line 81, in process_response >> session_key = request.session.session_key or >> Session.objects.get_new_session_key() >> >> File "/usr/lib/python2.3/site-packages/django/contrib/sessions/models.py", >> line 21, in get_new_session_key >> self.get(session_key=session_key) >> >> File "/usr/lib/python2.3/site-packages/django/db/models/manager.py", line >> 70, in get >> return self.get_query_set().get(*args, **kwargs) >> >> File "/usr/lib/python2.3/site-packages/django/db/models/query.py", line >> 202, in get >> obj_list = list(clone) >> >> File "/usr/lib/python2.3/site-packages/django/db/models/query.py", line >> 94, in __iter__ >> return iter(self._get_data()) >> >> File "/usr/lib/python2.3/site-packages/django/db/models/query.py", line >> 412, in _get_data >> self._result_cache = list(self.iterator()) >> >> File "/usr/lib/python2.3/site-packages/django/db/models/query.py", line >> 161, in iterator >> cursor = connection.cursor() >> >> File "/usr/lib/python2.3/site-packages/django/db/backends/mysql/base.py", >> line 90, in cursor >> self.connection = Database.connect(**kwargs) >> >> File "/usr/lib/python2.3/site-packages/MySQLdb/__init__.py", line 66, in >> Connect >> return Connection(*args, **kwargs) >> >> File "/usr/lib/python2.3/site-packages/MySQLdb/connections.py", line 151, >> in __init__ >> self.converter[types.StringType] = string_literal >> >> TypeError: object does not support item assignment >> >> >> but I canno't understand why. >> >> Have you some suggestions to give ? >> >> ciao ciao >> Patrick >> >> > > > > > -- ______________________________________________________ email:[EMAIL PROTECTED] http://patrick.pupazzo.org ______________________________________________________ --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---