the error is no more in newer version of Django