switched to django generic views