edit views.py to support qrel file