# -*- coding: utf-8 -*-

from factory.django import DjangoModelFactory


class DemoModelFactory(DjangoModelFactory):
    class Meta:
        model = 'demo.DemoModel1'
        # django_get_or_create = ('id',)


class DemoModel2Factory(DjangoModelFactory):
    class Meta:
        model = 'demo.DemoModel2'
        # django_get_or_create = ('id',)

# -*- coding: utf-8 -*-

from factory.django import DjangoModelFactory


class DemoModelFactory(DjangoModelFactory):
    class Meta:
        model = 'demo.DemoModel1'
        # django_get_or_create = ('id',)


class DemoModel2Factory(DjangoModelFactory):
    class Meta:
        model = 'demo.DemoModel2'
        # django_get_or_create = ('id',)

# -*- coding: utf-8 -*- # django_get_or_create = ('id',) # django_get_or_create = ('id',)