diff --git a/content/developer/howtos/backend.rst b/content/developer/howtos/backend.rst index 6072242b3..7ff6dd9fb 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: