views.py: changes getdata() where data = data[::]