As far as I know (correct me if I'm wrong) Django is a Python framework, so it works on the server side. This should not affect the operation of the phone. All smartphones will be able to run HTML / CSS and JavaScript / jQuery.
If you are talking about how a page is displayed on such a small screen, there are several options:
- Have a responsive design that adapts to the screen size of the device. Take a look at Bootstrap .
- You have a separate mobile site and something that detects a mobile / tablet device and sends it to a mobile site working in a sub-area, for example
mobile.mysite.com . - Have an inappropriate site and use the
viewport meta tag. Another option is to use css media queries, which allow you to set conditional css depending on the screen or browser size:
@media only screen and (min-width : 325px) and (max-width : 500px) { /*CONDITION CSS*/ }
The best part about media queries is that you can get really detailed theoretical information that you can have media queries for 100 devices that define specific css for landscape and portrait mode devices.
Here's a pretty interesting article about the Romney and Obamas campaign and how each side chose to develop their mobile sites in different ways.
source share