Hi, I'm getting the following Traceback sporadically (using Django 0.96 and mod_python on linux). I can hit refresh and the page comes up fine, but sometimes this error will happen again (as if some httpd children pass and some fail).
FYI: def user_sites(self): return ",".join([s.siteID for s in self.stations.all()]) and self.stations is models.ManyToManyField(Station) Traceback (most recent call last): File "/usr/local/lib/python2.4/site-packages/django/core/handlers/ base.py" in get_response 77. response = callback(request, *callback_args, **callback_kwargs) File "/usr/local/lib/python2.4/site-packages/django/contrib/auth/ decorators.py" in _checklogin 14. return view_func(request, *args, **kwargs) File "/usr/local/src/acis/wxcoder/wfo_admin/views.py" in edit_user 181. initial['sites'] = profile.user_sites() # returns csv of siteIDs File "/usr/local/lib/python2.4/site-packages/django/db/models/ query.py" in __iter__ 108. return iter(self._get_data()) File "/usr/local/lib/python2.4/site-packages/django/db/models/ query.py" in _get_data 470. self._result_cache = list(self.iterator()) File "/usr/local/lib/python2.4/site-packages/django/db/models/ query.py" in iterator 174. select, sql, params = self._get_sql_clause() File "/usr/local/lib/python2.4/site-packages/django/db/models/ query.py" in _get_sql_clause 484. joins2, where2, params2 = self._filters.get_sql(opts) File "/usr/local/lib/python2.4/site-packages/django/db/models/ query.py" in get_sql 648. joins2, where2, params2 = val.get_sql(opts) File "/usr/local/lib/python2.4/site-packages/django/db/models/ query.py" in get_sql 699. return parse_lookup(self.kwargs.items(), opts) File "/usr/local/lib/python2.4/site-packages/django/db/models/ query.py" in parse_lookup 831. joins2, where2, params2 = lookup_inner(path, lookup_type, value, opts, opts.db_table, None) File "/usr/local/lib/python2.4/site-packages/django/db/models/ query.py" in lookup_inner 938. raise TypeError, "Cannot resolve keyword '%s' into field" % name TypeError at /wxcoder/fo-admin/users/edit/2/ Cannot resolve keyword 'userprofile' into field --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---