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/f/e/feincms-HEAD/feincms/module/mixins.py   feincms(Download)
            extra_context = self.request._feincms_extra_context
 
            if (not settings.FEINCMS_ALLOW_EXTRA_PATH
                    and extra_context.get('extra_path', '/') != '/'
                    # XXX Already inside application content.  I'm not sure

src/f/e/FeinCMS-1.9.3/feincms/module/mixins.py   FeinCMS(Download)
            extra_context = self.request._feincms_extra_context
 
            if (not settings.FEINCMS_ALLOW_EXTRA_PATH
                    and extra_context.get('extra_path', '/') != '/'
                    # XXX Already inside application content.  I'm not sure

src/f/e/feincms-HEAD/tests/testapp/tests/test_page.py   feincms(Download)
                page.get_absolute_url() + 'something/hello/'))
 
        old = feincms_settings.FEINCMS_ALLOW_EXTRA_PATH
        request.path += 'hello/'
 
        self.assertEqual(r.status_code, 404)
 
        old = feincms_settings.FEINCMS_ALLOW_EXTRA_PATH
        feincms_settings.FEINCMS_ALLOW_EXTRA_PATH = True