def process_request(self, request):

        if (getattr(settings, "INSTANCE_CLOSED", False)
                and request.user.is_anonymous()):
            script_name = request.META.get("SCRIPT_NAME", "")
            if request.path.startswith(script_name):
                internal_path = request.path[len(script_name):]
            else:
                internal_path = request.path
            resolver_match = ResolverMatch(resolve(internal_path))
            if is_view_allowed(resolver_match.func):
                return

            if is_view_protected(resolver_match.func):
                request.user.message_set.create(
                    _('Please log in to use %s') %
                    askbot_settings.APP_SHORT_NAME
                )
                return HttpResponseRedirect(settings.LOGIN_URL)
        return None
Return the build url, useful to create statuses.
dataset/ETHPy150Open OpenMOOC/askbot-openmooc/askbotopenmooc/app/middlewares.py/ForumModeMiddleware.process_request--crossover with--dataset/ETHPy150Open m-vdb/github-buildservice-boilerplate/buildservice/models/build.py/Build.url