Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Fixed #640 - Documented that changing order_with_respect_to requires …

…a schema change; thanks fcurella and poirier for the draft patches.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 72793766a7e5218e8b5d7161cc466abfd70a7d46 1 parent 060783d
@timgraham timgraham authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 docs/ref/models/options.txt
7 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`.

0 comments on commit 7279376

Please sign in to comment.
Something went wrong with that request. Please try again.