Author: ikelly
Date: 2009-03-05 14:21:22 -0600 (Thu, 05 Mar 2009)
New Revision: 9976

Modified:
   django/trunk/docs/ref/databases.txt
   django/trunk/docs/ref/models/fields.txt
Log:
Clarified documentation regarding Oracle's treatment of nulls and empty strings.

Modified: django/trunk/docs/ref/databases.txt
===================================================================
--- django/trunk/docs/ref/databases.txt 2009-03-04 10:40:50 UTC (rev 9975)
+++ django/trunk/docs/ref/databases.txt 2009-03-05 20:21:22 UTC (rev 9976)
@@ -475,12 +475,13 @@
 NULL and empty strings
 ----------------------
 
-Django generally prefers to use the empty string ('') rather than NULL, but
-Oracle treats both identically. To get around this, the Oracle backend
-coerces the ``null=True`` option on fields that permit the empty string as a
-value. When fetching from the database, it is assumed that a NULL value in
-one of these fields really means the empty string, and the data is silently
-converted to reflect this assumption.
+Django generally prefers to use the empty string ('') rather than
+NULL, but Oracle treats both identically. To get around this, the
+Oracle backend coerces the ``null=True`` option on fields that have
+the empty string as a possible value. When fetching from the database,
+it is assumed that a NULL value in one of these fields really means
+the empty string, and the data is silently converted to reflect this
+assumption.
 
 ``TextField`` limitations
 -------------------------

Modified: django/trunk/docs/ref/models/fields.txt
===================================================================
--- django/trunk/docs/ref/models/fields.txt     2009-03-04 10:40:50 UTC (rev 
9975)
+++ django/trunk/docs/ref/models/fields.txt     2009-03-05 20:21:22 UTC (rev 
9976)
@@ -54,8 +54,8 @@
 .. note::
 
     When using the Oracle database backend, the ``null=True`` option will be
-    coerced for string-based fields that can blank, and the value ``NULL`` will
-    be stored to denote the empty string.
+    coerced for string-based fields that have the empty string as a possible
+    value, and the value ``NULL`` will be stored to denote the empty string.
 
 ``blank``
 ---------


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to