mirror of https://github.com/django/django.git
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:
parent
09fc775f42
commit
f4d93f6eb8
|
@ -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
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue