diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2007-03-16 15:20:37 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2007-03-16 15:20:37 +0000 |
| commit | 515337fa3b7279cfca3f4ce39a738efb6aab7586 (patch) | |
| tree | 781a817e2442f42bd4816d1126420c24cba73390 | |
| parent | b14ff2f94d6a3b1d78cbe2ee664a1e0330c5d060 (diff) | |
Small tweaks to docstrings from [4700]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4747 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/template/defaulttags.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/django/template/defaulttags.py b/django/template/defaulttags.py index ed870047b1..b18fa1dce7 100644 --- a/django/template/defaulttags.py +++ b/django/template/defaulttags.py @@ -582,7 +582,7 @@ ifequal = register.tag(ifequal) #@register.tag def ifnotequal(parser, token): - """Output the contents of the block if the two arguments are not equal. See ifequal""" + """Output the contents of the block if the two arguments are not equal. See ifequal.""" return do_ifequal(parser, token, True) ifnotequal = register.tag(ifnotequal) @@ -901,7 +901,7 @@ def url(parser, token): """ Returns an absolute URL matching given view with its parameters. - This is a way to define links that aren't tied to a particular url configuration:: + This is a way to define links that aren't tied to a particular URL configuration:: {% url path.to.some_view arg1,arg2,name1=value1 %} @@ -912,11 +912,11 @@ def url(parser, token): URL. All arguments for the URL should be present. For example if you have a view ``app_name.client`` taking client's id and - the corresponding line in a urlconf looks like this:: + the corresponding line in a URLconf looks like this:: ('^client/(\d+)/$', 'app_name.client') - and this app's urlconf is included into the project's urlconf under some + and this app's URLconf is included into the project's URLconf under some path:: ('^clients/', include('project_name.app_name.urls')) |
