| CODENOTIFIER | HelpYou are not signed inSign in |
Project: Django
Revision: 8959
Author: jacob
Date: 03 Sep 2008 19:10:07
Diff at Trac: http://code.djangoproject.com/changeset/8959
Changes:Added the last notes about 1.0, including the inevitable (short!) list of known issues.
Files:| ... | ...@@ -212,7 +212,37 @@ | |
| 212 | 212 | replaced by the dispatcher, file-uploading and file-storage refactorings |
| 213 | 213 | introduced in the Django 1.0 alpha releases. |
| 214 | 214 | |
| 215 | Thanks | |
| 216 | ====== | |
| 215 | Known issues | |
| 216 | ============ | |
| 217 | ||
| 218 | We've done our best to make Django 1.0 as solid as possible, but unfortunately | |
| 219 | there are a couple of issues that we know about in the release. | |
| 220 | ||
| 221 | Multi-table model inheritance with ``to_field`` | |
| 222 | ----------------------------------------------- | |
| 223 | ||
| 224 | If you're using :ref:`multiple table model inheritance | |
| 225 | <multi-table-inheritance>`, be aware of this caveat: child models using a custom | |
| 226 | ``parent_link`` and ``to_field`` will cause database integrity errors. A set of | |
| 227 | models like the following are **not valid**:: | |
| 228 | ||
| 229 | class Parent(models.Model): | |
| 230 | name = models.CharField(max_length=10) | |
| 231 | other_value = models.IntegerField(unique=True) | |
| 232 | ||
| 233 | class Child(Parent): | |
| 234 | father = models.OneToOneField(Parent, primary_key=True, to_field="other_value", parent_link=True) | |
| 235 | value = models.IntegerField() | |
| 236 | ||
| 237 | This bug will be fixed in the next release of Django. | |
| 238 | ||
| 239 | Caveats with support of certain databases | |
| 240 | ----------------------------------------- | |
| 241 | ||
| 242 | Django attempts to support as many features as possible on all database | |
| 243 | backends. However, not all database backends are alike, and in particular many of the supported database differ greatly from version to version. It's a good idea to checkout our :ref:`notes on supported database <ref-databases>`: | |
| 244 | ||
| 245 | - :ref:`mysql-notes` | |
| 246 | - :ref:`sqlite-notes` | |
| 247 | - :ref:`oracle-notes` | |
| 217 | 248 | |
| 218 | So many people. Really. | |
| 219 | 249 | \ No newline at end of file |
| ... | ...@@ -13,6 +13,8 @@ | |
| 13 | 13 | usage. Of course, it is not intended as a replacement for server-specific |
| 14 | 14 | documentation or reference manuals. |
| 15 | 15 | |
| 16 | .. _mysql-notes: | |
| 17 | ||
| 16 | 18 | MySQL notes |
| 17 | 19 | =========== |
| 18 | 20 | |
| ... | ...@@ -240,7 +242,6 @@ | |
| 240 | 242 | |
| 241 | 243 | .. _sqlite-notes: |
| 242 | 244 | |
| 243 | ||
| 244 | 245 | SQLite notes |
| 245 | 246 | ============ |
| 246 | 247 |