File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -279,6 +279,22 @@ Please follow these coding standards when writing code for inclusion in Django:
279279 * Mark all strings for internationalization; see the `i18n documentation`_
280280 for details.
281281
282+ * In docstrings, use "action words," like so::
283+
284+ def foo():
285+ """
286+ Calculates something and returns the result.
287+ """
288+ pass
289+
290+ Here's an example of what not to do::
291+
292+ def foo():
293+ """
294+ Calculate something and return the result.
295+ """
296+ pass
297+
282298 * Please don't put your name in the code you contribute. Our policy is to
283299 keep contributors' names in the ``AUTHORS`` file distributed with Django
284300 -- not scattered throughout the codebase itself. Feel free to include a
You can’t perform that action at this time.
0 commit comments