Skip to content

Commit

Permalink
Merge pull request #217 from toshitanian/fix-named-model-example
Browse files Browse the repository at this point in the history
  • Loading branch information
youtux authored Apr 18, 2024
2 parents 8c1809a + 0f6d015 commit ea91d7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ For example:
@register
class JSONPayload(factory.Factory):
class Meta:
model = named_model("JSONPayload", dict)
model = named_model(dict, "JSONPayload")
name = "foo"
Expand Down

0 comments on commit ea91d7e

Please sign in to comment.