Make a fix in the providers delegation example

This commit is contained in:
Roman Mogylatov 2020-08-26 16:22:54 -04:00
parent 2b30e172d1
commit 9d85b63c3b

View File

@ -26,7 +26,7 @@ class User:
# Defining User and Photo factories using DelegatedFactory provider:
photos_factory = providers.DelegatedFactory(Photo)
users_factory = providers.DelegatedFactory(
users_factory = providers.Factory(
User,
photos_factory=photos_factory,
)