Fixed and/or in views.py