Django app detects the user device and serves up the appropriate template