Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/k/n/kninfra-HEAD/kn/moderation/views.py   kninfra(Download)
def redirect(request, name):
    if not request.build_absolute_uri().startswith(
            settings.MOD_DESIRED_URI_PREFIX):
        return HttpResponseRedirect(settings.MOD_DESIRED_URI_PREFIX +
                        request.get_full_path())