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

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

src/d/j/django-oscar-HEAD/oscar/templatetags/history_tags.py   django-oscar(Download)
    """
    request = context['request']
    products = history.get(request)
    return {'products': products,
            'request': request}

src/d/j/django-oscar-0.7/oscar/templatetags/history_tags.py   django-oscar(Download)
    """
    request = context['request']
    products = history.get(request)
    return {'products': products,
            'request': request}

src/d/j/django-oscar-HEAD/tests/unit/customer/history_tests.py   django-oscar(Download)
    def test_starts_with_empty_list(self):
        products = history.get(self.request)
        self.assertEqual([], products)