Hi,
I tried in M-R, in Python shell:
from django.contrib.auth.models import User
Users.objects.create_user('joe', '[EMAIL PROTECTED]', 'secret')
it raises:
Traceback (most recent call last):
File "<console>", line 1, in ?
File
"/usr/lib/python2.3/site-packages/django/contrib/auth/models.py", line
44, in create_user
user.save()
File "/usr/lib/python2.3/site-packages/django/db/models/base.py",
line 150, in save
cursor = connection.cursor()
File
"/usr/lib/python2.3/site-packages/django/db/backends/postgresql/base.py",
line 42, in cursor
cursor.execute("SET TIME ZONE %s", [settings.TIME_ZONE])
ProgrammingError: ERROR: current transaction is aborted, commands
ignored until end of transaction block
SET TIME ZONE 'Europe/Amsterdam'
When in psql SET TIME ZONE 'Europe/Amsterdam'; gives no error at all.
The same error occures when creating a user in Python shell, without
the create_user method. When I add a user by using the admin interface,
there's no problem at all.
Does anyone else experience this? Solutions?
Rudolph
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" 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-users
-~----------~----~----~----~------~----~------~--~---