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

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

src/o/s/oscar-sagepay-0.1/sagepay/customer_views.py   oscar-sagepay(Download)
from django.shortcuts import get_object_or_404
 
from oscar.apps.customer.views import AccountSummaryView as OscarAccountSummaryView
from oscar.apps.customer.views import OrderLineView as OscarOrderLineView
 
class AccountSummaryView(OscarAccountSummaryView):
    def get_context_data(self, **kwargs):
        ctx = super(AccountSummaryView, self).get_context_data(**kwargs)
        ctx['saved_cards'] = SAVE_CARD
        ctx['credit_cards'] = self.get_credit_cards(self.request.user)

src/d/j/django-oscar-HEAD/tests/_site/apps/customer/views.py   django-oscar(Download)
from oscar.apps.customer.views import AccountSummaryView as OscarAccountSummaryView
 
 
class AccountSummaryView(OscarAccountSummaryView):
    # just here to test import in loading_tests:ClassLoadingWithLocalOverrideTests