def delete(request, id): record = get_object_or_404(Record, id=id) return library(request, record.user.username)
def add(request, title=''): return library(request, request.user.username)
def category(request): return library(request, request.user.username)