Update generalviews.py