def topic_list(request, slug, template_name='groups/topics/topic_list.html'):
    group = get_object_or_404(Group, slug=slug, is_active=True)
    topic_list = GroupTopic.objects.filter(group=group, is_active=True)
    return render(request, template_name, {
        'group': group,
        'topic_list': topic_list
    })
Slugify a string, to make it URL friendly.
dataset/ETHPy150Open nathanborror/django-basic-apps/basic/groups/views/topics.py/topic_list--crossover with--dataset/ETHPy150Open darcyliu/storyboard/markdown/extensions/headerid.py/slugify