Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

cms.Title.application_urls doesn't survive a dumpdata & loadata #1152

airtonix opened this Issue Jan 25, 2012 · 1 comment


None yet
2 participants

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

I wipe the data (or move it)

rm ./db/database.sqlite3

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.

what I expect is that the application hook i set before the dump actually still be there after a loaddata operation.


digi604 commented Jul 11, 2013

application urls have been moved to page model. Could you test if this is still the case in develop?

@digi604 digi604 closed this Feb 10, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment