New django adds a label arg, changes arguments to fixture magic #7

Closed
kumar303 opened this Issue May 13, 2011 · 1 comment

Comments

Projects
None yet
3 participants

In zamboni we recently upgraded django:

 $ git submodule status src/django
 40e28df9e19bcf80525010df44fea9eeffec54b4 src/django (1.2.1-1774-g40e28df)

After that fixture magic did not work with this command:

./manage.py dump_object --kitchensink zadmin.ValidationResult 793

It displayed an error about trying to load 793 as a model and finally I realized that app label was getting passed in as an arg by default. This command got it to work:

./manage.py dump_object --kitchensink zadmin zadmin.ValidationResult 793

(the app label had to be doubled)

Contributor

fourk commented Jun 7, 2011

This issue can be fixed with this commit:
fourk/django-fixture-magic@1c2458e

I filed a pull request including this commit, once that is approved the issue should be resolved.

davedash closed this May 15, 2013

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