Migrated to Django class-based view for classifier