change html to django form
change mode