remove django dependence and add comments character limits for python