Thursday, November 18, 2010

Re: Mobile website using Django

I have implemented a mobile site according the instructions on this
site:
http://www.packtpub.com/article/multiple-templates-in-django

Same approach on this site:
http://tech.agilitynerd.com/conditional-mobile-web-site-redirect-in-djang

A different template is loaded for mobile users. When a user decides
to go to go from the mobile site to the main (not mobile) site this
setting is remembered, in my case until the browser is closed.
Therefore I did set SESSION_EXPIRE_AT_BROWSER_CLOSE = True in
settings.py

Rob

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate