1. Ian Struble
  2. django

Commits

ja...@bcc190cf-cafb-0310-a4f2-bffc1f526a37  committed 9cd3c89

Fixed another few small bugs in docs

  • Participants
  • Parent commits 0c3410a
  • Branches default

Comments (0)

Files changed (2)

File docs/model-api.txt

View file
 Each type of field takes a different set of options, but there are some
 options that are common to all field types.  These options are:
 
-    ======================  ==================================================================
+    ======================  ===================================================
     Option                  Description
-    ======================  ==================================================================
+    ======================  ===================================================
     ``blank``               If ``True``, the field is allowed to be blank.  
                             Note that this is different from ``null`` in that
                             string fields will store the empty string instead of
     ``validator_list``      A list of extra validators to apply to the field.
                             See the `Form fields guide`_ for information about
                             validators.
-    ======================  ==================================================================
+    ======================  ===================================================
 
 .. _`Form fields guide`: http://www.djangoproject.com/FIXME/
 
                              is to.  This is almost always ``id``, but if the
                              PK on the other object is named something 
                              different, this is how to indicate that.
-    =======================  ==================================================
+    ======================   ===================================================
 
 .. _`Database API reference`: http://www.djangoproject.com/documentation/db_api/    
         

File docs/templates.txt

View file
     Removes all values of arg from the given string
     
 ``date``
-    Formats a date according to the given format (same as the now_ tag)
+    Formats a date according to the given format (same as the ``now`` tag)
     
 ``default``
     If value is unavailable, use given default
     Strips all [X]HTML tags
     
 ``time``
-    Formats a time according to the given format (same as the now_ tag).
+    Formats a time according to the given format (same as the ``now`` tag).
     
 ``timesince``
     Formats a date as the time since that date (i.e. "4 days, 6 hours")