summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRamiro Morales <cramm0@gmail.com>2011-09-03 17:46:16 +0000
committerRamiro Morales <cramm0@gmail.com>2011-09-03 17:46:16 +0000
commitf4d93f6eb859d011989a5f5a3f452d73118c657f (patch)
tree2e550a360803a1c9e4e10c00b06e74239a436998 /docs
parent09fc775f42c8c0788661821fe43b2bf51281399d (diff)
Two very simple docs fixes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16718 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/contrib/admin/index.txt2
-rw-r--r--docs/ref/templates/builtins.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt
index 8ba41aa790..40ef31ca99 100644
--- a/docs/ref/contrib/admin/index.txt
+++ b/docs/ref/contrib/admin/index.txt
@@ -1748,7 +1748,7 @@ creating your own ``AdminSite`` instance (see below), and changing the
``AdminSite`` objects
=====================
-.. class:: AdminSite(name=None)
+.. class:: AdminSite(name='admin')
A Django administrative site is represented by an instance of
``django.contrib.admin.sites.AdminSite``; by default, an instance of
diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt
index a7d548a01c..1b143b7a67 100644
--- a/docs/ref/templates/builtins.txt
+++ b/docs/ref/templates/builtins.txt
@@ -529,7 +529,7 @@ operators, from lowest to highest, is as follows:
* ``and``
* ``not``
* ``in``
- * ``==``, ``!=``, ``<``, ``>``,``<=``, ``>=``
+ * ``==``, ``!=``, ``<``, ``>``, ``<=``, ``>=``
(This follows Python exactly). So, for example, the following complex if tag: