Added question editing and cleaned up code in views.py.