Hi Folks, The subject says it, really. Is there any way to access the request.user in the urls.py. Basically I want to pass the current user's id as an option to a generic view. I have a field in my model which is a ForeignKey on User, so each instance of the model is associated with a specific user, and I want to filter the results to only show a specific user.
I realise I could do this in the template itself, but would like to do it here so the query is smaller and more effecient. Thanks, Tom --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---