Hi, I use a middleware to detect the mobile browser and then alter the template path. This way all the core views stay the same. I use jQueryMobile to do the heavy lifting. Here is an example of this in action in production. http://blackbookdailydeals.com visit it with your browser then with your mobile phone.
lzantal On Nov 12, 2011, at 13:01, freb <[email protected]> wrote: > I'm fairly new to Satchmo but not to Django. I am creating a store and > will need a mobile version of the site. It seems to me that custom css > and templates are the way to go. This must be a pretty common task for > a Satchmo project. What is the best/least intrusive way to identify > mobile requests and render them with custom templates? Are there any > code snippets for this? > > Thanks > > -- > You received this message because you are subscribed to the Google Groups > "Satchmo users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/satchmo-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Satchmo users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/satchmo-users?hl=en.
