Was thinking about #714 - access to id of current user on admin - in the context of the auto_now_now and auto_add options on DateField. The meta options auto_creator and auto_editor could be added. auto_creator sets the value of a field to the current admin user on INSERT, auto_editor sets that value on INSERT and UPDATE.
However, auto_now and auto_now_add work because they're part of the DateField type and a user field is just a ForeignKey to User. Extending ForeignKey in this way would be wrong. Would the best way to add this feature be to create a new Field type, called something like UserForeignKey, which can then accept the new options? Would this be a good place to put anything else? ________________________________ Afternoon, man about the Internet -- http://aftnn.org/
