Django

Code

Changeset 8959

Show
Ignore:
Timestamp:
09/03/08 18:10:07 (3 months ago)
Author:
jacob
Message:

Added the last notes about 1.0, including the inevitable (short!) list of known issues.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/ref/databases.txt

    r8950 r8959  
    1313usage. Of course, it is not intended as a replacement for server-specific 
    1414documentation or reference manuals. 
     15 
     16.. _mysql-notes: 
    1517 
    1618MySQL notes 
     
    240242 
    241243.. _sqlite-notes: 
    242  
    243244 
    244245SQLite notes  
  • django/trunk/docs/releases/1.0.txt

    r8937 r8959  
    213213introduced in the Django 1.0 alpha releases. 
    214214 
    215 Thanks 
    216 ====== 
    217  
    218 So many people. Really. 
     215Known issues 
     216============ 
     217 
     218We've done our best to make Django 1.0 as solid as possible, but unfortunately 
     219there are a couple of issues that we know about in the release. 
     220 
     221Multi-table model inheritance with ``to_field`` 
     222----------------------------------------------- 
     223 
     224If 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 
     227models 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 
     237This bug will be fixed in the next release of Django. 
     238 
     239Caveats with support of certain databases 
     240----------------------------------------- 
     241 
     242Django attempts to support as many features as possible on all database 
     243backends. 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` 
     248