fix django import and display version on website