from django.core.serializers.json import (
    Deserializer as StdDeserializer, Serializer
)


def Deserializer(stream_or_string, **options):
    for obj in StdDeserializer(stream_or_string, **options):
        obj.object.fixture_mode = True
        yield obj


def FilesDeserializer(stream_or_string, **options):
    for obj in StdDeserializer(stream_or_string, **options):
        obj.object.fixture_files_only = True
        yield obj

d51a4a5c306ca0ddf7c8a12d9dc9614a7b350471
<mask token>

<mask token>


def FilesDeserializer(stream_or_string, **options):
    for obj in StdDeserializer(stream_or_string, **options):
        obj.object.fixture_files_only = True
        yield obj

<mask token>


def Deserializer(stream_or_string, **options):
    for obj in StdDeserializer(stream_or_string, **options):
        obj.object.fixture_mode = True
        yield obj


def FilesDeserializer(stream_or_string, **options):
    for obj in StdDeserializer(stream_or_string, **options):
        obj.object.fixture_files_only = True
        yield obj

from django.core.serializers.json import Deserializer as StdDeserializer, Serializer


def Deserializer(stream_or_string, **options):
    for obj in StdDeserializer(stream_or_string, **options):
        obj.object.fixture_mode = True
        yield obj


def FilesDeserializer(stream_or_string, **options):
    for obj in StdDeserializer(stream_or_string, **options):
        obj.object.fixture_files_only = True
        yield obj

from django.core.serializers.json import (
    Deserializer as StdDeserializer, Serializer
)


def Deserializer(stream_or_string, **options):
    for obj in StdDeserializer(stream_or_string, **options):
        obj.object.fixture_mode = True
        yield obj


def FilesDeserializer(stream_or_string, **options):
    for obj in StdDeserializer(stream_or_string, **options):
        obj.object.fixture_files_only = True
        yield obj
