Skip to content

Able to dumpdata with django but not loaddata #160

Open
@perrohunter

Description

@perrohunter

I'm trying to save some fixtures by performing a dumpdata, the problem is that the SerializedDictionaryFields I have are not being properly parsed back when I perform a loaddata of the file.

Error I get

django.core.serializers.base.DeserializationError: Problem installing fixture '/Users/perrohunter/django/foo/thing/fixtures/initial_data.json': No JSON object could be decoded: (thing.thing:pk=1) field_value was '{u'config.instance': u'https://blablabla.com'}'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions