def get(self, request, *args, **kwargs):
        try:
            import memcache
        except __HOLE__:
            return HttpResponseNotFound()

        if not request.user.is_authenticated() and request.user.is_staff:
            return HttpResponseForbidden()

        if settings.CACHES['default']['BACKEND'] != 'django.core.cache.backends.memcached.MemcachedCache':
            return HttpResponseNotFound()

        context = {'stats': self.make_stats()}
        return self.render_to_response(context)
dataset/ETHPy150Open niwinz/niwi-web/src/niwi/contrib/memcache_status/views.py/MemcacheStatusView.get