fix test without install django