def extra_context(request):
host = os.environ.get('<STR_LIT>', None)or request.get_host()<EOL>d = {<EOL>'<STR_LIT>':request,<EOL>'<STR_LIT>':host,<EOL>'<STR_LIT>':request.path.startswith('<STR_LIT>'),<EOL>}<EOL>return d<EOL>
Adds useful global items to the context for use in templates.

    * *request*: the request object
    * *HOST*: host name of server
    * *IN_ADMIN*: True if you are in the django admin area