CBS is adapting the 2011 Cameron Diaz comedy "Bad Teacher" for TV, an individual with knowledge of the project told TheWrap.
The comedy will be written for the network by Hilary Winston, whose credits include "My Name Is Earl," "Happy Endings" and "Community." Winston will also executive-produce.
Also read: Cameron Diaz's Racy "Bad Teacher" Trailer
Gene Stupnitsky and Lee Eisenberg, who wrote the film, will also executive-produce.
The film, which raised eyebrows with its raunchiness, starred Cameron Diaz as a hard-drinking, pot-smoking middle-school teacher skating by on the job while waiting to marry her rich fiance, until she's dumped after her fiance realizes that she just wants his cash. Justin Timberlake and Jason Segel also starred.
The project comes from Sony Pictures Television and the Mosaic Media Group.
News of the "Bad Teacher" adaptation comes a day after the network put in a pilot order for a very different type of project -- the drama "Anatomy of Violence," from "Homeland" creators Howard Gordon and Alex Gansa, will center on a female FBI agent who starts working with a mysterious psychiatrist with whom she shares a past connection.