Can anyone help me with this? It looks like I need to pass in a django_content_type=<article_content_type> to the request context before it gets passed to the middleware for further processing. Any thoughts?
On Apr 2, 3:37 pm, Chris <[EMAIL PROTECTED]> wrote: > Is there a way to grab content_type and object_id in a middleware > processor? Example if I went to my articles > section:http://www.xyz.com/articles/<article_name>/ could I some how get the > content_type and the object_id from the request context that is passed > in? I want to be able to perform a middleware task but need to know > what model and object that I am dealing with. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---