>> how do you pass the request object to models? > > Same way you pass any argument to any function or method in > Python: write your function/method to accept the argument, and > pass it from the code that calls the function/method.
It's the last bit that can throw folks...many folks seem to use very nice/helpful bits of the framework that abstract the save() call so it's never thought-about. Wouldn't adding a parameter to save() stymie the admin and a number of other places that call save() without parameters? I guess that's part of the price to pay for including user info in a model? :-/ -tim --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---