On 4/11/06, Rudolph <[EMAIL PROTECTED]> wrote:
> I tried in M-R, in Python shell:
>
> from django.contrib.auth.models import User
> Users.objects.create_user('joe', '[EMAIL PROTECTED]', 'secret')

Other than the fact that you're using "Users" instead of "User" on the
second line, that should work. I verified that it works on my local
magic-removal installation.

Generally when you get a "ProgrammingError: ERROR:  current
transaction is aborted, commands ignored until end of transaction
block", that means an SQL statement failed and the error wasn't caught
until the *next* statement was executed. So the SET TIME ZONE query
isn't the one that failed -- it's the one that happened just before
that.

Adrian

--
Adrian Holovaty
holovaty.com | djangoproject.com

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

Reply via email to