It looks a little odd to have a constant floating in ``views.py``. Should this be in settings?