All of my tables have 4 audit fields: created (timestamp) created_by (user name) updated (timestamp) updated_by (user name)
I'd like to define a subclass of models.Model that sets these fields on create/update, and then make all my models of that subclass -- but all the related posts I see imply that the user name is not available in many contexts. This seems basic for database apps, but I'm not finding a solution. Anyone get this to work, and where did you define the subclass? Thanks for any help or ideas. -- 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?hl=en.

