Sfoglia il codice sorgente

Fixed another typo in custom model field documentation.

Baptiste Mispelon 11 anni fa
parent
commit
38662d11c4
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      docs/howto/custom-model-fields.txt

+ 1 - 1
docs/howto/custom-model-fields.txt

@@ -304,7 +304,7 @@ Pay extra attention if you set new default values for arguments in the
 than disappearing if they take on the old default value.
 
 In addition, try to avoid returning values as positional arguments; where
-possible, return values as keyword arguments for maximum future compatability.
+possible, return values as keyword arguments for maximum future compatibility.
 Of course, if you change the names of things more often than their position
 in the constructor's argument list, you might prefer positional, but bear in
 mind that people will be reconstructing your field from the serialized version