def semantic(request):
 create_fake_data()
 table = SemanticTable(Person.objects.all(), order_by='-name')
 RequestConfig(request, paginate={'per_page': 10}).configure(table)
 return render(request, 'semantic_template.html', {'table': table})

def semantic ( request ) : create_fake_data ( ) table = SemanticTable ( Person . objects . all ( ) , order_by = '-name' ) RequestConfig ( request , paginate = { 'per_page' : 10 } ) . configure ( table ) return render ( request , 'semantic_template.html' , { 'table' : table } )
demonstrate the use of the semantic ui template .