Two very simple docs fixes.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16718 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Ramiro Morales 2011-09-03 17:46:16 +00:00
parent 09fc775f42
commit f4d93f6eb8
2 changed files with 2 additions and 2 deletions

View File

@ -1748,7 +1748,7 @@ creating your own ``AdminSite`` instance (see below), and changing the
``AdminSite`` objects ``AdminSite`` objects
===================== =====================
.. class:: AdminSite(name=None) .. class:: AdminSite(name='admin')
A Django administrative site is represented by an instance of A Django administrative site is represented by an instance of
``django.contrib.admin.sites.AdminSite``; by default, an instance of ``django.contrib.admin.sites.AdminSite``; by default, an instance of

View File

@ -529,7 +529,7 @@ operators, from lowest to highest, is as follows:
* ``and`` * ``and``
* ``not`` * ``not``
* ``in`` * ``in``
* ``==``, ``!=``, ``<``, ``>``,``<=``, ``>=`` * ``==``, ``!=``, ``<``, ``>``, ``<=``, ``>=``
(This follows Python exactly). So, for example, the following complex if tag: (This follows Python exactly). So, for example, the following complex if tag: