I'm running Django 91 and 97 on my development server with different
port numbers and I'm getting admin errors when I log in to the 91
sites. If I hit refresh enough times, eventually it works.

i.e.

http://tbodev:9000 <-- Django 91
http://tbodev:10000 <-- Django 97

It appears to be session related - when I clear out the cookies and
the sessions from the DB, it works fine. As soon as I load up the 97
site's admin then go back to one of the 91 admins, I get a variety of
errors like the one below.

I've changed the SESSION_COOKIE_NAME value so they don't compete, and
tried setting the 97 site to use a file based session, but it doesn't
seem to help.

I've got the two different versions running on a production server,
but they have different hostnames and don't seem to fight.

Any ideas?


Traceback (most recent call last):
File "/home/code/django/core/template/__init__.py" in render_node
  732. result = node.render(context)
File "/home/code/django/core/template/__init__.py" in render
  778. output = self.filter_expression.resolve(context)
File "/home/code/django/core/template/__init__.py" in resolve
  589. obj = resolve_variable(self.var, context)
File "/home/code/django/core/template/__init__.py" in resolve_variable
  677. current = current()
File "/home/code/django/contrib/admin/models/admin.py" in
get_admin_url
  46. return "%s/%s/%s/" % (self.get_content_type().get_package(),
self.get_content_type().python_module_name, self.object_id)
File "/home/code/django/utils/functional.py" in _curried
  3. return args[0](*(args[1:]+moreargs), **dict(kwargs.items() +
morekwargs.items()))
File "/home/code/django/core/meta/__init__.py" in
method_get_many_to_one
  1111. retrieved_obj = mod.get_object(**params)
File "/home/code/django/utils/functional.py" in _curried
  3. return args[0](*(args[1:]+moreargs), **dict(kwargs.items() +
morekwargs.items()))
File "/home/code/django/core/meta/__init__.py" in function_get_object
  1366. obj_list = function_get_list(opts, klass, **kwargs)
File "/home/code/django/core/meta/__init__.py" in function_get_list
  1406. return list(function_get_iterator(opts, klass, **kwargs))
File "/home/code/django/core/meta/__init__.py" in
function_get_iterator
  1389. cursor.execute("SELECT " + (kwargs.get('distinct') and
"DISTINCT " or "") + ",".join(select) + sql, params)
File "/home/code/django/core/db/base.py" in execute
  10. result = self.cursor.execute(sql, params)

  ProgrammingError at /admin/
  ERROR: column "auth" does not exist SELECT
"packages"."label","packages"."name" FROM "packages" WHERE
"packages"."label" = auth


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to