summaryrefslogtreecommitdiff
path: root/docs/model-api.txt
diff options
context:
space:
mode:
authorJoseph Kocherhans <joseph@jkocherhans.com>2007-09-10 02:29:42 +0000
committerJoseph Kocherhans <joseph@jkocherhans.com>2007-09-10 02:29:42 +0000
commit52578a1d1d06195bf0d4700ba44247833290ffef (patch)
tree96641354a109687a1fcc7a0abd860b6eed0df665 /docs/model-api.txt
parentb5aa61a325136d6484ccbfc8a0efd98e8aaa964a (diff)
newforms-admin: Merged to [6081]
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6082 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/model-api.txt')
-rw-r--r--docs/model-api.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/model-api.txt b/docs/model-api.txt
index 7dac54992f..efe62baf16 100644
--- a/docs/model-api.txt
+++ b/docs/model-api.txt
@@ -308,7 +308,7 @@ on the filesystem. Has three special arguments, of which the first is
``FilePathField`` will use to filter filenames.
Note that the regex will be applied to the
base filename, not the full path. Example:
- ``"foo.*\.txt^"``, which will match a file called
+ ``"foo.*\.txt$"``, which will match a file called
``foo23.txt`` but not ``bar.txt`` or ``foo23.gif``.
``recursive`` Optional. Either ``True`` or ``False``. Default is
@@ -1903,7 +1903,7 @@ as the value displayed to render an object in the Django admin site and as the
value inserted into a template when it displays an object. Thus, you should
always return a nice, human-readable string for the object's ``__str__``.
Although this isn't required, it's strongly encouraged (see the description of
-``__unicode__``, below, before putting ``_str__`` methods everywhere).
+``__unicode__``, below, before putting ``__str__`` methods everywhere).
For example::