divio/django-cms — Issue #1152: cms.Title.application_urls doesn't survive a dumpdata & loadata
Author: airtonix
Created: 2012-01-25 05:55:59+00:00
State: open

So i have a what i can only assume to be a fairly common setup where you assign a cms_app to a page via the admin interface.

I perform a dumpdata :

./manage.py dumpdata > ./all.json

Then I say "hey lets load this all again and be happy about things", so :

./manage.py loaddata ./all.json

however things that make me sad are that :

{
"pk": 3,
"model": "cms.title",
"fields": {
"menu_title": "Shop",
"redirect": "",
"meta_keywords": "",
"page_title": "",
"language": "en",
"title": "Shop Foyer",
"has_url_overwrite": false,
"application_urls": "ShopApp",
"creation_date": "2012-01-04 20:13:39",
"page": 3,
"path": "shop",
"meta_description": "",
"slug": "shop"
}
},

Doesn't result in the page for that title having it's application dropdown widget set to what it was before i performed a dumpdata.