OK, I got the dates working now that I've converted them to strings.
But I can't set the value for the 'is_superuser' attribute using the
same mechanism:

======VIEW======================
userManipulator = User.ChangeManipulator(request.user.id)
origUser = userManipulator.original_object
new_data_user['is_superuser'] = str(origUser.is_superuser)
updatedUser = userManipulator.save(new_data_user)
================================

But somehow the 'is_superuser' is always set to False:

================================
print str(updatedUser.is_superuser)
=> False

print str(origUser.is_superuser)
=> 1

print str(updatedUser == origUser)
=> True

print str(updatedUser == request.user )
=> True
================================

Weird...


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