hao he kirjoitti:
> I'm developing my site with django,
> 
> mainly, my site works as normal, visited by PC.
> 
> but ,the site will also be visited by mobile device(e.g.iphone)
> 
> who tell me the solution?
> 
> or recommend me some relevant articles?

This has almost nothing to do with Django.

It's just what to display for smaller display devices and simples way is 
to use simplified versions of huge pages. If your site is "normal", 
there is not much of need to do anything. Standard HTML, CSS and even JS 
works in most mobile devices without problems.

Of course you might want to limit amount of data sent over network since 
mobile speeds aren't that high. So you might want to use some detection 
about "this is mobile device" (maybe there is some magic header that 
reveals it) and forward user to a bit more lightweight page(s) instead 
of using heavy, large screen pages meant for large display computers.

Easiest way is to test your site with mobile and see does it work or not.

-- 
Jani Tiainen

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

Reply via email to