def publish_service(request, pk): create_record.delay(pk) return redirect('services')
def publish_service(request, pk): """ Publish the service records to the csw catalog """ create_record.delay(pk) return redirect('services')