Skip to content

Commit 1e2fd25

Browse files
adrienbrunettomchristie
authored andcommitted
Fix #3387: Documentation - Remove leading '.' before format option (#6388)
1 parent 030119c commit 1e2fd25

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/api-guide/renderers.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ The default JSON encoding style can be altered using the `UNICODE_JSON` and `COM
8989

9090
**.media_type**: `application/json`
9191

92-
**.format**: `'.json'`
92+
**.format**: `'json'`
9393

9494
**.charset**: `None`
9595

@@ -127,7 +127,7 @@ See the [_HTML & Forms_ Topic Page][html-and-forms] for further examples of `Tem
127127

128128
**.media_type**: `text/html`
129129

130-
**.format**: `'.html'`
130+
**.format**: `'html'`
131131

132132
**.charset**: `utf-8`
133133

@@ -149,7 +149,7 @@ You can use `StaticHTMLRenderer` either to return regular HTML pages using REST
149149

150150
**.media_type**: `text/html`
151151

152-
**.format**: `'.html'`
152+
**.format**: `'html'`
153153

154154
**.charset**: `utf-8`
155155

@@ -165,7 +165,7 @@ This renderer will determine which other renderer would have been given highest
165165

166166
**.media_type**: `text/html`
167167

168-
**.format**: `'.api'`
168+
**.format**: `'api'`
169169

170170
**.charset**: `utf-8`
171171

@@ -200,7 +200,7 @@ Note that views that have nested or list serializers for their input won't work
200200

201201
**.media_type**: `text/html`
202202

203-
**.format**: `'.admin'`
203+
**.format**: `'admin'`
204204

205205
**.charset**: `utf-8`
206206

@@ -224,7 +224,7 @@ For more information see the [HTML & Forms][html-and-forms] documentation.
224224

225225
**.media_type**: `text/html`
226226

227-
**.format**: `'.form'`
227+
**.format**: `'form'`
228228

229229
**.charset**: `utf-8`
230230

@@ -236,7 +236,7 @@ This renderer is used for rendering HTML multipart form data. **It is not suita
236236

237237
**.media_type**: `multipart/form-data; boundary=BoUnDaRyStRiNg`
238238

239-
**.format**: `'.multipart'`
239+
**.format**: `'multipart'`
240240

241241
**.charset**: `utf-8`
242242

0 commit comments

Comments
 (0)