Hi, I'm sure this question has been asked before, but I thought I'd throw it out there as it's something I've come across in a project I'm working on at present.
What is the best way to include a request object in a custom template_loader? The reason I need the request object available in my custom template loader is so that I can check the device that the request is coming on and load a different template for each device. Any help would be greatly appreciated. thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/XLOLy6KajkcJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.