Disable `stream_field_magic` methods, as the API for those has changed
Unit tests work without them, but the `dummy_data` command possibly no longer.
This commit is contained in:
parent
a2e85c337d
commit
6a2658051d
|
|
@ -383,5 +383,5 @@ class ContentBlockFactory(BasePageFactory):
|
|||
|
||||
@classmethod
|
||||
def create(cls, module, **kwargs):
|
||||
cls.stream_field_magic(module, kwargs, "contents")
|
||||
# cls.stream_field_magic(module, kwargs, "contents")
|
||||
return cls._generate(CREATE_STRATEGY, kwargs)
|
||||
|
|
|
|||
|
|
@ -101,7 +101,7 @@ class RoomEntryFactory(factory.django.DjangoModelFactory):
|
|||
|
||||
@classmethod
|
||||
def create(cls, **kwargs):
|
||||
cls.stream_field_magic(kwargs, "contents")
|
||||
# cls.stream_field_magic(kwargs, "contents")
|
||||
return cls._generate(CREATE_STRATEGY, kwargs)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue