Skip to content

Commit fd5e1a7

Browse files
authored
Fixed some documentation headings to use a space (encode#7364)
2 parents ffde169 + 9dc7021 commit fd5e1a7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/api-guide/fields.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ Corresponds to `django.db.models.fields.TimeField`
371371
* `format` - A string representing the output format. If not specified, this defaults to the same value as the `TIME_FORMAT` settings key, which will be `'iso-8601'` unless set. Setting to a format string indicates that `to_representation` return values should be coerced to string output. Format strings are described below. Setting this value to `None` indicates that Python `time` objects should be returned by `to_representation`. In this case the time encoding will be determined by the renderer.
372372
* `input_formats` - A list of strings representing the input formats which may be used to parse the date. If not specified, the `TIME_INPUT_FORMATS` setting will be used, which defaults to `['iso-8601']`.
373373

374-
#### `TimeField` format strings
374+
#### `TimeField` format strings
375375

376376
Format strings may either be [Python strftime formats][strftime] which explicitly specify the format, or the special string `'iso-8601'`, which indicates that [ISO 8601][iso8601] style times should be used. (eg `'12:34:56.000000'`)
377377

docs/api-guide/serializers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ Each key in the dictionary will be the field name, and the values will be lists
161161

162162
When deserializing a list of items, errors will be returned as a list of dictionaries representing each of the deserialized items.
163163

164-
#### Raising an exception on invalid data
164+
#### Raising an exception on invalid data
165165

166166
The `.is_valid()` method takes an optional `raise_exception` flag that will cause it to raise a `serializers.ValidationError` exception if there are validation errors.
167167

0 commit comments

Comments
 (0)