def get_context_data(self, **kwargs): context = super().get_context_data(**kwargs) context['update_url'] = 'serie-update-view' context['delete_url'] = 'serie-delete-view' serie_pk = self.kwargs.get('pk') context['logout_redirect'] = '/refs/serie/{}'.format(serie_pk) escooter_quantity_in_cart(self, context) return context
def get_context_data(self, **kwargs): context = super().get_context_data(**kwargs) escooter_quantity_in_cart(self, context) return context
def get_context_data(self, **kwargs): context = super().get_context_data(**kwargs) context['next'] = self.request.GET.get('next', '/') escooter_quantity_in_cart(self, context) return context
def get_context_data(self, **kwargs): context = super().get_context_data(**kwargs) context['logout_redirect'] = '/refs/serie' escooter_quantity_in_cart(self, context) return context