fix TypeError

fix django error "__init__() got an unexpected keyword argument 'max_length'"