make app work in latest django, remove deprecated things