Fixed django warning