using class based views properly now