Update views.py

del unnecessary code lines:
if not len(prev_marker):
    prev_marker = None
if prev_marker is None:
    prev_marker = ''