My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 16: Fixtures fail to install with MPTT
2 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  craig.ds@gmail.com
Closed:  Sep 2010


 
Reported by epilepti...@gmail.com, Mar 10, 2008
What steps will reproduce the problem?
1. Create a simple models managed by MPTT
2. Save some instances
3. use manage.py dumpdata to create a fixture
4. try loading the fixture into an empty database

What is the expected output? What do you see instead?

I expect the fixture to be loaded, but get an error about a model instance
with pk of 1 already existing. Removing the MPTT management resolves it,
but I lose all of the MPTT niceness.

What version of the product are you using? On what operating system?

0.2.1 on django trunk, tried with mysql and postgres.

 
Sep 3, 2008
#1 pihentagy
I also ran into it. Please fix it.
Oct 12, 2008
Project Member #2 jonathan.buchanan
Will investigate
Status: Chatting
Owner: jonathan.buchanan
Sep 3, 2010
Project Member #3 craig.ds@gmail.com
Tested working in 0.3.0 with Django 1.1.1, I guess someone fixed it at some point
Status: Fixed
Owner: craig.ds

Powered by Google Project Hosting