summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/models/options.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/ref/models/options.txt b/docs/ref/models/options.txt
index 1303fbcb84..d4c7df1b7a 100644
--- a/docs/ref/models/options.txt
+++ b/docs/ref/models/options.txt
@@ -176,6 +176,13 @@ Django quotes column and table names behind the scenes.
>>> 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``
------------