Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def get_context_data(self, **kwargs):
- if 'folder_id' in self.kwargs:
- context = super(ObjectListView, self).get_context_data(**kwargs)
- context['folder'] = get_object_or_404(CatalogFolder, pk__iexact=self.kwargs['folder_id'])
- return context
Add Comment
Please, Sign In to add comment