Commits

ti...@bcc190cf-cafb-0310-a4f2-bffc1f526a37  committed 8b900b3

[1.3.X] Fixed #640 - Documented that changing order_with_respect_to requires a schema change; thanks fcurella and poirier for the draft patches.

Backport of r17316 from trunk.

  • Participants
  • Parent commits 426d1c3
  • Branches releases/1.3.X

Comments (0)

Files changed (1)

File docs/ref/models/options.txt

         >>> answer.get_previous_in_order()
         <Answer: 1>
 
+.. admonition:: Changing order_with_respect_to
+
+        ``order_with_respect_to`` adds an additional field/database column
+        named ``_order``, so be sure to handle that as you would any other
+        change to your models if you add or change ``order_with_respect_to``
+        after your initial :djadmin:`syncdb`.
+
 ``ordering``
 ------------