from django.shortcuts import render
from .client import *

# Create your views here.

def topics_list(request):
    # TODO: pass UI lang?
    topics = get_topics_list()
    context = {
        'topics': topics
    }
    return render(request, 'topics_list.html', context)
