fixed doctstring locations in views.py