You could use slides and welcomepage_is_active as attribute to get_context_data