def get_context_data(self, **kwargs): context = super(ProductBacklogDetailView, self).get_context_data(**kwargs) # import pdb; pdb.set_trace() context['user_stories'] = UserStoryService.product_backlog_stories( self.get_object().id ) context['release_list'] = ReleaseBacklogService.product_backlog_releases( self.get_object().id ).order_by('-id') return context
def get_context_data(self, **kwargs): context = super(ProductBacklogDetailView, self).get_context_data(**kwargs) # import pdb; pdb.set_trace() context['user_stories'] = UserStoryService.product_backlog_stories( self.get_object().id) context[ 'release_list'] = ReleaseBacklogService.product_backlog_releases( self.get_object().id).order_by('-id') return context
def get_queryset(self): return ReleaseBacklogService.all()