<s> from django_mobile import get_flavour <EOL> from django_mobile . conf import settings <EOL> def flavour ( request ) : <EOL> return { <EOL> '<STR_LIT>' : get_flavour ( ) , <EOL> } <EOL> def is_mobile ( request ) : <EOL> return { <EOL> '<STR_LIT>' : get_flavour ( ) == settings . DEFAULT_MOBILE_FLAVOUR , <EOL> } </s>
