I am trying to access the Flatpages models in a South migration like so:
s = orm['flatpages.Site'].objects.get(id=10)
f = orm['flatpages.FlatPage'].objects.get(id=10)
I get errors saying that site and flatpage models are not available in the flatpages app. So what am I doing wrong?