some working views.py code moved here from follow_double_underscore