diff --git a/docs/internals/contributing/committing-code.txt b/docs/internals/contributing/committing-code.txt
index e33269b..e2d6422 100644
--- a/docs/internals/contributing/committing-code.txt
+++ b/docs/internals/contributing/committing-code.txt
@@ -49,11 +49,18 @@ repository:
   immediately, so you may have to wait a couple of days before getting a
   response.
 
-* Write detailed commit messages in the past tense, not present tense.
+* When you write detailed commit messages, use this pattern::
 
-  * Good: "Fixed Unicode bug in RSS API."
-  * Bad: "Fixes Unicode bug in RSS API."
-  * Bad: "Fixing Unicode bug in RSS API."
+  [<Django version>] Fixed <ticket> -- <description> Backport of <revision>
+
+  For example::
+
+  [1.3.X] Fixed #17028 - Changed diveintopython.org -> diveintopython.net. Backport of r17115.
+
+  Note that description was written in the past tense. The following one
+  is not correct::
+
+  [1.3.X] Fixed #17028 - Changing diveintopython.org -> diveintopython.net. Backport of r17115.
 
 * For commits to a branch, prefix the commit message with the branch name.
   For example: "magic-removal: Added support for mind reading."
