def _context_data(data, request=None):
try:<EOL><INDENT>return dict(site.each_context(request).items() + data.items())<EOL><DEDENT>except AttributeError:<EOL><INDENT>return data<EOL><DEDENT>
Add admin global context, for compatibility with Django 1.7