Author: mtredinnick
Date: 2008-07-19 17:50:06 -0500 (Sat, 19 Jul 2008)
New Revision: 8001

Modified:
   django/trunk/docs/db-api.txt
Log:
Modified [7999] based on some feedback from Marty Alchin.


Modified: django/trunk/docs/db-api.txt
===================================================================
--- django/trunk/docs/db-api.txt        2008-07-19 22:45:28 UTC (rev 8000)
+++ django/trunk/docs/db-api.txt        2008-07-19 22:50:06 UTC (rev 8001)
@@ -2281,10 +2281,9 @@
 to the file, according to your ``MEDIA_ROOT`` setting.
 
 .. note::
-    If you are using the ``upload_to`` parameter in your ``FileField``, it is
-    only valid to call this method **after** saving the model when the field
-    has been set. Prior to saving, the value returned will not contain the
-    upload directory in the path.
+    It is only valid to call this method **after** saving the model when the
+    field has been set. Prior to saving, the value returned will not contain
+    the upload directory (the `upload_to` parameter) in the path.
 
 Note that ``ImageField`` is technically a subclass of ``FileField``, so every
 model with an ``ImageField`` will also get this method.
@@ -2298,8 +2297,7 @@
 returns an empty string.
 
 .. note::
-    As with ``get_FOO_filename()``, if you are using the ``upload_to``
-    parameter on your ``FileField``, it is only valid to call this method
+    As with ``get_FOO_filename()``, it is only valid to call this method
     **after** saving the model, otherwise an incorrect result will be
     returned.
 


--~--~---------~--~----~------------~-------~--~----~
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