RemovedInDjango18Warning fixed