Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plant should handle models that no longer exist #4

Open
spulec opened this issue Jan 3, 2013 · 0 comments
Open

plant should handle models that no longer exist #4

spulec opened this issue Jan 3, 2013 · 0 comments

Comments

@spulec
Copy link
Contributor

spulec commented Jan 3, 2013

If a model is in a dump, but no longer in the current environment, plant currently blows up.

  File "../lib/python2.7/site-packages/django/core/management/commands/loaddata.py", line 190, in handle
    for obj in objects:
  File "../lib/python2.7/site-packages/django/core/serializers/json.py", line 47, in Deserializer
    raise DeserializationError(e)
DeserializationError: Invalid model identifier: 'app.model'

It should instead log a warning and move onto the next model.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant