(request)
return render(request, "semantic_template.html", {"table": table})
Demonstrate the use of the Semantic UI template
Demonstrate the use of the Semantic UI template
Demonstrate the use of the Semantic UI template
def semantic(request):
    """Demonstrate the use of the Semantic UI template"""

    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 } )