From f648b60ff8d2ec545ac9ad983c1cdf19ebb4f935 Mon Sep 17 00:00:00 2001 From: Altela Eleviansyah Pramardhika Date: Thu, 19 May 2022 13:48:13 +0800 Subject: [PATCH] [FIX] Fixed typo in field to fields X-original-commit: 1b2fbd026427c1da0055c7e98ba694561f2ce7df --- content/developer/howtos/backend.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/developer/howtos/backend.rst b/content/developer/howtos/backend.rst index 6072242b3f..7ff6dd9fb9 100644 --- a/content/developer/howtos/backend.rst +++ b/content/developer/howtos/backend.rst @@ -152,7 +152,7 @@ Common Attributes Much like the model itself, its fields can be configured, by passing configuration attributes as parameters:: - name = field.Char(required=True) + name = fields.Char(required=True) Some attributes are available on all fields, here are the most common ones: