View | Details | Raw Unified | Return to bug 150680
Collapse All | Expand All

(-)Makefile (-10 / +1 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	django
8
PORTNAME=	django
9
PORTVERSION=	1.2.1
9
PORTVERSION=	1.2.3
10
PORTREVISION=	1
11
CATEGORIES=	www python
10
CATEGORIES=	www python
12
MASTER_SITES=	http://media.djangoproject.com/releases/${PORTVERSION}/ \
11
MASTER_SITES=	http://media.djangoproject.com/releases/${PORTVERSION}/ \
13
		CHEESESHOP
12
		CHEESESHOP
Lines 66-72 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}flu Link Here
66
.endif
65
.endif
67
66
68
.if defined(WITH_DOCS)
67
.if defined(WITH_DOCS)
69
EXTRA_PATCHES+=		${PATCHDIR}/extra-patch-sphinx
70
BUILD_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}sphinx>0:${PORTSDIR}/textproc/py-sphinx
68
BUILD_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}sphinx>0:${PORTSDIR}/textproc/py-sphinx
71
PORTDOCS=	*
69
PORTDOCS=	*
72
.endif
70
.endif
Lines 77-89 pre-patch: Link Here
77
	${MKDIR} ${WRKSRC}/docs/_theme/static
75
	${MKDIR} ${WRKSRC}/docs/_theme/static
78
.endif
76
.endif
79
77
80
post-patch:
81
.if defined(WITH_DOCS)
82
.	for f in docicons-behindscenes.png docicons-note.png docicons-philosophy.png
83
		${MV} ${WRKSRC}/docs/_static/${f} ${WRKSRC}/docs/_theme/djangodocs/static/
84
.	endfor
85
.endif
86
87
post-build:
78
post-build:
88
.if defined(WITH_DOCS)
79
.if defined(WITH_DOCS)
89
.	if defined(NOPORTDOCS)
80
.	if defined(NOPORTDOCS)
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (python/Django-1.2.1.tar.gz) = 2351efb20f6b7b5d9ce80fa4cb1bd9ca
1
MD5 (python/Django-1.2.3.tar.gz) = 10bfb5831bcb4d3b1e6298d0e41d6603
2
SHA256 (python/Django-1.2.1.tar.gz) = eaa29f2344568cc871c4517a348de0d5c39fbd055b4c998cd4a80601bb51e7b9
2
SHA256 (python/Django-1.2.3.tar.gz) = cb830f6038b78037647150d977f6cd5cf2bfd731f1788ecf8758a03c213a0f84
3
SIZE (python/Django-1.2.1.tar.gz) = 6248006
3
SIZE (python/Django-1.2.3.tar.gz) = 6306760
(-)pkg-plist (+49 lines)
Lines 415-420 bin/django-admin.py Link Here
415
%%PYTHON_SITELIBDIR%%/django/conf/locale/mk/formats.py
415
%%PYTHON_SITELIBDIR%%/django/conf/locale/mk/formats.py
416
%%PYTHON_SITELIBDIR%%/django/conf/locale/mk/formats.pyc
416
%%PYTHON_SITELIBDIR%%/django/conf/locale/mk/formats.pyc
417
%%PYTHON_SITELIBDIR%%/django/conf/locale/mk/formats.pyo
417
%%PYTHON_SITELIBDIR%%/django/conf/locale/mk/formats.pyo
418
%%PYTHON_SITELIBDIR%%/django/conf/locale/ml/LC_MESSAGES/django.mo
419
%%PYTHON_SITELIBDIR%%/django/conf/locale/ml/LC_MESSAGES/django.po
420
%%PYTHON_SITELIBDIR%%/django/conf/locale/ml/LC_MESSAGES/djangojs.mo
421
%%PYTHON_SITELIBDIR%%/django/conf/locale/ml/LC_MESSAGES/djangojs.po
422
%%PYTHON_SITELIBDIR%%/django/conf/locale/ml/__init__.py
423
%%PYTHON_SITELIBDIR%%/django/conf/locale/ml/__init__.pyc
424
%%PYTHON_SITELIBDIR%%/django/conf/locale/ml/__init__.pyo
425
%%PYTHON_SITELIBDIR%%/django/conf/locale/ml/formats.py
426
%%PYTHON_SITELIBDIR%%/django/conf/locale/ml/formats.pyc
427
%%PYTHON_SITELIBDIR%%/django/conf/locale/ml/formats.pyo
418
%%PYTHON_SITELIBDIR%%/django/conf/locale/mn/LC_MESSAGES/django.mo
428
%%PYTHON_SITELIBDIR%%/django/conf/locale/mn/LC_MESSAGES/django.mo
419
%%PYTHON_SITELIBDIR%%/django/conf/locale/mn/LC_MESSAGES/django.po
429
%%PYTHON_SITELIBDIR%%/django/conf/locale/mn/LC_MESSAGES/django.po
420
%%PYTHON_SITELIBDIR%%/django/conf/locale/mn/LC_MESSAGES/djangojs.mo
430
%%PYTHON_SITELIBDIR%%/django/conf/locale/mn/LC_MESSAGES/djangojs.mo
Lines 1103-1114 bin/django-admin.py Link Here
1103
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/admin.py
1113
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/admin.py
1104
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/admin.pyc
1114
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/admin.pyc
1105
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/admin.pyo
1115
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/admin.pyo
1116
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/fixtures/sample_flatpages.json
1106
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/middleware.py
1117
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/middleware.py
1107
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/middleware.pyc
1118
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/middleware.pyc
1108
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/middleware.pyo
1119
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/middleware.pyo
1109
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/models.py
1120
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/models.py
1110
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/models.pyc
1121
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/models.pyc
1111
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/models.pyo
1122
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/models.pyo
1123
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/tests/__init__.py
1124
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/tests/__init__.pyc
1125
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/tests/__init__.pyo
1126
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/tests/csrf.py
1127
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/tests/csrf.pyc
1128
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/tests/csrf.pyo
1129
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/tests/middleware.py
1130
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/tests/middleware.pyc
1131
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/tests/middleware.pyo
1132
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/tests/templates/404.html
1133
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/tests/templates/flatpages/default.html
1134
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/tests/templates/registration/login.html
1135
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/tests/urls.py
1136
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/tests/urls.pyc
1137
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/tests/urls.pyo
1138
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/tests/views.py
1139
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/tests/views.pyc
1140
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/tests/views.pyo
1112
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/urls.py
1141
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/urls.py
1113
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/urls.pyc
1142
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/urls.pyc
1114
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/urls.pyo
1143
%%PYTHON_SITELIBDIR%%/django/contrib/flatpages/urls.pyo
Lines 2138-2145 bin/django-admin.py Link Here
2138
%%PYTHON_SITELIBDIR%%/django/contrib/sitemaps/management/commands/ping_google.py
2167
%%PYTHON_SITELIBDIR%%/django/contrib/sitemaps/management/commands/ping_google.py
2139
%%PYTHON_SITELIBDIR%%/django/contrib/sitemaps/management/commands/ping_google.pyc
2168
%%PYTHON_SITELIBDIR%%/django/contrib/sitemaps/management/commands/ping_google.pyc
2140
%%PYTHON_SITELIBDIR%%/django/contrib/sitemaps/management/commands/ping_google.pyo
2169
%%PYTHON_SITELIBDIR%%/django/contrib/sitemaps/management/commands/ping_google.pyo
2170
%%PYTHON_SITELIBDIR%%/django/contrib/sitemaps/models.py
2171
%%PYTHON_SITELIBDIR%%/django/contrib/sitemaps/models.pyc
2172
%%PYTHON_SITELIBDIR%%/django/contrib/sitemaps/models.pyo
2141
%%PYTHON_SITELIBDIR%%/django/contrib/sitemaps/templates/sitemap.xml
2173
%%PYTHON_SITELIBDIR%%/django/contrib/sitemaps/templates/sitemap.xml
2142
%%PYTHON_SITELIBDIR%%/django/contrib/sitemaps/templates/sitemap_index.xml
2174
%%PYTHON_SITELIBDIR%%/django/contrib/sitemaps/templates/sitemap_index.xml
2175
%%PYTHON_SITELIBDIR%%/django/contrib/sitemaps/tests/__init__.py
2176
%%PYTHON_SITELIBDIR%%/django/contrib/sitemaps/tests/__init__.pyc
2177
%%PYTHON_SITELIBDIR%%/django/contrib/sitemaps/tests/__init__.pyo
2178
%%PYTHON_SITELIBDIR%%/django/contrib/sitemaps/tests/basic.py
2179
%%PYTHON_SITELIBDIR%%/django/contrib/sitemaps/tests/basic.pyc
2180
%%PYTHON_SITELIBDIR%%/django/contrib/sitemaps/tests/basic.pyo
2181
%%PYTHON_SITELIBDIR%%/django/contrib/sitemaps/tests/urls.py
2182
%%PYTHON_SITELIBDIR%%/django/contrib/sitemaps/tests/urls.pyc
2183
%%PYTHON_SITELIBDIR%%/django/contrib/sitemaps/tests/urls.pyo
2143
%%PYTHON_SITELIBDIR%%/django/contrib/sitemaps/views.py
2184
%%PYTHON_SITELIBDIR%%/django/contrib/sitemaps/views.py
2144
%%PYTHON_SITELIBDIR%%/django/contrib/sitemaps/views.pyc
2185
%%PYTHON_SITELIBDIR%%/django/contrib/sitemaps/views.pyc
2145
%%PYTHON_SITELIBDIR%%/django/contrib/sitemaps/views.pyo
2186
%%PYTHON_SITELIBDIR%%/django/contrib/sitemaps/views.pyo
Lines 3001-3006 bin/django-admin.py Link Here
3001
@dirrm %%PYTHON_SITELIBDIR%%/django/contrib/webdesign
3042
@dirrm %%PYTHON_SITELIBDIR%%/django/contrib/webdesign
3002
@dirrm %%PYTHON_SITELIBDIR%%/django/contrib/syndication
3043
@dirrm %%PYTHON_SITELIBDIR%%/django/contrib/syndication
3003
@dirrm %%PYTHON_SITELIBDIR%%/django/contrib/sites
3044
@dirrm %%PYTHON_SITELIBDIR%%/django/contrib/sites
3045
@dirrm %%PYTHON_SITELIBDIR%%/django/contrib/sitemaps/tests
3004
@dirrm %%PYTHON_SITELIBDIR%%/django/contrib/sitemaps/templates
3046
@dirrm %%PYTHON_SITELIBDIR%%/django/contrib/sitemaps/templates
3005
@dirrm %%PYTHON_SITELIBDIR%%/django/contrib/sitemaps/management/commands
3047
@dirrm %%PYTHON_SITELIBDIR%%/django/contrib/sitemaps/management/commands
3006
@dirrm %%PYTHON_SITELIBDIR%%/django/contrib/sitemaps/management
3048
@dirrm %%PYTHON_SITELIBDIR%%/django/contrib/sitemaps/management
Lines 3101-3106 bin/django-admin.py Link Here
3101
@dirrm %%PYTHON_SITELIBDIR%%/django/contrib/formtools/templates/formtools
3143
@dirrm %%PYTHON_SITELIBDIR%%/django/contrib/formtools/templates/formtools
3102
@dirrm %%PYTHON_SITELIBDIR%%/django/contrib/formtools/templates
3144
@dirrm %%PYTHON_SITELIBDIR%%/django/contrib/formtools/templates
3103
@dirrm %%PYTHON_SITELIBDIR%%/django/contrib/formtools
3145
@dirrm %%PYTHON_SITELIBDIR%%/django/contrib/formtools
3146
@dirrm %%PYTHON_SITELIBDIR%%/django/contrib/flatpages/tests/templates/registration
3147
@dirrm %%PYTHON_SITELIBDIR%%/django/contrib/flatpages/tests/templates/flatpages
3148
@dirrm %%PYTHON_SITELIBDIR%%/django/contrib/flatpages/tests/templates
3149
@dirrm %%PYTHON_SITELIBDIR%%/django/contrib/flatpages/tests
3150
@dirrm %%PYTHON_SITELIBDIR%%/django/contrib/flatpages/fixtures
3104
@dirrm %%PYTHON_SITELIBDIR%%/django/contrib/flatpages
3151
@dirrm %%PYTHON_SITELIBDIR%%/django/contrib/flatpages
3105
@dirrm %%PYTHON_SITELIBDIR%%/django/contrib/databrowse/templates/databrowse
3152
@dirrm %%PYTHON_SITELIBDIR%%/django/contrib/databrowse/templates/databrowse
3106
@dirrm %%PYTHON_SITELIBDIR%%/django/contrib/databrowse/templates
3153
@dirrm %%PYTHON_SITELIBDIR%%/django/contrib/databrowse/templates
Lines 3193-3198 bin/django-admin.py Link Here
3193
@dirrm %%PYTHON_SITELIBDIR%%/django/conf/locale/nb
3240
@dirrm %%PYTHON_SITELIBDIR%%/django/conf/locale/nb
3194
@dirrm %%PYTHON_SITELIBDIR%%/django/conf/locale/mn/LC_MESSAGES
3241
@dirrm %%PYTHON_SITELIBDIR%%/django/conf/locale/mn/LC_MESSAGES
3195
@dirrm %%PYTHON_SITELIBDIR%%/django/conf/locale/mn
3242
@dirrm %%PYTHON_SITELIBDIR%%/django/conf/locale/mn
3243
@dirrm %%PYTHON_SITELIBDIR%%/django/conf/locale/ml/LC_MESSAGES
3244
@dirrm %%PYTHON_SITELIBDIR%%/django/conf/locale/ml
3196
@dirrm %%PYTHON_SITELIBDIR%%/django/conf/locale/mk/LC_MESSAGES
3245
@dirrm %%PYTHON_SITELIBDIR%%/django/conf/locale/mk/LC_MESSAGES
3197
@dirrm %%PYTHON_SITELIBDIR%%/django/conf/locale/mk
3246
@dirrm %%PYTHON_SITELIBDIR%%/django/conf/locale/mk
3198
@dirrm %%PYTHON_SITELIBDIR%%/django/conf/locale/lv/LC_MESSAGES
3247
@dirrm %%PYTHON_SITELIBDIR%%/django/conf/locale/lv/LC_MESSAGES
(-)files/extra-patch-sphinx (-1058 lines)
Removed Link Here
1
--- docs/conf.py	2010-05-18 02:51:50.000000000 +0800
2
+++ docs/conf.py	2010-08-25 02:57:47.931650357 +0800
3
@@ -8,17 +8,21 @@
4
 # The contents of this file are pickled, so don't put values in the namespace
5
 # that aren't pickleable (module imports are okay, they're removed automatically).
6
 #
7
-# All configuration values have a default value; values that are commented out
8
-# serve to show the default value.
9
+# All configuration values have a default; values that are commented out
10
+# serve to show the default.
11
 
12
 import sys
13
 import os
14
 
15
-# If your extensions are in another directory, add it here.
16
-sys.path.append(os.path.join(os.path.dirname(__file__), "_ext"))
17
+# If extensions (or modules to document with autodoc) are in another directory,
18
+# add these directories to sys.path here. If the directory is relative to the
19
+# documentation root, use os.path.abspath to make it absolute, like shown here.
20
+sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), "_ext")))
21
 
22
-# General configuration
23
-# ---------------------
24
+# -- General configuration -----------------------------------------------------
25
+
26
+# If your documentation needs a minimal Sphinx version, state it here.
27
+#needs_sphinx = '1.0'
28
 
29
 # Add any Sphinx extension module names here, as strings. They can be extensions
30
 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
31
@@ -30,6 +34,9 @@
32
 # The suffix of source filenames.
33
 source_suffix = '.txt'
34
 
35
+# The encoding of source files.
36
+#source_encoding = 'utf-8-sig'
37
+
38
 # The master toctree document.
39
 master_doc = 'contents'
40
 
41
@@ -37,8 +44,10 @@
42
 project = 'Django'
43
 copyright = 'Django Software Foundation and contributors'
44
 
45
-# The default replacements for |version| and |release|, also used in various
46
-# other places throughout the built documents.
47
+
48
+# The version info for the project you're documenting, acts as replacement for
49
+# |version| and |release|, also used in various other places throughout the
50
+# built documents.
51
 #
52
 # The short X.Y version.
53
 version = '1.2'
54
@@ -47,14 +56,22 @@
55
 # The next version to be released
56
 django_next_version = '1.3'
57
 
58
+# The language for content autogenerated by Sphinx. Refer to documentation
59
+# for a list of supported languages.
60
+#language = None
61
+
62
 # There are two options for replacing |today|: either, you set today to some
63
 # non-false value, then it is used:
64
 #today = ''
65
 # Else, today_fmt is used as the format for a strftime call.
66
 today_fmt = '%B %d, %Y'
67
 
68
-# List of documents that shouldn't be included in the build.
69
-#unused_docs = []
70
+# List of patterns, relative to source directory, that match files and
71
+# directories to ignore when looking for source files.
72
+exclude_patterns = ['_build']
73
+
74
+# The reST default role (used for this markup: `text`) to use for all documents.
75
+#default_role = None
76
 
77
 # If true, '()' will be appended to :func: etc. cross-reference text.
78
 add_function_parentheses = True
79
@@ -75,13 +92,35 @@
80
 # Note: exclude_dirnames is new in Sphinx 0.5 
81
 exclude_dirnames = ['.svn']
82
 
83
-# Options for HTML output
84
-# -----------------------
85
+# -- Options for HTML output ---------------------------------------------------
86
 
87
-# The style sheet to use for HTML and HTML Help pages. A file of that name
88
-# must exist either in Sphinx' static/ path, or in one of the custom paths
89
-# given in html_static_path.
90
-html_style = 'default.css'
91
+# The theme to use for HTML and HTML Help pages.  See the documentation for
92
+# a list of builtin themes.
93
+html_theme = "djangodocs"
94
+
95
+# Theme options are theme-specific and customize the look and feel of a theme
96
+# further.  For a list of options available for each theme, see the
97
+# documentation.
98
+#html_theme_options = {}
99
+
100
+# Add any paths that contain custom themes here, relative to this directory.
101
+html_theme_path = ["_theme"]
102
+
103
+# The name for this set of Sphinx documents.  If None, it defaults to
104
+# "<project> v<release> documentation".
105
+#html_title = None
106
+
107
+# A shorter title for the navigation bar.  Default is the same as html_title.
108
+#html_short_title = None
109
+
110
+# The name of an image file (relative to this directory) to place at the top
111
+# of the sidebar.
112
+#html_logo = None
113
+
114
+# The name of an image file (within the static path) to use as favicon of the
115
+# docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
116
+# pixels large.
117
+#html_favicon = None
118
 
119
 # Add any paths that contain custom static files (such as style sheets) here,
120
 # relative to this directory. They are copied after the builtin static files,
121
@@ -110,17 +149,38 @@
122
 html_additional_pages = {}
123
 
124
 # If false, no module index is generated.
125
-#html_use_modindex = True
126
+#html_domain_indices = True
127
+
128
+# If false, no index is generated.
129
+#html_use_index = True
130
+
131
+# If true, the index is split into individual pages for each letter.
132
+#html_split_index = False
133
+
134
+# If true, links to the reST sources are added to the pages.
135
+#html_show_sourcelink = True
136
+
137
+# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
138
+#html_show_sphinx = True
139
 
140
-# If true, the reST sources are included in the HTML build as _sources/<name>.
141
-html_copy_source = True
142
+# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
143
+#html_show_copyright = True
144
+
145
+# If true, an OpenSearch description file will be output, and all pages will
146
+# contain a <link> tag referring to it.  The value of this option must be the
147
+# base URL from which the finished HTML is served.
148
+#html_use_opensearch = ''
149
+
150
+# This is the file name suffix for HTML files (e.g. ".xhtml").
151
+#html_file_suffix = None
152
 
153
 # Output file base name for HTML help builder.
154
 htmlhelp_basename = 'Djangodoc'
155
 
156
+modindex_common_prefix = ["django."]
157
 
158
-# Options for LaTeX output
159
-# ------------------------
160
+
161
+# -- Options for LaTeX output --------------------------------------------------
162
 
163
 # The paper size ('letter' or 'a4').
164
 #latex_paper_size = 'letter'
165
@@ -132,9 +192,24 @@
166
 # (source start file, target name, title, author, document class [howto/manual]).
167
 #latex_documents = []
168
 latex_documents = [
169
-  ('contents', 'django.tex', 'Django Documentation', 'Django Software Foundation', 'manual'),
170
+  ('contents', 'django.tex', u'Django Documentation',
171
+   u'Django Software Foundation', 'manual'),
172
 ]
173
 
174
+# The name of an image file (relative to this directory) to place at the top of
175
+# the title page.
176
+#latex_logo = None
177
+
178
+# For "manual" documents, if this is true, then toplevel headings are parts,
179
+# not chapters.
180
+#latex_use_parts = False
181
+
182
+# If true, show page references after internal links.
183
+#latex_show_pagerefs = False
184
+
185
+# If true, show URL addresses after external links.
186
+#latex_show_urls = False
187
+
188
 # Additional stuff for the LaTeX preamble.
189
 #latex_preamble = ''
190
 
191
@@ -142,10 +217,53 @@
192
 #latex_appendices = []
193
 
194
 # If false, no module index is generated.
195
-#latex_use_modindex = True
196
+#latex_domain_indices = True
197
 
198
-# For "manual" documents, if this is true, then toplevel headings are parts,
199
-# not chapters.
200
-# If this isn't set to True, the LaTex writer can only handle six levels of headers.
201
-latex_use_parts = True
202
 
203
+# -- Options for manual page output --------------------------------------------
204
+
205
+# One entry per manual page. List of tuples
206
+# (source start file, name, description, authors, manual section).
207
+man_pages = [
208
+    ('contents', 'django', 'Django Documentation', ['Django Software Foundation'], 1)
209
+]
210
+
211
+
212
+# -- Options for Epub output ---------------------------------------------------
213
+
214
+# Bibliographic Dublin Core info.
215
+epub_title = u'Django'
216
+epub_author = u'Django Software Foundation'
217
+epub_publisher = u'Django Software Foundation'
218
+epub_copyright = u'2010, Django Software Foundation'
219
+
220
+# The language of the text. It defaults to the language option
221
+# or en if the language is not set.
222
+#epub_language = ''
223
+
224
+# The scheme of the identifier. Typical schemes are ISBN or URL.
225
+#epub_scheme = ''
226
+
227
+# The unique identifier of the text. This can be a ISBN number
228
+# or the project homepage.
229
+#epub_identifier = ''
230
+
231
+# A unique identification for the text.
232
+#epub_uid = ''
233
+
234
+# HTML files that should be inserted before the pages created by sphinx.
235
+# The format is a list of tuples containing the path and title.
236
+#epub_pre_files = []
237
+
238
+# HTML files shat should be inserted after the pages created by sphinx.
239
+# The format is a list of tuples containing the path and title.
240
+#epub_post_files = []
241
+
242
+# A list of files that should not be packed into the epub file.
243
+#epub_exclude_files = []
244
+
245
+# The depth of the table of contents in toc.ncx.
246
+#epub_tocdepth = 3
247
+
248
+# Allow duplicate toc entries.
249
+#epub_tocdup = True
250
--- docs/_ext/djangodocs.py	2010-05-08 22:31:20.000000000 +0800
251
+++ docs/_ext/djangodocs.py	2010-08-25 02:57:46.233613541 +0800
252
@@ -88,7 +88,10 @@
253
     if not is_nextversion:
254
         if len(arguments) == 1:
255
             linktext = 'Please, see the release notes <releases-%s>' % (arguments[0])
256
-            xrefs = sphinx.roles.xfileref_role('ref', linktext, linktext, lineno, state)
257
+            try:
258
+                xrefs = sphinx.roles.XRefRole()('ref', linktext, linktext, lineno, state) # Sphinx >= 1.0
259
+            except:
260
+                xrefs = sphinx.roles.xfileref_role('ref', linktext, linktext, lineno, state) # Sphinx < 1.0
261
             node.extend(xrefs[0])
262
         node['version'] = arguments[0]
263
     else:
264
@@ -159,7 +162,7 @@
265
     # better callout -- the Sphinx default is just a little span,
266
     # which is a bit less obvious that I'd like.
267
     #
268
-    # FIXME: these messages are all hardcoded in English. We need to chanage 
269
+    # FIXME: these messages are all hardcoded in English. We need to change
270
     # that to accomodate other language docs, but I can't work out how to make
271
     # that work and I think it'll require Sphinx 0.5 anyway.
272
     #
273
@@ -212,7 +215,10 @@
274
 def parse_django_adminopt_node(env, sig, signode):
275
     """A copy of sphinx.directives.CmdoptionDesc.parse_signature()"""
276
     from sphinx import addnodes
277
-    from sphinx.directives.desc import option_desc_re
278
+    try:
279
+        from sphinx.domains.std import option_desc_re # Sphinx >= 1.0
280
+    except:
281
+        from sphinx.directives.desc import option_desc_re # Sphinx < 1.0
282
     count = 0
283
     firstname = ''
284
     for m in option_desc_re.finditer(sig):
285
@@ -278,9 +284,14 @@
286
             self.warn("cannot create templatebuiltins.js due to missing simplejson dependency")
287
             return
288
         self.info(bold("writing templatebuiltins.js..."))
289
-        xrefs = self.env.reftargets.keys()
290
-        templatebuiltins = dict([('ttags', [n for (t,n) in xrefs if t == 'ttag']),
291
-                                 ('tfilters', [n for (t,n) in xrefs if t == 'tfilter'])])
292
+        try:
293
+            xrefs = self.env.reftargets.keys()
294
+            templatebuiltins = dict([('ttags', [n for (t,n) in xrefs if t == 'ttag']),
295
+                                     ('tfilters', [n for (t,n) in xrefs if t == 'tfilter'])])
296
+        except AttributeError:
297
+            xrefs = self.env.domaindata["std"]["objects"]
298
+            templatebuiltins = dict([('ttags', [n for (t,n) in xrefs if t == 'templatetag']),
299
+                                     ('tfilters', [n for (t,n) in xrefs if t == 'templatefilter'])])
300
         outfilename = os.path.join(self.outdir, "templatebuiltins.js")
301
         f = open(outfilename, 'wb')
302
         f.write('var django_template_builtins = ')
303
--- docs/Makefile	2010-05-08 22:31:20.000000000 +0800
304
+++ docs/Makefile	2010-08-25 02:57:47.932654550 +0800
305
@@ -12,20 +12,26 @@
306
 PAPEROPT_letter = -D latex_paper_size=letter
307
 ALLSPHINXOPTS   = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
308
 
309
-.PHONY: help clean html dirhtml pickle json htmlhelp qthelp latex changes linkcheck doctest
310
+.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest
311
 
312
 help:
313
 	@echo "Please use \`make <target>' where <target> is one of"
314
-	@echo "  html      to make standalone HTML files"
315
-	@echo "  dirhtml   to make HTML files named index.html in directories"
316
-	@echo "  pickle    to make pickle files"
317
-	@echo "  json      to make JSON files"
318
-	@echo "  htmlhelp  to make HTML files and a HTML help project"
319
-	@echo "  qthelp    to make HTML files and a qthelp project"
320
-	@echo "  latex     to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
321
-	@echo "  changes   to make an overview of all changed/added/deprecated items"
322
-	@echo "  linkcheck to check all external links for integrity"
323
-	@echo "  doctest   to run all doctests embedded in the documentation (if enabled)"
324
+	@echo "  html       to make standalone HTML files"
325
+	@echo "  dirhtml    to make HTML files named index.html in directories"
326
+	@echo "  singlehtml to make a single large HTML file"
327
+	@echo "  pickle     to make pickle files"
328
+	@echo "  json       to make JSON files"
329
+	@echo "  htmlhelp   to make HTML files and a HTML help project"
330
+	@echo "  qthelp     to make HTML files and a qthelp project"
331
+	@echo "  devhelp    to make HTML files and a Devhelp project"
332
+	@echo "  epub       to make an epub"
333
+	@echo "  latex      to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
334
+	@echo "  latexpdf   to make LaTeX files and run them through pdflatex"
335
+	@echo "  text       to make text files"
336
+	@echo "  man        to make manual pages"
337
+	@echo "  changes    to make an overview of all changed/added/deprecated items"
338
+	@echo "  linkcheck  to check all external links for integrity"
339
+	@echo "  doctest    to run all doctests embedded in the documentation (if enabled)"
340
 
341
 clean:
342
 	-rm -rf $(BUILDDIR)/*
343
@@ -40,6 +46,11 @@
344
 	@echo
345
 	@echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
346
 
347
+singlehtml:
348
+	$(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
349
+	@echo
350
+	@echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
351
+
352
 pickle:
353
 	$(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
354
 	@echo
355
@@ -65,12 +76,42 @@
356
 	@echo "To view the help file:"
357
 	@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/django.qhc"
358
 
359
+devhelp:
360
+	$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
361
+	@echo
362
+	@echo "Build finished."
363
+	@echo "To view the help file:"
364
+	@echo "# mkdir -p $$HOME/.local/share/devhelp/django"
365
+	@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/django"
366
+	@echo "# devhelp"
367
+
368
+epub:
369
+	$(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
370
+	@echo
371
+	@echo "Build finished. The epub file is in $(BUILDDIR)/epub."
372
+
373
 latex:
374
 	$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
375
 	@echo
376
 	@echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
377
-	@echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \
378
-	      "run these through (pdf)latex."
379
+	@echo "Run \`make' in that directory to run these through (pdf)latex" \
380
+	      "(use \`make latexpdf' here to do that automatically)."
381
+
382
+latexpdf:
383
+	$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
384
+	@echo "Running LaTeX files through pdflatex..."
385
+	make -C $(BUILDDIR)/latex all-pdf
386
+	@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
387
+
388
+text:
389
+	$(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
390
+	@echo
391
+	@echo "Build finished. The text files are in $(BUILDDIR)/text."
392
+
393
+man:
394
+	$(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
395
+	@echo
396
+	@echo "Build finished. The manual pages are in $(BUILDDIR)/man."
397
 
398
 changes:
399
 	$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
400
--- docs/_templates/genindex.html	2008-08-24 06:25:40.000000000 +0800
401
+++ docs/_templates/genindex.html	1970-01-01 08:00:00.000000000 +0800
402
@@ -1,4 +0,0 @@
403
-{% extends "!genindex.html" %}
404
-
405
-{% block bodyclass %}{% endblock %}
406
-{% block sidebarwrapper %}{% endblock %}
407
--- docs/_templates/modindex.html	2008-08-24 06:25:40.000000000 +0800
408
+++ docs/_templates/modindex.html	1970-01-01 08:00:00.000000000 +0800
409
@@ -1,3 +0,0 @@
410
-{% extends "!modindex.html" %}
411
-{% block bodyclass %}{% endblock %}
412
-{% block sidebarwrapper %}{% endblock %}
413
--- docs/_templates/search.html	2008-08-24 06:25:40.000000000 +0800
414
+++ docs/_templates/search.html	1970-01-01 08:00:00.000000000 +0800
415
@@ -1,3 +0,0 @@
416
-{% extends "!search.html" %}
417
-{% block bodyclass %}{% endblock %}
418
-{% block sidebarwrapper %}{% endblock %}
419
--- docs/_theme/djangodocs/genindex.html	1970-01-01 08:00:00.000000000 +0800
420
+++ docs/_theme/djangodocs/genindex.html	2010-08-25 02:57:46.356120964 +0800
421
@@ -0,0 +1,4 @@
422
+{% extends "basic/genindex.html" %}
423
+
424
+{% block bodyclass %}{% endblock %}
425
+{% block sidebarwrapper %}{% endblock %}
426
--- docs/_theme/djangodocs/layout.html	1970-01-01 08:00:00.000000000 +0800
427
+++ docs/_theme/djangodocs/layout.html	2010-08-25 02:57:46.355117049 +0800
428
@@ -0,0 +1,124 @@
429
+{% extends "basic/layout.html" %}
430
+
431
+{%- macro secondnav() %}
432
+  {%- if prev %}
433
+    &laquo; <a href="{{ prev.link|e }}" title="{{ prev.title|e }}">previous</a> 
434
+    {{ reldelim2 }}
435
+  {%- endif %}
436
+  {%- if parents %}
437
+    <a href="{{ parents.0.link|e }}" title="{{ parents.0.title|e }}" accesskey="U">up</a> 
438
+  {%- else %}
439
+    <a title="{{ docstitle }}" href="{{ pathto('index') }}" accesskey="U">up</a> 
440
+  {%- endif %}
441
+  {%- if next %}
442
+  {{ reldelim2 }}
443
+    <a href="{{ next.link|e }}" title="{{ next.title|e }}">next</a> &raquo;
444
+  {%- endif %}
445
+{%- endmacro %}
446
+
447
+{% block extrahead %}
448
+{{ super() }}
449
+<script type="text/javascript" src="{{ pathto('templatebuiltins.js', 1) }}"></script>
450
+<script type="text/javascript">
451
+(function($) {
452
+    if (!django_template_builtins) {
453
+       // templatebuiltins.js missing, do nothing.
454
+       return;
455
+    }
456
+    $(document).ready(function() {
457
+        // Hyperlink Django template tags and filters
458
+        var base = "{{ pathto('ref/templates/builtins') }}";
459
+        if (base == "#") {
460
+            // Special case for builtins.html itself
461
+            base = "";
462
+        }
463
+        // Tags are keywords, class '.k'
464
+        $("div.highlight\\-html\\+django span.k").each(function(i, elem) {
465
+             var tagname = $(elem).text();
466
+             if ($.inArray(tagname, django_template_builtins.ttags) != -1) {
467
+                 var fragment = tagname.replace(/_/, '-');
468
+                 $(elem).html("<a href='" + base + "#" + fragment + "'>" + tagname + "</a>");
469
+             }
470
+        });
471
+        // Filters are functions, class '.nf'
472
+        $("div.highlight\\-html\\+django span.nf").each(function(i, elem) {
473
+             var filtername = $(elem).text();
474
+             if ($.inArray(filtername, django_template_builtins.tfilters) != -1) {
475
+                 var fragment = filtername.replace(/_/, '-');
476
+                 $(elem).html("<a href='" + base + "#" + fragment + "'>" + filtername + "</a>");
477
+             }
478
+        });
479
+    });
480
+})(jQuery);
481
+</script>
482
+{% endblock %}
483
+
484
+{% block document %}
485
+  <div id="custom-doc" class="{% block bodyclass %}{{ 'yui-t6' if pagename != 'index' else '' }}{% endblock %}">
486
+    <div id="hd">
487
+      <h1><a href="{{ pathto('index') }}">{{ docstitle }}</a></h1>
488
+      <div id="global-nav">
489
+        <a title="Home page" href="{{ pathto('index') }}">Home</a> {{ reldelim2 }}
490
+        <a title="Table of contents" href="{{ pathto('contents') }}">Table of contents</a> {{ reldelim2 }}
491
+        <a title="Global index" href="{{ pathto('genindex') }}">Index</a> {{ reldelim2 }}
492
+        <a title="Module index" href="{{ pathto('py-modindex') }}">Modules</a>
493
+      </div>
494
+      <div class="nav">{{ secondnav() }}</div>
495
+    </div>
496
+    
497
+    <div id="bd">
498
+      <div id="yui-main">
499
+        <div class="yui-b">
500
+          <div class="yui-g" id="{{ pagename|replace('/', '-') }}">
501
+            {% block body %}{% endblock %}
502
+          </div>         
503
+        </div>
504
+      </div>
505
+      {% block sidebarwrapper %}
506
+        {% if pagename != 'index' %}
507
+          <div class="yui-b" id="sidebar">
508
+            {{ sidebar() }}
509
+            {%- if last_updated %}
510
+              <h3>Last update:</h3>
511
+              <p class="topless">{{ last_updated }}</p>
512
+            {%- endif %}
513
+          </div> 
514
+        {% endif %}
515
+      {% endblock %}
516
+    </div>
517
+    
518
+    <div id="ft">
519
+      <div class="nav">{{ secondnav() }}</div>
520
+    </div>
521
+  </div>
522
+{% endblock %}
523
+
524
+{% block sidebarrel %}
525
+  <h3>Browse</h3>
526
+  <ul>
527
+    {% if prev %}
528
+      <li>Prev: <a href="{{ prev.link }}">{{ prev.title }}</a></li>
529
+    {% endif %}
530
+    {% if next %}
531
+      <li>Next: <a href="{{ next.link }}">{{ next.title }}</a></li>
532
+    {% endif %}
533
+  </ul>
534
+  <h3>You are here:</h3>
535
+  <ul>
536
+      <li>
537
+        <a href="{{ pathto('index') }}">{{ docstitle }}</a>
538
+        {% for p in parents %}
539
+          <ul><li><a href="{{ p.link }}">{{ p.title }}</a>
540
+        {% endfor %}
541
+        <ul><li>{{ title }}</li></ul>
542
+        {% for p in parents %}</li></ul>{% endfor %}
543
+      </li>
544
+  </ul>  
545
+{% endblock %}
546
+
547
+{# Empty some default blocks out #}
548
+{% block relbar1 %}{% endblock %}
549
+{% block relbar2 %}{% endblock %}
550
+{% block sidebar1 %}{% endblock %}
551
+{% block sidebar2 %}{% endblock %}
552
+{% block footer %}{% endblock %}
553
--- docs/_theme/djangodocs/modindex.html	1970-01-01 08:00:00.000000000 +0800
554
+++ docs/_theme/djangodocs/modindex.html	2010-08-25 02:57:46.358129351 +0800
555
@@ -0,0 +1,3 @@
556
+{% extends "basic/modindex.html" %}
557
+{% block bodyclass %}{% endblock %}
558
+{% block sidebarwrapper %}{% endblock %}
559
--- docs/_theme/djangodocs/search.html	1970-01-01 08:00:00.000000000 +0800
560
+++ docs/_theme/djangodocs/search.html	2010-08-25 02:57:46.357125157 +0800
561
@@ -0,0 +1,3 @@
562
+{% extends "basic/search.html" %}
563
+{% block bodyclass %}{% endblock %}
564
+{% block sidebarwrapper %}{% endblock %}
565
--- docs/_theme/djangodocs/static/default.css	1970-01-01 08:00:00.000000000 +0800
566
+++ docs/_theme/djangodocs/static/default.css	2010-08-25 02:57:46.347083501 +0800
567
@@ -0,0 +1,3 @@
568
+@import url(reset-fonts-grids.css);
569
+@import url(djangodocs.css);
570
+@import url(homepage.css);
571
--- docs/_theme/djangodocs/static/djangodocs.css	1970-01-01 08:00:00.000000000 +0800
572
+++ docs/_theme/djangodocs/static/djangodocs.css	2010-08-25 02:57:46.345075673 +0800
573
@@ -0,0 +1,135 @@
574
+/*** setup ***/
575
+html { background:#092e20;}
576
+body { font:12px/1.5 Verdana,sans-serif; background:#092e20; color: white;}
577
+#custom-doc { width:76.54em;*width:74.69em;min-width:995px; max-width:100em; margin:auto; text-align:left; padding-top:16px; margin-top:0;} 
578
+#hd { padding: 4px 0 12px 0; }
579
+#bd { background:#234F32; }
580
+#ft { color:#487858; font-size:90%; padding-bottom: 2em; }
581
+
582
+/*** links ***/
583
+a {text-decoration: none;}
584
+a img {border: none;}
585
+a:link, a:visited { color:#ffc757; }
586
+#bd a:link, #bd a:visited { color:#ab5603; text-decoration:underline; }
587
+#bd #sidebar a:link, #bd #sidebar a:visited { color:#ffc757; text-decoration:none; }
588
+a:hover { color:#ffe761; }
589
+#bd a:hover { background-color:#E0FFB8; color:#234f32; text-decoration:none; }
590
+#bd #sidebar a:hover { color:#ffe761; background:none; }
591
+h2 a, h3 a, h4 a { text-decoration:none !important; }
592
+a.reference em { font-style: normal; }
593
+
594
+/*** sidebar ***/
595
+#sidebar div.sphinxsidebarwrapper { font-size:92%; margin-right: 14px; }
596
+#sidebar h3, #sidebar h4 { color: white; font-size: 125%; }
597
+#sidebar a { color: white; }
598
+#sidebar ul ul { margin-top:0; margin-bottom:0; }
599
+#sidebar li { margin-top: 0.2em; margin-bottom: 0.2em; }
600
+
601
+/*** nav ***/
602
+div.nav { margin: 0; font-size: 11px; text-align: right; color: #487858;}
603
+#hd div.nav { margin-top: -27px; }
604
+#ft div.nav { margin-bottom: -18px; }
605
+#hd h1 a { color: white; }
606
+#global-nav { position:absolute; top:5px; margin-left: -5px; padding:7px 0; color:#263E2B; }
607
+#global-nav a:link, #global-nav a:visited {color:#487858;}
608
+#global-nav a {padding:0 4px;}
609
+#global-nav a.about {padding-left:0;}
610
+#global-nav:hover {color:#fff;}
611
+#global-nav:hover a:link, #global-nav:hover a:visited  { color:#ffc757; }
612
+
613
+/*** content ***/
614
+#yui-main div.yui-b { position: relative; }
615
+#yui-main div.yui-b { margin: 0 0 0 20px; background: white; color: black; padding: 0.3em 2em 1em 2em; }
616
+
617
+/*** basic styles ***/
618
+dd { margin-left:15px; }
619
+h1,h2,h3,h4 { margin-top:1em; font-family:"Trebuchet MS",sans-serif; font-weight:normal; }
620
+h1 { font-size:218%; margin-top:0.6em; margin-bottom:.4em; line-height:1.1em; }
621
+h2 { font-size:175%; margin-bottom:.6em; line-height:1.2em; color:#092e20; }
622
+h3 { font-size:150%; font-weight:bold; margin-bottom:.2em; color:#487858; }
623
+h4 { font-size:125%; font-weight:bold; margin-top:1.5em; margin-bottom:3px; }
624
+div.figure { text-align: center; }
625
+div.figure p.caption { font-size:1em; margin-top:0; margin-bottom:1.5em; color: #555;}
626
+hr { color:#ccc; background-color:#ccc; height:1px; border:0; }
627
+p, ul, dl { margin-top:.6em; margin-bottom:1em; padding-bottom: 0.1em;}
628
+#yui-main div.yui-b img { max-width: 50em; margin-left: auto; margin-right: auto; display: block; }
629
+caption { font-size:1em; font-weight:bold; margin-top:0.5em; margin-bottom:0.5em; margin-left: 2px; text-align: center; }
630
+blockquote { padding: 0 1em; margin: 1em 0; font:125%/1.2em "Trebuchet MS", sans-serif; color:#234f32; border-left:2px solid #94da3a; } 
631
+strong { font-weight: bold; }
632
+em { font-style: italic; }
633
+ins { font-weight: bold; text-decoration: none; }
634
+
635
+/*** lists ***/
636
+ul { padding-left:30px; }
637
+ol { padding-left:30px; }
638
+ol.arabic li { list-style-type: decimal; }
639
+ul li { list-style-type:square; margin-bottom:.4em; }
640
+ol li { margin-bottom: .4em; }
641
+ul ul { padding-left:1.2em; }
642
+ul ul ul { padding-left:1em; }
643
+ul.linklist, ul.toc { padding-left:0; }
644
+ul.toc ul { margin-left:.6em; }
645
+ul.toc ul li { list-style-type:square; }
646
+ul.toc ul ul li { list-style-type:disc; }
647
+ul.linklist li, ul.toc li { list-style-type:none; }
648
+dt { font-weight:bold; margin-top:.5em; font-size:1.1em; }
649
+dd { margin-bottom:.8em; }
650
+ol.toc { margin-bottom: 2em; }
651
+ol.toc li { font-size:125%; padding: .5em; line-height:1.2em; clear: right; }
652
+ol.toc li.b { background-color: #E0FFB8; }
653
+ol.toc li a:hover { background-color: transparent !important; text-decoration: underline !important; }
654
+ol.toc span.release-date { color:#487858; float: right; font-size: 85%; padding-right: .5em; }
655
+ol.toc span.comment-count { font-size: 75%; color: #999; }
656
+
657
+/*** tables ***/
658
+table { color:#000; margin-bottom: 1em; width: 100%; }
659
+table.docutils td p { margin-top:0; margin-bottom:.5em; }
660
+table.docutils td, table.docutils th { border-bottom:1px solid #dfdfdf; padding:4px 2px;}
661
+table.docutils thead th { border-bottom:2px solid #dfdfdf; text-align:left; font-weight: bold; white-space: nowrap; }
662
+table.docutils thead th p { margin: 0; padding: 0; }
663
+table.docutils { border-collapse:collapse; }
664
+
665
+/*** code blocks ***/
666
+.literal { white-space:nowrap; }
667
+.literal { color:#234f32; }
668
+#sidebar .literal { color:white; background:transparent; font-size:11px; }
669
+h4 .literal { color: #234f32; font-size: 13px; }
670
+pre { font-size:small; background:#E0FFB8; border:1px solid #94da3a; border-width:1px 0; margin: 1em 0; padding: .3em .4em; overflow: hidden; line-height: 1.3em;}
671
+dt .literal, table .literal { background:none; }
672
+#bd a.reference { text-decoration: none; }
673
+#bd a.reference tt.literal { border-bottom: 1px #234f32 dotted; }
674
+
675
+/* Restore colors of pygments hyperlinked code */
676
+#bd .highlight .k a:link, #bd .highlight .k a:visited { color: #000000; text-decoration: none; border-bottom: 1px dotted #000000; }
677
+#bd .highlight .nf a:link, #bd .highlight .nf a:visited { color: #990000; text-decoration: none; border-bottom: 1px dotted #990000; }
678
+
679
+
680
+/*** notes & admonitions ***/
681
+.note, .admonition { padding:.8em 1em .8em; margin: 1em 0; border:1px solid #94da3a; }
682
+.admonition-title { font-weight:bold; margin-top:0 !important; margin-bottom:0 !important;}
683
+.admonition .last { margin-bottom:0 !important; }
684
+.note, .admonition { padding-left:65px; background:url(docicons-note.png) .8em .8em no-repeat;}
685
+div.admonition-philosophy { padding-left:65px; background:url(docicons-philosophy.png) .8em .8em no-repeat;}
686
+div.admonition-behind-the-scenes { padding-left:65px; background:url(docicons-behindscenes.png) .8em .8em no-repeat;}
687
+
688
+/*** versoinadded/changes ***/
689
+div.versionadded, div.versionchanged {  }
690
+div.versionadded span.title, div.versionchanged span.title { font-weight: bold; }
691
+
692
+/*** p-links ***/
693
+a.headerlink { color: #c60f0f; font-size: 0.8em; padding: 0 4px 0 4px; text-decoration: none; visibility: hidden; }
694
+h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, h4:hover > a.headerlink, h5:hover > a.headerlink, h6:hover > a.headerlink, dt:hover > a.headerlink { visibility: visible; }
695
+
696
+/*** index ***/
697
+table.indextable td { text-align: left; vertical-align: top;}
698
+table.indextable dl, table.indextable dd { margin-top: 0; margin-bottom: 0; }
699
+table.indextable tr.pcap { height: 10px; }
700
+table.indextable tr.cap { margin-top: 10px; background-color: #f2f2f2;}
701
+
702
+/*** page-specific overrides ***/
703
+div#contents ul { margin-bottom: 0;}
704
+div#contents ul li { margin-bottom: 0;}
705
+div#contents ul ul li { margin-top: 0.3em;}
706
+
707
+/*** IE hacks ***/
708
+* pre { width: 100%; }
709
--- docs/_theme/djangodocs/static/homepage.css	1970-01-01 08:00:00.000000000 +0800
710
+++ docs/_theme/djangodocs/static/homepage.css	2010-08-25 02:57:46.349091888 +0800
711
@@ -0,0 +1,22 @@
712
+#index p.rubric { font-size:150%; font-weight:normal; margin-bottom:.2em; color:#487858; }
713
+
714
+#index div.section dt { font-weight: normal; }
715
+
716
+#index #s-getting-help { float: right; width: 35em; background: #E1ECE2; padding: 1em; margin: 2em 0 2em 2em; }
717
+#index #s-getting-help h2 { margin: 0; }
718
+
719
+#index #s-django-documentation div.section div.section h3 { margin: 0; }
720
+#index #s-django-documentation div.section div.section { background: #E1ECE2; padding: 1em; margin: 2em 0 2em 40.3em; }
721
+#index #s-django-documentation div.section div.section a.reference { white-space: nowrap; }
722
+
723
+#index #s-using-django dl,
724
+#index #s-add-on-contrib-applications dl,
725
+#index #s-solving-specific-problems dl,
726
+#index #s-reference dl
727
+    { float: left; width: 41em; }
728
+
729
+#index #s-add-on-contrib-applications,
730
+#index #s-solving-specific-problems,
731
+#index #s-reference,
732
+#index #s-and-all-the-rest
733
+    { clear: left; }
734
--- docs/_theme/djangodocs/static/reset-fonts-grids.css	1970-01-01 08:00:00.000000000 +0800
735
+++ docs/_theme/djangodocs/static/reset-fonts-grids.css	2010-08-25 02:57:46.346079308 +0800
736
@@ -0,0 +1,8 @@
737
+/*
738
+Copyright (c) 2008, Yahoo! Inc. All rights reserved.
739
+Code licensed under the BSD License:
740
+http://developer.yahoo.net/yui/license.txt
741
+version: 2.5.1
742
+*/
743
+html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym {border:0;font-variant:normal;}sup {vertical-align:text-top;}sub {vertical-align:text-bottom;}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}input,textarea,select{*font-size:100%;}legend{color:#000;}body {font:13px/1.231 arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;}table {font-size:inherit;font:100%;}pre,code,kbd,samp,tt{font-family:monospace;*font-size:108%;line-height:100%;}
744
+body{text-align:center;}#ft{clear:both;}#doc,#doc2,#doc3,#doc4,.yui-t1,.yui-t2,.yui-t3,.yui-t4,.yui-t5,.yui-t6,.yui-t7{margin:auto;text-align:left;width:57.69em;*width:56.25em;min-width:750px;}#doc2{width:73.076em;*width:71.25em;}#doc3{margin:auto 10px;width:auto;}#doc4{width:74.923em;*width:73.05em;}.yui-b{position:relative;}.yui-b{_position:static;}#yui-main .yui-b{position:static;}#yui-main{width:100%;}.yui-t1 #yui-main,.yui-t2 #yui-main,.yui-t3 #yui-main{float:right;margin-left:-25em;}.yui-t4 #yui-main,.yui-t5 #yui-main,.yui-t6 #yui-main{float:left;margin-right:-25em;}.yui-t1 .yui-b{float:left;width:12.30769em;*width:12.00em;}.yui-t1 #yui-main .yui-b{margin-left:13.30769em;*margin-left:13.05em;}.yui-t2 .yui-b{float:left;width:13.8461em;*width:13.50em;}.yui-t2 #yui-main .yui-b{margin-left:14.8461em;*margin-left:14.55em;}.yui-t3 .yui-b{float:left;width:23.0769em;*width:22.50em;}.yui-t3 #yui-main .yui-b{margin-left:24.0769em;*margin-left:23.62em;}.yui-t4 .yui-b{float:right;width:13.8456em;*width:13.50em;}.yui-t4 #yui-main .yui-b{margin-right:14.8456em;*margin-right:14.55em;}.yui-t5 .yui-b{float:right;width:18.4615em;*width:18.00em;}.yui-t5 #yui-main .yui-b{margin-right:19.4615em;*margin-right:19.125em;}.yui-t6 .yui-b{float:right;width:23.0769em;*width:22.50em;}.yui-t6 #yui-main .yui-b{margin-right:24.0769em;*margin-right:23.62em;}.yui-t7 #yui-main .yui-b{display:block;margin:0 0 1em 0;}#yui-main .yui-b{float:none;width:auto;}.yui-gb .yui-u,.yui-g .yui-gb .yui-u,.yui-gb .yui-g,.yui-gb .yui-gb,.yui-gb .yui-gc,.yui-gb .yui-gd,.yui-gb .yui-ge,.yui-gb .yui-gf,.yui-gc .yui-u,.yui-gc .yui-g,.yui-gd .yui-u{float:left;}.yui-g .yui-u,.yui-g .yui-g,.yui-g .yui-gb,.yui-g .yui-gc,.yui-g .yui-gd,.yui-g .yui-ge,.yui-g .yui-gf,.yui-gc .yui-u,.yui-gd .yui-g,.yui-g .yui-gc .yui-u,.yui-ge .yui-u,.yui-ge .yui-g,.yui-gf .yui-g,.yui-gf .yui-u{float:right;}.yui-g div.first,.yui-gb div.first,.yui-gc div.first,.yui-gd div.first,.yui-ge div.first,.yui-gf div.first,.yui-g .yui-gc div.first,.yui-g .yui-ge div.first,.yui-gc div.first div.first{float:left;}.yui-g .yui-u,.yui-g .yui-g,.yui-g .yui-gb,.yui-g .yui-gc,.yui-g .yui-gd,.yui-g .yui-ge,.yui-g .yui-gf{width:49.1%;}.yui-gb .yui-u,.yui-g .yui-gb .yui-u,.yui-gb .yui-g,.yui-gb .yui-gb,.yui-gb .yui-gc,.yui-gb .yui-gd,.yui-gb .yui-ge,.yui-gb .yui-gf,.yui-gc .yui-u,.yui-gc .yui-g,.yui-gd .yui-u{width:32%;margin-left:1.99%;}.yui-gb .yui-u{*margin-left:1.9%;*width:31.9%;}.yui-gc div.first,.yui-gd .yui-u{width:66%;}.yui-gd div.first{width:32%;}.yui-ge div.first,.yui-gf .yui-u{width:74.2%;}.yui-ge .yui-u,.yui-gf div.first{width:24%;}.yui-g .yui-gb div.first,.yui-gb div.first,.yui-gc div.first,.yui-gd div.first{margin-left:0;}.yui-g .yui-g .yui-u,.yui-gb .yui-g .yui-u,.yui-gc .yui-g .yui-u,.yui-gd .yui-g .yui-u,.yui-ge .yui-g .yui-u,.yui-gf .yui-g .yui-u{width:49%;*width:48.1%;*margin-left:0;}.yui-g .yui-gb div.first,.yui-gb .yui-gb div.first{*margin-right:0;*width:32%;_width:31.7%;}.yui-g .yui-gc div.first,.yui-gd .yui-g{width:66%;}.yui-gb .yui-g div.first{*margin-right:4%;_margin-right:1.3%;}.yui-gb .yui-gc div.first,.yui-gb .yui-gd div.first{*margin-right:0;}.yui-gb .yui-gb .yui-u,.yui-gb .yui-gc .yui-u{*margin-left:1.8%;_margin-left:4%;}.yui-g .yui-gb .yui-u{_margin-left:1.0%;}.yui-gb .yui-gd .yui-u{*width:66%;_width:61.2%;}.yui-gb .yui-gd div.first{*width:31%;_width:29.5%;}.yui-g .yui-gc .yui-u,.yui-gb .yui-gc .yui-u{width:32%;_float:right;margin-right:0;_margin-left:0;}.yui-gb .yui-gc div.first{width:66%;*float:left;*margin-left:0;}.yui-gb .yui-ge .yui-u,.yui-gb .yui-gf .yui-u{margin:0;}.yui-gb .yui-gb .yui-u{_margin-left:.7%;}.yui-gb .yui-g div.first,.yui-gb .yui-gb div.first{*margin-left:0;}.yui-gc .yui-g .yui-u,.yui-gd .yui-g .yui-u{*width:48.1%;*margin-left:0;}s .yui-gb .yui-gd div.first{width:32%;}.yui-g .yui-gd div.first{_width:29.9%;}.yui-ge .yui-g{width:24%;}.yui-gf .yui-g{width:74.2%;}.yui-gb .yui-ge div.yui-u,.yui-gb .yui-gf div.yui-u{float:right;}.yui-gb .yui-ge div.first,.yui-gb .yui-gf div.first{float:left;}.yui-gb .yui-ge .yui-u,.yui-gb .yui-gf div.first{*width:24%;_width:20%;}.yui-gb .yui-ge div.first,.yui-gb .yui-gf .yui-u{*width:73.5%;_width:65.5%;}.yui-ge div.first .yui-gd .yui-u{width:65%;}.yui-ge div.first .yui-gd div.first{width:32%;}#bd:after,.yui-g:after,.yui-gb:after,.yui-gc:after,.yui-gd:after,.yui-ge:after,.yui-gf:after{content:".";display:block;height:0;clear:both;visibility:hidden;}#bd,.yui-g,.yui-gb,.yui-gc,.yui-gd,.yui-ge,.yui-gf{zoom:1;}
745
--- docs/_theme/djangodocs/theme.conf	1970-01-01 08:00:00.000000000 +0800
746
+++ docs/_theme/djangodocs/theme.conf	2010-08-25 02:57:46.356120964 +0800
747
@@ -0,0 +1,4 @@
748
+[theme]
749
+inherit = basic
750
+stylesheet = default.css
751
+pygments_style = trac
752
--- docs/_templates/layout.html	2010-05-08 22:31:20.000000000 +0800
753
+++ docs/_templates/layout.html	1970-01-01 08:00:00.000000000 +0800
754
@@ -1,124 +0,0 @@
755
-{% extends "!layout.html" %}
756
-
757
-{%- macro secondnav() %}
758
-  {%- if prev %}
759
-    &laquo; <a href="{{ prev.link|e }}" title="{{ prev.title|e }}">previous</a> 
760
-    {{ reldelim2 }}
761
-  {%- endif %}
762
-  {%- if parents %}
763
-    <a href="{{ parents.0.link|e }}" title="{{ parents.0.title|e }}" accesskey="U">up</a> 
764
-  {%- else %}
765
-    <a title="{{ docstitle }}" href="{{ pathto('index') }}" accesskey="U">up</a> 
766
-  {%- endif %}
767
-  {%- if next %}
768
-  {{ reldelim2 }}
769
-    <a href="{{ next.link|e }}" title="{{ next.title|e }}">next</a> &raquo;
770
-  {%- endif %}
771
-{%- endmacro %}
772
-
773
-{% block extrahead %}
774
-{{ super() }}
775
-<script type="text/javascript" src="{{ pathto('templatebuiltins.js', 1) }}"></script>
776
-<script type="text/javascript">
777
-(function($) {
778
-    if (!django_template_builtins) {
779
-       // templatebuiltins.js missing, do nothing.
780
-       return;
781
-    }
782
-    $(document).ready(function() {
783
-        // Hyperlink Django template tags and filters
784
-        var base = "{{ pathto('ref/templates/builtins') }}";
785
-        if (base == "#") {
786
-            // Special case for builtins.html itself
787
-            base = "";
788
-        }
789
-        // Tags are keywords, class '.k'
790
-        $("div.highlight\\-html\\+django span.k").each(function(i, elem) {
791
-             var tagname = $(elem).text();
792
-             if ($.inArray(tagname, django_template_builtins.ttags) != -1) {
793
-                 var fragment = tagname.replace(/_/, '-');
794
-                 $(elem).html("<a href='" + base + "#" + fragment + "'>" + tagname + "</a>");
795
-             }
796
-        });
797
-        // Filters are functions, class '.nf'
798
-        $("div.highlight\\-html\\+django span.nf").each(function(i, elem) {
799
-             var filtername = $(elem).text();
800
-             if ($.inArray(filtername, django_template_builtins.tfilters) != -1) {
801
-                 var fragment = filtername.replace(/_/, '-');
802
-                 $(elem).html("<a href='" + base + "#" + fragment + "'>" + filtername + "</a>");
803
-             }
804
-        });
805
-    });
806
-})(jQuery);
807
-</script>
808
-{% endblock %}
809
-
810
-{% block document %}
811
-  <div id="custom-doc" class="{% block bodyclass %}{{ 'yui-t6' if pagename != 'index' else '' }}{% endblock %}">
812
-    <div id="hd">
813
-      <h1><a href="{{ pathto('index') }}">{{ docstitle }}</a></h1>
814
-      <div id="global-nav">
815
-        <a title="Home page" href="{{ pathto('index') }}">Home</a> {{ reldelim2 }}
816
-        <a title="Table of contents" href="{{ pathto('contents') }}">Table of contents</a> {{ reldelim2 }}
817
-        <a title="Global index" href="{{ pathto('genindex') }}">Index</a> {{ reldelim2 }}
818
-        <a title="Module index" href="{{ pathto('modindex') }}">Modules</a>
819
-      </div>
820
-      <div class="nav">{{ secondnav() }}</div>
821
-    </div>
822
-    
823
-    <div id="bd">
824
-      <div id="yui-main">
825
-        <div class="yui-b">
826
-          <div class="yui-g" id="{{ pagename|replace('/', '-') }}">
827
-            {% block body %}{% endblock %}
828
-          </div>         
829
-        </div>
830
-      </div>
831
-      {% block sidebarwrapper %}
832
-        {% if pagename != 'index' %}
833
-          <div class="yui-b" id="sidebar">
834
-            {{ sidebar() }}
835
-            {%- if last_updated %}
836
-              <h3>Last update:</h3>
837
-              <p class="topless">{{ last_updated }}</p>
838
-            {%- endif %}
839
-          </div> 
840
-        {% endif %}
841
-      {% endblock %}
842
-    </div>
843
-    
844
-    <div id="ft">
845
-      <div class="nav">{{ secondnav() }}</div>
846
-    </div>
847
-  </div>
848
-{% endblock %}
849
-
850
-{% block sidebarrel %}
851
-  <h3>Browse</h3>
852
-  <ul>
853
-    {% if prev %}
854
-      <li>Prev: <a href="{{ prev.link }}">{{ prev.title }}</a></li>
855
-    {% endif %}
856
-    {% if next %}
857
-      <li>Next: <a href="{{ next.link }}">{{ next.title }}</a></li>
858
-    {% endif %}
859
-  </ul>
860
-  <h3>You are here:</h3>
861
-  <ul>
862
-      <li>
863
-        <a href="{{ pathto('index') }}">{{ docstitle }}</a>
864
-        {% for p in parents %}
865
-          <ul><li><a href="{{ p.link }}">{{ p.title }}</a>
866
-        {% endfor %}
867
-        <ul><li>{{ title }}</li></ul>
868
-        {% for p in parents %}</li></ul>{% endfor %}
869
-      </li>
870
-  </ul>  
871
-{% endblock %}
872
-
873
-{# Empty some default blocks out #}
874
-{% block relbar1 %}{% endblock %}
875
-{% block relbar2 %}{% endblock %}
876
-{% block sidebar1 %}{% endblock %}
877
-{% block sidebar2 %}{% endblock %}
878
-{% block footer %}{% endblock %}
879
--- docs/_static/default.css	2008-08-24 06:25:40.000000000 +0800
880
+++ docs/_static/default.css	1970-01-01 08:00:00.000000000 +0800
881
@@ -1,3 +0,0 @@
882
-@import url(reset-fonts-grids.css);
883
-@import url(djangodocs.css);
884
-@import url(homepage.css);
885
--- docs/_static/djangodocs.css	2010-05-08 22:31:20.000000000 +0800
886
+++ docs/_static/djangodocs.css	1970-01-01 08:00:00.000000000 +0800
887
@@ -1,135 +0,0 @@
888
-/*** setup ***/
889
-html { background:#092e20;}
890
-body { font:12px/1.5 Verdana,sans-serif; background:#092e20; color: white;}
891
-#custom-doc { width:76.54em;*width:74.69em;min-width:995px; max-width:100em; margin:auto; text-align:left; padding-top:16px; margin-top:0;} 
892
-#hd { padding: 4px 0 12px 0; }
893
-#bd { background:#234F32; }
894
-#ft { color:#487858; font-size:90%; padding-bottom: 2em; }
895
-
896
-/*** links ***/
897
-a {text-decoration: none;}
898
-a img {border: none;}
899
-a:link, a:visited { color:#ffc757; }
900
-#bd a:link, #bd a:visited { color:#ab5603; text-decoration:underline; }
901
-#bd #sidebar a:link, #bd #sidebar a:visited { color:#ffc757; text-decoration:none; }
902
-a:hover { color:#ffe761; }
903
-#bd a:hover { background-color:#E0FFB8; color:#234f32; text-decoration:none; }
904
-#bd #sidebar a:hover { color:#ffe761; background:none; }
905
-h2 a, h3 a, h4 a { text-decoration:none !important; }
906
-a.reference em { font-style: normal; }
907
-
908
-/*** sidebar ***/
909
-#sidebar div.sphinxsidebarwrapper { font-size:92%; margin-right: 14px; }
910
-#sidebar h3, #sidebar h4 { color: white; font-size: 125%; }
911
-#sidebar a { color: white; }
912
-#sidebar ul ul { margin-top:0; margin-bottom:0; }
913
-#sidebar li { margin-top: 0.2em; margin-bottom: 0.2em; }
914
-
915
-/*** nav ***/
916
-div.nav { margin: 0; font-size: 11px; text-align: right; color: #487858;}
917
-#hd div.nav { margin-top: -27px; }
918
-#ft div.nav { margin-bottom: -18px; }
919
-#hd h1 a { color: white; }
920
-#global-nav { position:absolute; top:5px; margin-left: -5px; padding:7px 0; color:#263E2B; }
921
-#global-nav a:link, #global-nav a:visited {color:#487858;}
922
-#global-nav a {padding:0 4px;}
923
-#global-nav a.about {padding-left:0;}
924
-#global-nav:hover {color:#fff;}
925
-#global-nav:hover a:link, #global-nav:hover a:visited  { color:#ffc757; }
926
-
927
-/*** content ***/
928
-#yui-main div.yui-b { position: relative; }
929
-#yui-main div.yui-b { margin: 0 0 0 20px; background: white; color: black; padding: 0.3em 2em 1em 2em; }
930
-
931
-/*** basic styles ***/
932
-dd { margin-left:15px; }
933
-h1,h2,h3,h4 { margin-top:1em; font-family:"Trebuchet MS",sans-serif; font-weight:normal; }
934
-h1 { font-size:218%; margin-top:0.6em; margin-bottom:.4em; line-height:1.1em; }
935
-h2 { font-size:175%; margin-bottom:.6em; line-height:1.2em; color:#092e20; }
936
-h3 { font-size:150%; font-weight:bold; margin-bottom:.2em; color:#487858; }
937
-h4 { font-size:125%; font-weight:bold; margin-top:1.5em; margin-bottom:3px; }
938
-div.figure { text-align: center; }
939
-div.figure p.caption { font-size:1em; margin-top:0; margin-bottom:1.5em; color: #555;}
940
-hr { color:#ccc; background-color:#ccc; height:1px; border:0; }
941
-p, ul, dl { margin-top:.6em; margin-bottom:1em; padding-bottom: 0.1em;}
942
-#yui-main div.yui-b img { max-width: 50em; margin-left: auto; margin-right: auto; display: block; }
943
-caption { font-size:1em; font-weight:bold; margin-top:0.5em; margin-bottom:0.5em; margin-left: 2px; text-align: center; }
944
-blockquote { padding: 0 1em; margin: 1em 0; font:125%/1.2em "Trebuchet MS", sans-serif; color:#234f32; border-left:2px solid #94da3a; } 
945
-strong { font-weight: bold; }
946
-em { font-style: italic; }
947
-ins { font-weight: bold; text-decoration: none; }
948
-
949
-/*** lists ***/
950
-ul { padding-left:30px; }
951
-ol { padding-left:30px; }
952
-ol.arabic li { list-style-type: decimal; }
953
-ul li { list-style-type:square; margin-bottom:.4em; }
954
-ol li { margin-bottom: .4em; }
955
-ul ul { padding-left:1.2em; }
956
-ul ul ul { padding-left:1em; }
957
-ul.linklist, ul.toc { padding-left:0; }
958
-ul.toc ul { margin-left:.6em; }
959
-ul.toc ul li { list-style-type:square; }
960
-ul.toc ul ul li { list-style-type:disc; }
961
-ul.linklist li, ul.toc li { list-style-type:none; }
962
-dt { font-weight:bold; margin-top:.5em; font-size:1.1em; }
963
-dd { margin-bottom:.8em; }
964
-ol.toc { margin-bottom: 2em; }
965
-ol.toc li { font-size:125%; padding: .5em; line-height:1.2em; clear: right; }
966
-ol.toc li.b { background-color: #E0FFB8; }
967
-ol.toc li a:hover { background-color: transparent !important; text-decoration: underline !important; }
968
-ol.toc span.release-date { color:#487858; float: right; font-size: 85%; padding-right: .5em; }
969
-ol.toc span.comment-count { font-size: 75%; color: #999; }
970
-
971
-/*** tables ***/
972
-table { color:#000; margin-bottom: 1em; width: 100%; }
973
-table.docutils td p { margin-top:0; margin-bottom:.5em; }
974
-table.docutils td, table.docutils th { border-bottom:1px solid #dfdfdf; padding:4px 2px;}
975
-table.docutils thead th { border-bottom:2px solid #dfdfdf; text-align:left; font-weight: bold; white-space: nowrap; }
976
-table.docutils thead th p { margin: 0; padding: 0; }
977
-table.docutils { border-collapse:collapse; }
978
-
979
-/*** code blocks ***/
980
-.literal { white-space:nowrap; }
981
-.literal { color:#234f32; }
982
-#sidebar .literal { color:white; background:transparent; font-size:11px; }
983
-h4 .literal { color: #234f32; font-size: 13px; }
984
-pre { font-size:small; background:#E0FFB8; border:1px solid #94da3a; border-width:1px 0; margin: 1em 0; padding: .3em .4em; overflow: hidden; line-height: 1.3em;}
985
-dt .literal, table .literal { background:none; }
986
-#bd a.reference { text-decoration: none; }
987
-#bd a.reference tt.literal { border-bottom: 1px #234f32 dotted; }
988
-
989
-/* Restore colors of pygments hyperlinked code */
990
-#bd .highlight .k a:link, #bd .highlight .k a:visited { color: #000000; text-decoration: none; border-bottom: 1px dotted #000000; }
991
-#bd .highlight .nf a:link, #bd .highlight .nf a:visited { color: #990000; text-decoration: none; border-bottom: 1px dotted #990000; }
992
-
993
-
994
-/*** notes & admonitions ***/
995
-.note, .admonition { padding:.8em 1em .8em; margin: 1em 0; border:1px solid #94da3a; }
996
-.admonition-title { font-weight:bold; margin-top:0 !important; margin-bottom:0 !important;}
997
-.admonition .last { margin-bottom:0 !important; }
998
-.note, .admonition { padding-left:65px; background:url(docicons-note.png) .8em .8em no-repeat;}
999
-div.admonition-philosophy { padding-left:65px; background:url(docicons-philosophy.png) .8em .8em no-repeat;}
1000
-div.admonition-behind-the-scenes { padding-left:65px; background:url(docicons-behindscenes.png) .8em .8em no-repeat;}
1001
-
1002
-/*** versoinadded/changes ***/
1003
-div.versionadded, div.versionchanged {  }
1004
-div.versionadded span.title, div.versionchanged span.title { font-weight: bold; }
1005
-
1006
-/*** p-links ***/
1007
-a.headerlink { color: #c60f0f; font-size: 0.8em; padding: 0 4px 0 4px; text-decoration: none; visibility: hidden; }
1008
-h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, h4:hover > a.headerlink, h5:hover > a.headerlink, h6:hover > a.headerlink, dt:hover > a.headerlink { visibility: visible; }
1009
-
1010
-/*** index ***/
1011
-table.indextable td { text-align: left; vertical-align: top;}
1012
-table.indextable dl, table.indextable dd { margin-top: 0; margin-bottom: 0; }
1013
-table.indextable tr.pcap { height: 10px; }
1014
-table.indextable tr.cap { margin-top: 10px; background-color: #f2f2f2;}
1015
-
1016
-/*** page-specific overrides ***/
1017
-div#contents ul { margin-bottom: 0;}
1018
-div#contents ul li { margin-bottom: 0;}
1019
-div#contents ul ul li { margin-top: 0.3em;}
1020
-
1021
-/*** IE hacks ***/
1022
-* pre { width: 100%; }
1023
--- docs/_static/homepage.css	2008-08-24 06:25:40.000000000 +0800
1024
+++ docs/_static/homepage.css	1970-01-01 08:00:00.000000000 +0800
1025
@@ -1,22 +0,0 @@
1026
-#index p.rubric { font-size:150%; font-weight:normal; margin-bottom:.2em; color:#487858; }
1027
-
1028
-#index div.section dt { font-weight: normal; }
1029
-
1030
-#index #s-getting-help { float: right; width: 35em; background: #E1ECE2; padding: 1em; margin: 2em 0 2em 2em; }
1031
-#index #s-getting-help h2 { margin: 0; }
1032
-
1033
-#index #s-django-documentation div.section div.section h3 { margin: 0; }
1034
-#index #s-django-documentation div.section div.section { background: #E1ECE2; padding: 1em; margin: 2em 0 2em 40.3em; }
1035
-#index #s-django-documentation div.section div.section a.reference { white-space: nowrap; }
1036
-
1037
-#index #s-using-django dl,
1038
-#index #s-add-on-contrib-applications dl,
1039
-#index #s-solving-specific-problems dl,
1040
-#index #s-reference dl
1041
-    { float: left; width: 41em; }
1042
-
1043
-#index #s-add-on-contrib-applications,
1044
-#index #s-solving-specific-problems,
1045
-#index #s-reference,
1046
-#index #s-and-all-the-rest
1047
-    { clear: left; }
1048
--- docs/_static/reset-fonts-grids.css	2008-08-24 06:25:40.000000000 +0800
1049
+++ docs/_static/reset-fonts-grids.css	1970-01-01 08:00:00.000000000 +0800
1050
@@ -1,8 +0,0 @@
1051
-/*
1052
-Copyright (c) 2008, Yahoo! Inc. All rights reserved.
1053
-Code licensed under the BSD License:
1054
-http://developer.yahoo.net/yui/license.txt
1055
-version: 2.5.1
1056
-*/
1057
-html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym {border:0;font-variant:normal;}sup {vertical-align:text-top;}sub {vertical-align:text-bottom;}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}input,textarea,select{*font-size:100%;}legend{color:#000;}body {font:13px/1.231 arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;}table {font-size:inherit;font:100%;}pre,code,kbd,samp,tt{font-family:monospace;*font-size:108%;line-height:100%;}
1058
-body{text-align:center;}#ft{clear:both;}#doc,#doc2,#doc3,#doc4,.yui-t1,.yui-t2,.yui-t3,.yui-t4,.yui-t5,.yui-t6,.yui-t7{margin:auto;text-align:left;width:57.69em;*width:56.25em;min-width:750px;}#doc2{width:73.076em;*width:71.25em;}#doc3{margin:auto 10px;width:auto;}#doc4{width:74.923em;*width:73.05em;}.yui-b{position:relative;}.yui-b{_position:static;}#yui-main .yui-b{position:static;}#yui-main{width:100%;}.yui-t1 #yui-main,.yui-t2 #yui-main,.yui-t3 #yui-main{float:right;margin-left:-25em;}.yui-t4 #yui-main,.yui-t5 #yui-main,.yui-t6 #yui-main{float:left;margin-right:-25em;}.yui-t1 .yui-b{float:left;width:12.30769em;*width:12.00em;}.yui-t1 #yui-main .yui-b{margin-left:13.30769em;*margin-left:13.05em;}.yui-t2 .yui-b{float:left;width:13.8461em;*width:13.50em;}.yui-t2 #yui-main .yui-b{margin-left:14.8461em;*margin-left:14.55em;}.yui-t3 .yui-b{float:left;width:23.0769em;*width:22.50em;}.yui-t3 #yui-main .yui-b{margin-left:24.0769em;*margin-left:23.62em;}.yui-t4 .yui-b{float:right;width:13.8456em;*width:13.50em;}.yui-t4 #yui-main .yui-b{margin-right:14.8456em;*margin-right:14.55em;}.yui-t5 .yui-b{float:right;width:18.4615em;*width:18.00em;}.yui-t5 #yui-main .yui-b{margin-right:19.4615em;*margin-right:19.125em;}.yui-t6 .yui-b{float:right;width:23.0769em;*width:22.50em;}.yui-t6 #yui-main .yui-b{margin-right:24.0769em;*margin-right:23.62em;}.yui-t7 #yui-main .yui-b{display:block;margin:0 0 1em 0;}#yui-main .yui-b{float:none;width:auto;}.yui-gb .yui-u,.yui-g .yui-gb .yui-u,.yui-gb .yui-g,.yui-gb .yui-gb,.yui-gb .yui-gc,.yui-gb .yui-gd,.yui-gb .yui-ge,.yui-gb .yui-gf,.yui-gc .yui-u,.yui-gc .yui-g,.yui-gd .yui-u{float:left;}.yui-g .yui-u,.yui-g .yui-g,.yui-g .yui-gb,.yui-g .yui-gc,.yui-g .yui-gd,.yui-g .yui-ge,.yui-g .yui-gf,.yui-gc .yui-u,.yui-gd .yui-g,.yui-g .yui-gc .yui-u,.yui-ge .yui-u,.yui-ge .yui-g,.yui-gf .yui-g,.yui-gf .yui-u{float:right;}.yui-g div.first,.yui-gb div.first,.yui-gc div.first,.yui-gd div.first,.yui-ge div.first,.yui-gf div.first,.yui-g .yui-gc div.first,.yui-g .yui-ge div.first,.yui-gc div.first div.first{float:left;}.yui-g .yui-u,.yui-g .yui-g,.yui-g .yui-gb,.yui-g .yui-gc,.yui-g .yui-gd,.yui-g .yui-ge,.yui-g .yui-gf{width:49.1%;}.yui-gb .yui-u,.yui-g .yui-gb .yui-u,.yui-gb .yui-g,.yui-gb .yui-gb,.yui-gb .yui-gc,.yui-gb .yui-gd,.yui-gb .yui-ge,.yui-gb .yui-gf,.yui-gc .yui-u,.yui-gc .yui-g,.yui-gd .yui-u{width:32%;margin-left:1.99%;}.yui-gb .yui-u{*margin-left:1.9%;*width:31.9%;}.yui-gc div.first,.yui-gd .yui-u{width:66%;}.yui-gd div.first{width:32%;}.yui-ge div.first,.yui-gf .yui-u{width:74.2%;}.yui-ge .yui-u,.yui-gf div.first{width:24%;}.yui-g .yui-gb div.first,.yui-gb div.first,.yui-gc div.first,.yui-gd div.first{margin-left:0;}.yui-g .yui-g .yui-u,.yui-gb .yui-g .yui-u,.yui-gc .yui-g .yui-u,.yui-gd .yui-g .yui-u,.yui-ge .yui-g .yui-u,.yui-gf .yui-g .yui-u{width:49%;*width:48.1%;*margin-left:0;}.yui-g .yui-gb div.first,.yui-gb .yui-gb div.first{*margin-right:0;*width:32%;_width:31.7%;}.yui-g .yui-gc div.first,.yui-gd .yui-g{width:66%;}.yui-gb .yui-g div.first{*margin-right:4%;_margin-right:1.3%;}.yui-gb .yui-gc div.first,.yui-gb .yui-gd div.first{*margin-right:0;}.yui-gb .yui-gb .yui-u,.yui-gb .yui-gc .yui-u{*margin-left:1.8%;_margin-left:4%;}.yui-g .yui-gb .yui-u{_margin-left:1.0%;}.yui-gb .yui-gd .yui-u{*width:66%;_width:61.2%;}.yui-gb .yui-gd div.first{*width:31%;_width:29.5%;}.yui-g .yui-gc .yui-u,.yui-gb .yui-gc .yui-u{width:32%;_float:right;margin-right:0;_margin-left:0;}.yui-gb .yui-gc div.first{width:66%;*float:left;*margin-left:0;}.yui-gb .yui-ge .yui-u,.yui-gb .yui-gf .yui-u{margin:0;}.yui-gb .yui-gb .yui-u{_margin-left:.7%;}.yui-gb .yui-g div.first,.yui-gb .yui-gb div.first{*margin-left:0;}.yui-gc .yui-g .yui-u,.yui-gd .yui-g .yui-u{*width:48.1%;*margin-left:0;}s .yui-gb .yui-gd div.first{width:32%;}.yui-g .yui-gd div.first{_width:29.9%;}.yui-ge .yui-g{width:24%;}.yui-gf .yui-g{width:74.2%;}.yui-gb .yui-ge div.yui-u,.yui-gb .yui-gf div.yui-u{float:right;}.yui-gb .yui-ge div.first,.yui-gb .yui-gf div.first{float:left;}.yui-gb .yui-ge .yui-u,.yui-gb .yui-gf div.first{*width:24%;_width:20%;}.yui-gb .yui-ge div.first,.yui-gb .yui-gf .yui-u{*width:73.5%;_width:65.5%;}.yui-ge div.first .yui-gd .yui-u{width:65%;}.yui-ge div.first .yui-gd div.first{width:32%;}#bd:after,.yui-g:after,.yui-gb:after,.yui-gc:after,.yui-gd:after,.yui-ge:after,.yui-gf:after{content:".";display:block;height:0;clear:both;visibility:hidden;}#bd,.yui-g,.yui-gb,.yui-gc,.yui-gd,.yui-ge,.yui-gf{zoom:1;}

Return to bug 150680