@staticmethod<EOL><INDENT>def _build_admin_context(request, customer):<DEDENT>
opts = customer._meta<EOL>codename = get_permission_codename('<STR_LIT>', opts)<EOL>has_change_permission = request.user.has_perm('<STR_LIT>' % (opts.app_label, codename))<EOL>return {<EOL>'<STR_LIT>': has_change_permission,<EOL>'<STR_LIT>': opts<EOL>}<EOL>
Build common admin context.