Renamed record to model, to match better django lingo.