Generalized template paths in views.py.