File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -119,15 +119,15 @@ The available attributes and methods are:
119
119
120
120
* ` .detail ` - Return the textual description of the error.
121
121
* ` .get_codes() ` - Return the code identifier of the error.
122
- * ` .full_details () ` - Return both the textual description and the code identifier.
122
+ * ` .get_full_details () ` - Return both the textual description and the code identifier.
123
123
124
124
In most cases the error detail will be a simple item:
125
125
126
126
>>> print(exc.detail)
127
127
You do not have permission to perform this action.
128
128
>>> print(exc.get_codes())
129
129
permission_denied
130
- >>> print(exc.full_details ())
130
+ >>> print(exc.get_full_details ())
131
131
{'message':'You do not have permission to perform this action.','code':'permission_denied'}
132
132
133
133
In the case of validation errors the error detail will be either a list or
You can’t perform that action at this time.
0 commit comments