rename variables and methods in views.py