I'm developing a web app using Pyramid Framework. I wish to know if there's a way I can create views in such a way as will render distinct templates for both desktop and mobile devices.
In other words, I wish to create custom templates that will only be served if the server detects that a request is coming from a mobile phone. I don't wish to create a one-size-fits-all responsive template, but custom templates for mobile devices. Thanks.
Aucun commentaire:
Enregistrer un commentaire