Fixed RemovedInDjango18Warning:  method should be renamed