Mistři v programování na #hovnokod

Python #455

if request.path == '/':
        thread_list = ThreadBlock.objects.all()
    else:
        thread_nomer = re.search( r'/\d*/', request.path ).group()[1:-1]
        thread_list = ThreadBlock.objects.filter(id=int(thread_nomer))

HovnoKod,