Skip to content

Commit

Permalink
Fix example doc of named_model
Browse files Browse the repository at this point in the history
  • Loading branch information
toshitanian authored Apr 12, 2024
1 parent 8c1809a commit 0f6d015
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 0f6d015

Please sign in to comment.