Ticket #9114: OperationalError at admin comments comment .html

File OperationalError at admin comments comment .html, 122.6 KB (added by jobcello, 16 years ago)

The error page

Line 
1
2<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
3<html lang="en"><!-- Source is http://localhost:8080/admin/comments/comment/ -->
4<head>
5 <meta http-equiv="content-type" content="text/html; charset=utf-8">
6 <meta name="robots" content="NONE,NOARCHIVE">
7 <title>OperationalError at /admin/comments/comment/</title>
8 <style type="text/css">
9 html * { padding:0; margin:0; }
10 body * { padding:10px 20px; }
11 body * * { padding:0; }
12 body { font:small sans-serif; }
13 body>div { border-bottom:1px solid #ddd; }
14 h1 { font-weight:normal; }
15 h2 { margin-bottom:.8em; }
16 h2 span { font-size:80%; color:#666; font-weight:normal; }
17 h3 { margin:1em 0 .5em 0; }
18 h4 { margin:0 0 .5em 0; font-weight: normal; }
19 table { border:1px solid #ccc; border-collapse: collapse; width:100%; background:white; }
20 tbody td, tbody th { vertical-align:top; padding:2px 3px; }
21 thead th { padding:1px 6px 1px 3px; background:#fefefe; text-align:left; font-weight:normal; font-size:11px; border:1px solid #ddd; }
22 tbody th { width:12em; text-align:right; color:#666; padding-right:.5em; }
23 table.vars { margin:5px 0 2px 40px; }
24 table.vars td, table.req td { font-family:monospace; }
25 table td.code { width:100%; }
26 table td.code div { overflow:hidden; }
27 table.source th { color:#666; }
28 table.source td { font-family:monospace; white-space:pre; border-bottom:1px solid #eee; }
29 ul.traceback { list-style-type:none; }
30 ul.traceback li.frame { margin-bottom:1em; }
31 div.context { margin: 10px 0; }
32 div.context ol { padding-left:30px; margin:0 10px; list-style-position: inside; }
33 div.context ol li { font-family:monospace; white-space:pre; color:#666; cursor:pointer; }
34 div.context ol.context-line li { color:black; background-color:#ccc; }
35 div.context ol.context-line li span { float: right; }
36 div.commands { margin-left: 40px; }
37 div.commands a { color:black; text-decoration:none; }
38 #summary { background: #ffc; }
39 #summary h2 { font-weight: normal; color: #666; }
40 #explanation { background:#eee; }
41 #template, #template-not-exist { background:#f6f6f6; }
42 #template-not-exist ul { margin: 0 0 0 20px; }
43 #unicode-hint { background:#eee; }
44 #traceback { background:#eee; }
45 #requestinfo { background:#f6f6f6; padding-left:120px; }
46 #summary table { border:none; background:transparent; }
47 #requestinfo h2, #requestinfo h3 { position:relative; margin-left:-100px; }
48 #requestinfo h3 { margin-bottom:-1em; }
49 .error { background: #ffc; }
50 .specific { color:#cc3300; font-weight:bold; }
51 h2 span.commands { font-size:.7em;}
52 span.commands a:link {color:#5E5694;}
53 pre.exception_value { font-family: sans-serif; color: #666; font-size: 1.5em; margin: 10px 0 10px 0; }
54 </style>
55 <script type="text/javascript">
56 //<!--
57 function getElementsByClassName(oElm, strTagName, strClassName){
58 // Written by Jonathan Snook, http://www.snook.ca/jon; Add-ons by Robert Nyman, http://www.robertnyman.com
59 var arrElements = (strTagName == "*" && document.all)? document.all :
60 oElm.getElementsByTagName(strTagName);
61 var arrReturnElements = new Array();
62 strClassName = strClassName.replace(/\-/g, "\-");
63 var oRegExp = new RegExp("(^|\s)" + strClassName + "(\s|$)");
64 var oElement;
65 for(var i=0; i<arrElements.length; i++){
66 oElement = arrElements[i];
67 if(oRegExp.test(oElement.className)){
68 arrReturnElements.push(oElement);
69 }
70 }
71 return (arrReturnElements)
72 }
73 function hideAll(elems) {
74 for (var e = 0; e < elems.length; e++) {
75 elems[e].style.display = 'none';
76 }
77 }
78 window.onload = function() {
79 hideAll(getElementsByClassName(document, 'table', 'vars'));
80 hideAll(getElementsByClassName(document, 'ol', 'pre-context'));
81 hideAll(getElementsByClassName(document, 'ol', 'post-context'));
82 hideAll(getElementsByClassName(document, 'div', 'pastebin'));
83 }
84 function toggle() {
85 for (var i = 0; i < arguments.length; i++) {
86 var e = document.getElementById(arguments[i]);
87 if (e) {
88 e.style.display = e.style.display == 'none' ? 'block' : 'none';
89 }
90 }
91 return false;
92 }
93 function varToggle(link, id) {
94 toggle('v' + id);
95 var s = link.getElementsByTagName('span')[0];
96 var uarr = String.fromCharCode(0x25b6);
97 var darr = String.fromCharCode(0x25bc);
98 s.innerHTML = s.innerHTML == uarr ? darr : uarr;
99 return false;
100 }
101 function switchPastebinFriendly(link) {
102 s1 = "Switch to copy-and-paste view";
103 s2 = "Switch back to interactive view";
104 link.innerHTML = link.innerHTML == s1 ? s2 : s1;
105 toggle('browserTraceback', 'pastebinTraceback');
106 return false;
107 }
108 //-->
109 </script>
110</head>
111<body>
112<div id="summary">
113 <h1>OperationalError at /admin/comments/comment/</h1>
114 <pre class="exception_value">no such table: django_site</pre>
115 <table class="meta">
116 <tr>
117 <th>Request Method:</th>
118 <td>GET</td>
119 </tr>
120 <tr>
121 <th>Request URL:</th>
122 <td>http://localhost:8080/admin/comments/comment/</td>
123 </tr>
124 <tr>
125 <th>Exception Type:</th>
126 <td>OperationalError</td>
127 </tr>
128 <tr>
129 <th>Exception Value:</th>
130 <td><pre>no such table: django_site<pre></td>
131 </tr>
132 <tr>
133 <th>Exception Location:</th>
134 <td>C:\Python25\lib\site-packages\django\db\backends\sqlite3\base.py in execute, line 167</td>
135 </tr>
136 <tr>
137 <th>Python Executable:</th>
138 <td>C:\Python25\python.exe</td>
139 </tr>
140 <tr>
141 <th>Python Version:</th>
142 <td>2.5.2</td>
143 </tr>
144 <tr>
145 <th>Python Path:</th>
146 <td>[&#39;C:\\J\\_proj\\Python\\djcode\\ssa&#39;, &#39;C:\\Python25\\lib\\site-packages\\setuptools-0.6c8-py2.5.egg&#39;, &#39;C:\\Python25\\lib\\site-packages\\pygments-0.11.1-py2.5.egg&#39;, &#39;C:\\Python25\\lib\\site-packages\\markdown-1.7-py2.5-win32.egg&#39;, &#39;C:\\Python25\\lib\\site-packages\\python_openid-2.2.1-py2.5.egg&#39;, &#39;C:\\Windows\\system32\\python25.zip&#39;, &#39;C:\\Python25\\DLLs&#39;, &#39;C:\\Python25\\lib&#39;, &#39;C:\\Python25\\lib\\plat-win&#39;, &#39;C:\\Python25\\lib\\lib-tk&#39;, &#39;C:\\Python25&#39;, &#39;C:\\Python25\\lib\\site-packages&#39;, &#39;C:\\Python25\\lib\\site-packages\\PIL&#39;, &#39;C:\\Python25\\lib\\site-packages\\win32&#39;, &#39;C:\\Python25\\lib\\site-packages\\win32\\lib&#39;, &#39;C:\\Python25\\lib\\site-packages\\Pythonwin&#39;]</td>
147 </tr>
148 <tr>
149 <th>Server time:</th>
150 <td>mar, 16 Sep 2008 17:38:52 -0400</td>
151 </tr>
152 </table>
153</div>
154
155
156
157<div id="traceback">
158 <h2>Traceback <span class="commands"><a href="#" onclick="return switchPastebinFriendly(this);">Switch to copy-and-paste view</a></span></h2>
159
160 <div id="browserTraceback">
161 <ul class="traceback">
162
163 <li class="frame">
164 <code>C:\Python25\lib\site-packages\django\core\handlers\base.py</code> in <code>get_response</code>
165
166
167 <div class="context" id="c37890168">
168
169 <ol start="79" class="pre-context" id="pre37890168"><li onclick="toggle('pre37890168', 'post37890168')"> # Apply view middleware</li><li onclick="toggle('pre37890168', 'post37890168')"> for middleware_method in self._view_middleware:</li><li onclick="toggle('pre37890168', 'post37890168')"> response = middleware_method(request, callback, callback_args, callback_kwargs)</li><li onclick="toggle('pre37890168', 'post37890168')"> if response:</li><li onclick="toggle('pre37890168', 'post37890168')"> return response</li><li onclick="toggle('pre37890168', 'post37890168')"></li><li onclick="toggle('pre37890168', 'post37890168')"> try:</li></ol>
170
171 <ol start="86" class="context-line"><li onclick="toggle('pre37890168', 'post37890168')"> response = callback(request, *callback_args, **callback_kwargs) <span>...</span></li></ol>
172
173 <ol start='87' class="post-context" id="post37890168"><li onclick="toggle('pre37890168', 'post37890168')"> except Exception, e:</li><li onclick="toggle('pre37890168', 'post37890168')"> # If the view raised an exception, run it through exception</li><li onclick="toggle('pre37890168', 'post37890168')"> # middleware, and if the exception middleware returns a</li><li onclick="toggle('pre37890168', 'post37890168')"> # response, use that. Otherwise, reraise the exception.</li><li onclick="toggle('pre37890168', 'post37890168')"> for middleware_method in self._exception_middleware:</li><li onclick="toggle('pre37890168', 'post37890168')"> response = middleware_method(request, e)</li></ol>
174
175 </div>
176
177
178
179 <div class="commands">
180 <a href="#" onclick="return varToggle(this, '37890168')"><span>&#x25b6;</span> Local vars</a>
181 </div>
182 <table class="vars" id="v37890168">
183 <thead>
184 <tr>
185 <th>Variable</th>
186 <th>Value</th>
187 </tr>
188 </thead>
189 <tbody>
190
191 <tr>
192 <td>callback</td>
193 <td class="code"><div>&lt;bound method AdminSite.root of &lt;django.contrib.admin.sites.AdminSite object at 0x0220E750&gt;&gt;</div></td>
194 </tr>
195
196 <tr>
197 <td>callback_args</td>
198 <td class="code"><div>(u&#39;comments/comment/&#39;,)</div></td>
199 </tr>
200
201 <tr>
202 <td>callback_kwargs</td>
203 <td class="code"><div>{}</div></td>
204 </tr>
205
206 <tr>
207 <td>e</td>
208 <td class="code"><div>OperationalError(&#39;no such table: django_site&#39;,)</div></td>
209 </tr>
210
211 <tr>
212 <td>exc_info</td>
213 <td class="code"><div>(&lt;class &#39;sqlite3.OperationalError&#39;&gt;,
214 OperationalError(&#39;no such table: django_site&#39;,),
215 &lt;traceback object at 0x02422878&gt;)</div></td>
216 </tr>
217
218 <tr>
219 <td>exceptions</td>
220 <td class="code"><div>&lt;module &#39;django.core.exceptions&#39; from &#39;C:\Python25\lib\site-packages\django\core\exceptions.pyc&#39;&gt;</div></td>
221 </tr>
222
223 <tr>
224 <td>middleware_method</td>
225 <td class="code"><div>&lt;bound method AuthenticationMiddleware.process_request of &lt;django.contrib.auth.middleware.AuthenticationMiddleware object at 0x02343AF0&gt;&gt;</div></td>
226 </tr>
227
228 <tr>
229 <td>receivers</td>
230 <td class="code"><div>[(&lt;function _rollback_on_exception at 0x020ADE70&gt;, None)]</div></td>
231 </tr>
232
233 <tr>
234 <td>request</td>
235 <td class="code"><div>&lt;WSGIRequest
236GET:&lt;QueryDict: {}&gt;,
237POST:&lt;QueryDict: {}&gt;,
238COOKIES:{&#39;sessionid&#39;: &#39;831bf381040c8a6239b3bba39536eb49&#39;},
239META:{&#39;ALLUSERSPROFILE&#39;: &#39;C:\\ProgramData&#39;,
240 &#39;APPDATA&#39;: &#39;C:\\Users\\J\\AppData\\Roaming&#39;,
241 &#39;CLASSPATH&#39;: &#39;.;C:\\Program Files\\QuickTime\\QTSystem\\QTJava.zip&#39;,
242 &#39;COMMANDER_DRIVE&#39;: &#39;C:&#39;,
243 &#39;COMMANDER_INI&#39;: &#39;C:\\Users\\J\\AppData\\Roaming\\GHISLER\\wincmd.ini&#39;,
244 &#39;COMMANDER_PATH&#39;: &#39;C:\\Program Files\\totalcmd&#39;,
245 &#39;COMMONPROGRAMFILES&#39;: &#39;C:\\Program Files\\Common Files&#39;,
246 &#39;COMPUTERNAME&#39;: &#39;J-PC-VISTAEN&#39;,
247 &#39;COMSPEC&#39;: &#39;C:\\Windows\\system32\\cmd.exe&#39;,
248 &#39;CONTENT_LENGTH&#39;: &#39;&#39;,
249 &#39;CONTENT_TYPE&#39;: &#39;text/plain&#39;,
250 &#39;DJANGO_SETTINGS_MODULE&#39;: &#39;ssa.settings&#39;,
251 &#39;FP_NO_HOST_CHECK&#39;: &#39;NO&#39;,
252 &#39;GATEWAY_INTERFACE&#39;: &#39;CGI/1.1&#39;,
253 &#39;HOMEDRIVE&#39;: &#39;C:&#39;,
254 &#39;HOMEPATH&#39;: &#39;\\Users\\J&#39;,
255 &#39;HTTP_ACCEPT&#39;: &#39;text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8&#39;,
256 &#39;HTTP_ACCEPT_CHARSET&#39;: &#39;ISO-8859-1,utf-8;q=0.7,*;q=0.7&#39;,
257 &#39;HTTP_ACCEPT_ENCODING&#39;: &#39;gzip,deflate&#39;,
258 &#39;HTTP_ACCEPT_LANGUAGE&#39;: &#39;es,es-ar;q=0.8,en-us;q=0.5,en;q=0.3&#39;,
259 &#39;HTTP_CACHE_CONTROL&#39;: &#39;max-age=0&#39;,
260 &#39;HTTP_CONNECTION&#39;: &#39;keep-alive&#39;,
261 &#39;HTTP_COOKIE&#39;: &#39;sessionid=831bf381040c8a6239b3bba39536eb49&#39;,
262 &#39;HTTP_HOST&#39;: &#39;localhost:8080&#39;,
263 &#39;HTTP_KEEP_ALIVE&#39;: &#39;300&#39;,
264 &#39;HTTP_REFERER&#39;: &#39;http://localhost:8080/admin/&#39;,
265 &#39;HTTP_USER_AGENT&#39;: &#39;Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1&#39;,
266 &#39;LOCALAPPDATA&#39;: &#39;C:\\Users\\J\\AppData\\Local&#39;,
267 &#39;LOGONSERVER&#39;: &#39;\\\\J-PC-VISTAEN&#39;,
268 &#39;NUMBER_OF_PROCESSORS&#39;: &#39;2&#39;,
269 &#39;OS&#39;: &#39;Windows_NT&#39;,
270 &#39;PATH&#39;: &#39;C:\\Python25\\;C:\\Python25\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Program Files\\QuickTime\\QTSystem\\;C:\\Program Files\\Common Files\\Adobe\\AGL;C:\\p\\usr\\bin;C:\\Python25\\Lib\\site-packages\\django\\bin\\;;C:\\Program Files\\Common Files\\Ahead\\Lib\\&#39;,
271 &#39;PATHEXT&#39;: &#39;.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py;.pyw&#39;,
272 &#39;PATH_INFO&#39;: u&#39;/admin/comments/comment/&#39;,
273 &#39;PROCESSOR_ARCHITECTURE&#39;: &#39;x86&#39;,
274 &#39;PROCESSOR_IDENTIFIER&#39;: &#39;x86 Family 6 Model 15 Stepping 6, GenuineIntel&#39;,
275 &#39;PROCESSOR_LEVEL&#39;: &#39;6&#39;,
276 &#39;PROCESSOR_REVISION&#39;: &#39;0f06&#39;,
277 &#39;PROGRAMDATA&#39;: &#39;C:\\ProgramData&#39;,
278 &#39;PROGRAMFILES&#39;: &#39;C:\\Program Files&#39;,
279 &#39;PROMPT&#39;: &#39;$P$G&#39;,
280 &#39;PUBLIC&#39;: &#39;C:\\Users\\Public&#39;,
281 &#39;QTJAVA&#39;: &#39;C:\\Program Files\\QuickTime\\QTSystem\\QTJava.zip&#39;,
282 &#39;QUERY_STRING&#39;: &#39;&#39;,
283 &#39;REMOTE_ADDR&#39;: &#39;127.0.0.1&#39;,
284 &#39;REMOTE_HOST&#39;: &#39;&#39;,
285 &#39;REQUEST_METHOD&#39;: &#39;GET&#39;,
286 &#39;RUN_MAIN&#39;: &#39;true&#39;,
287 &#39;SCRIPT_NAME&#39;: u&#39;&#39;,
288 &#39;SERVER_NAME&#39;: &#39;J-PC-vistaen&#39;,
289 &#39;SERVER_PORT&#39;: &#39;8080&#39;,
290 &#39;SERVER_PROTOCOL&#39;: &#39;HTTP/1.1&#39;,
291 &#39;SERVER_SOFTWARE&#39;: &#39;WSGIServer/0.1 Python/2.5.2&#39;,
292 &#39;SESSIONNAME&#39;: &#39;Console&#39;,
293 &#39;SYSTEMDRIVE&#39;: &#39;C:&#39;,
294 &#39;SYSTEMROOT&#39;: &#39;C:\\Windows&#39;,
295 &#39;TEMP&#39;: &#39;C:\\Users\\J\\AppData\\Local\\Temp&#39;,
296 &#39;TMP&#39;: &#39;C:\\Users\\J\\AppData\\Local\\Temp&#39;,
297 &#39;USERDOMAIN&#39;: &#39;J-PC-vistaen&#39;,
298 &#39;USERNAME&#39;: &#39;J&#39;,
299 &#39;USERPROFILE&#39;: &#39;C:\\Users\\J&#39;,
300 &#39;WINDIR&#39;: &#39;C:\\Windows&#39;,
301 &#39;wsgi.errors&#39;: &lt;open file &#39;&lt;stderr&gt;&#39;, mode &#39;w&#39; at 0x0195F0B0&gt;,
302 &#39;wsgi.file_wrapper&#39;: &lt;class &#39;django.core.servers.basehttp.FileWrapper&#39;&gt;,
303 &#39;wsgi.input&#39;: &lt;socket._fileobject object at 0x023043F0&gt;,
304 &#39;wsgi.multiprocess&#39;: False,
305 &#39;wsgi.multithread&#39;: True,
306 &#39;wsgi.run_once&#39;: False,
307 &#39;wsgi.url_scheme&#39;: &#39;http&#39;,
308 &#39;wsgi.version&#39;: (1, 0)}&gt;</div></td>
309 </tr>
310
311 <tr>
312 <td>resolver</td>
313 <td class="code"><div>&lt;RegexURLResolver ssa.urls ^/&gt;</div></td>
314 </tr>
315
316 <tr>
317 <td>response</td>
318 <td class="code"><div>None</div></td>
319 </tr>
320
321 <tr>
322 <td>self</td>
323 <td class="code"><div>&lt;django.core.handlers.wsgi.WSGIHandler object at 0x022F8F50&gt;</div></td>
324 </tr>
325
326 <tr>
327 <td>settings</td>
328 <td class="code"><div>&lt;django.conf.LazySettings object at 0x01AB0430&gt;</div></td>
329 </tr>
330
331 <tr>
332 <td>urlconf</td>
333 <td class="code"><div>&#39;ssa.urls&#39;</div></td>
334 </tr>
335
336 <tr>
337 <td>urlresolvers</td>
338 <td class="code"><div>&lt;module &#39;django.core.urlresolvers&#39; from &#39;C:\Python25\lib\site-packages\django\core\urlresolvers.pyc&#39;&gt;</div></td>
339 </tr>
340
341 </tbody>
342 </table>
343
344 </li>
345
346 <li class="frame">
347 <code>C:\Python25\lib\site-packages\django\contrib\admin\sites.py</code> in <code>root</code>
348
349
350 <div class="context" id="c37888128">
351
352 <ol start="151" class="pre-context" id="pre37888128"><li onclick="toggle('pre37888128', 'post37888128')"> return self.i18n_javascript(request)</li><li onclick="toggle('pre37888128', 'post37888128')"> # urls starting with &#39;r/&#39; are for the &quot;show in web&quot; links</li><li onclick="toggle('pre37888128', 'post37888128')"> elif url.startswith(&#39;r/&#39;):</li><li onclick="toggle('pre37888128', 'post37888128')"> from django.views.defaults import shortcut</li><li onclick="toggle('pre37888128', 'post37888128')"> return shortcut(request, *url.split(&#39;/&#39;)[1:])</li><li onclick="toggle('pre37888128', 'post37888128')"> else:</li><li onclick="toggle('pre37888128', 'post37888128')"> if &#39;/&#39; in url:</li></ol>
353
354 <ol start="158" class="context-line"><li onclick="toggle('pre37888128', 'post37888128')"> return self.model_page(request, *url.split(&#39;/&#39;, 2)) <span>...</span></li></ol>
355
356 <ol start='159' class="post-context" id="post37888128"><li onclick="toggle('pre37888128', 'post37888128')"> else:</li><li onclick="toggle('pre37888128', 'post37888128')"> return self.app_index(request, url)</li><li onclick="toggle('pre37888128', 'post37888128')"></li><li onclick="toggle('pre37888128', 'post37888128')"> raise http.Http404(&#39;The requested admin page does not exist.&#39;)</li><li onclick="toggle('pre37888128', 'post37888128')"></li><li onclick="toggle('pre37888128', 'post37888128')"> def model_page(self, request, app_label, model_name, rest_of_url=None):</li></ol>
357
358 </div>
359
360
361
362 <div class="commands">
363 <a href="#" onclick="return varToggle(this, '37888128')"><span>&#x25b6;</span> Local vars</a>
364 </div>
365 <table class="vars" id="v37888128">
366 <thead>
367 <tr>
368 <th>Variable</th>
369 <th>Value</th>
370 </tr>
371 </thead>
372 <tbody>
373
374 <tr>
375 <td>request</td>
376 <td class="code"><div>&lt;WSGIRequest
377GET:&lt;QueryDict: {}&gt;,
378POST:&lt;QueryDict: {}&gt;,
379COOKIES:{&#39;sessionid&#39;: &#39;831bf381040c8a6239b3bba39536eb49&#39;},
380META:{&#39;ALLUSERSPROFILE&#39;: &#39;C:\\ProgramData&#39;,
381 &#39;APPDATA&#39;: &#39;C:\\Users\\J\\AppData\\Roaming&#39;,
382 &#39;CLASSPATH&#39;: &#39;.;C:\\Program Files\\QuickTime\\QTSystem\\QTJava.zip&#39;,
383 &#39;COMMANDER_DRIVE&#39;: &#39;C:&#39;,
384 &#39;COMMANDER_INI&#39;: &#39;C:\\Users\\J\\AppData\\Roaming\\GHISLER\\wincmd.ini&#39;,
385 &#39;COMMANDER_PATH&#39;: &#39;C:\\Program Files\\totalcmd&#39;,
386 &#39;COMMONPROGRAMFILES&#39;: &#39;C:\\Program Files\\Common Files&#39;,
387 &#39;COMPUTERNAME&#39;: &#39;J-PC-VISTAEN&#39;,
388 &#39;COMSPEC&#39;: &#39;C:\\Windows\\system32\\cmd.exe&#39;,
389 &#39;CONTENT_LENGTH&#39;: &#39;&#39;,
390 &#39;CONTENT_TYPE&#39;: &#39;text/plain&#39;,
391 &#39;DJANGO_SETTINGS_MODULE&#39;: &#39;ssa.settings&#39;,
392 &#39;FP_NO_HOST_CHECK&#39;: &#39;NO&#39;,
393 &#39;GATEWAY_INTERFACE&#39;: &#39;CGI/1.1&#39;,
394 &#39;HOMEDRIVE&#39;: &#39;C:&#39;,
395 &#39;HOMEPATH&#39;: &#39;\\Users\\J&#39;,
396 &#39;HTTP_ACCEPT&#39;: &#39;text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8&#39;,
397 &#39;HTTP_ACCEPT_CHARSET&#39;: &#39;ISO-8859-1,utf-8;q=0.7,*;q=0.7&#39;,
398 &#39;HTTP_ACCEPT_ENCODING&#39;: &#39;gzip,deflate&#39;,
399 &#39;HTTP_ACCEPT_LANGUAGE&#39;: &#39;es,es-ar;q=0.8,en-us;q=0.5,en;q=0.3&#39;,
400 &#39;HTTP_CACHE_CONTROL&#39;: &#39;max-age=0&#39;,
401 &#39;HTTP_CONNECTION&#39;: &#39;keep-alive&#39;,
402 &#39;HTTP_COOKIE&#39;: &#39;sessionid=831bf381040c8a6239b3bba39536eb49&#39;,
403 &#39;HTTP_HOST&#39;: &#39;localhost:8080&#39;,
404 &#39;HTTP_KEEP_ALIVE&#39;: &#39;300&#39;,
405 &#39;HTTP_REFERER&#39;: &#39;http://localhost:8080/admin/&#39;,
406 &#39;HTTP_USER_AGENT&#39;: &#39;Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1&#39;,
407 &#39;LOCALAPPDATA&#39;: &#39;C:\\Users\\J\\AppData\\Local&#39;,
408 &#39;LOGONSERVER&#39;: &#39;\\\\J-PC-VISTAEN&#39;,
409 &#39;NUMBER_OF_PROCESSORS&#39;: &#39;2&#39;,
410 &#39;OS&#39;: &#39;Windows_NT&#39;,
411 &#39;PATH&#39;: &#39;C:\\Python25\\;C:\\Python25\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Program Files\\QuickTime\\QTSystem\\;C:\\Program Files\\Common Files\\Adobe\\AGL;C:\\p\\usr\\bin;C:\\Python25\\Lib\\site-packages\\django\\bin\\;;C:\\Program Files\\Common Files\\Ahead\\Lib\\&#39;,
412 &#39;PATHEXT&#39;: &#39;.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py;.pyw&#39;,
413 &#39;PATH_INFO&#39;: u&#39;/admin/comments/comment/&#39;,
414 &#39;PROCESSOR_ARCHITECTURE&#39;: &#39;x86&#39;,
415 &#39;PROCESSOR_IDENTIFIER&#39;: &#39;x86 Family 6 Model 15 Stepping 6, GenuineIntel&#39;,
416 &#39;PROCESSOR_LEVEL&#39;: &#39;6&#39;,
417 &#39;PROCESSOR_REVISION&#39;: &#39;0f06&#39;,
418 &#39;PROGRAMDATA&#39;: &#39;C:\\ProgramData&#39;,
419 &#39;PROGRAMFILES&#39;: &#39;C:\\Program Files&#39;,
420 &#39;PROMPT&#39;: &#39;$P$G&#39;,
421 &#39;PUBLIC&#39;: &#39;C:\\Users\\Public&#39;,
422 &#39;QTJAVA&#39;: &#39;C:\\Program Files\\QuickTime\\QTSystem\\QTJava.zip&#39;,
423 &#39;QUERY_STRING&#39;: &#39;&#39;,
424 &#39;REMOTE_ADDR&#39;: &#39;127.0.0.1&#39;,
425 &#39;REMOTE_HOST&#39;: &#39;&#39;,
426 &#39;REQUEST_METHOD&#39;: &#39;GET&#39;,
427 &#39;RUN_MAIN&#39;: &#39;true&#39;,
428 &#39;SCRIPT_NAME&#39;: u&#39;&#39;,
429 &#39;SERVER_NAME&#39;: &#39;J-PC-vistaen&#39;,
430 &#39;SERVER_PORT&#39;: &#39;8080&#39;,
431 &#39;SERVER_PROTOCOL&#39;: &#39;HTTP/1.1&#39;,
432 &#39;SERVER_SOFTWARE&#39;: &#39;WSGIServer/0.1 Python/2.5.2&#39;,
433 &#39;SESSIONNAME&#39;: &#39;Console&#39;,
434 &#39;SYSTEMDRIVE&#39;: &#39;C:&#39;,
435 &#39;SYSTEMROOT&#39;: &#39;C:\\Windows&#39;,
436 &#39;TEMP&#39;: &#39;C:\\Users\\J\\AppData\\Local\\Temp&#39;,
437 &#39;TMP&#39;: &#39;C:\\Users\\J\\AppData\\Local\\Temp&#39;,
438 &#39;USERDOMAIN&#39;: &#39;J-PC-vistaen&#39;,
439 &#39;USERNAME&#39;: &#39;J&#39;,
440 &#39;USERPROFILE&#39;: &#39;C:\\Users\\J&#39;,
441 &#39;WINDIR&#39;: &#39;C:\\Windows&#39;,
442 &#39;wsgi.errors&#39;: &lt;open file &#39;&lt;stderr&gt;&#39;, mode &#39;w&#39; at 0x0195F0B0&gt;,
443 &#39;wsgi.file_wrapper&#39;: &lt;class &#39;django.core.servers.basehttp.FileWrapper&#39;&gt;,
444 &#39;wsgi.input&#39;: &lt;socket._fileobject object at 0x023043F0&gt;,
445 &#39;wsgi.multiprocess&#39;: False,
446 &#39;wsgi.multithread&#39;: True,
447 &#39;wsgi.run_once&#39;: False,
448 &#39;wsgi.url_scheme&#39;: &#39;http&#39;,
449 &#39;wsgi.version&#39;: (1, 0)}&gt;</div></td>
450 </tr>
451
452 <tr>
453 <td>self</td>
454 <td class="code"><div>&lt;django.contrib.admin.sites.AdminSite object at 0x0220E750&gt;</div></td>
455 </tr>
456
457 <tr>
458 <td>url</td>
459 <td class="code"><div>u&#39;comments/comment&#39;</div></td>
460 </tr>
461
462 </tbody>
463 </table>
464
465 </li>
466
467 <li class="frame">
468 <code>C:\Python25\lib\site-packages\django\views\decorators\cache.py</code> in <code>_wrapped_view_func</code>
469
470
471 <div class="context" id="c37888168">
472
473 <ol start="37" class="pre-context" id="pre37888168"><li onclick="toggle('pre37888168', 'post37888168')"></li><li onclick="toggle('pre37888168', 'post37888168')">def never_cache(view_func):</li><li onclick="toggle('pre37888168', 'post37888168')"> &quot;&quot;&quot;</li><li onclick="toggle('pre37888168', 'post37888168')"> Decorator that adds headers to a response so that it will</li><li onclick="toggle('pre37888168', 'post37888168')"> never be cached.</li><li onclick="toggle('pre37888168', 'post37888168')"> &quot;&quot;&quot;</li><li onclick="toggle('pre37888168', 'post37888168')"> def _wrapped_view_func(request, *args, **kwargs):</li></ol>
474
475 <ol start="44" class="context-line"><li onclick="toggle('pre37888168', 'post37888168')"> response = view_func(request, *args, **kwargs) <span>...</span></li></ol>
476
477 <ol start='45' class="post-context" id="post37888168"><li onclick="toggle('pre37888168', 'post37888168')"> add_never_cache_headers(response)</li><li onclick="toggle('pre37888168', 'post37888168')"> return response</li><li onclick="toggle('pre37888168', 'post37888168')"> return wraps(view_func)(_wrapped_view_func)</li></ol>
478
479 </div>
480
481
482
483 <div class="commands">
484 <a href="#" onclick="return varToggle(this, '37888168')"><span>&#x25b6;</span> Local vars</a>
485 </div>
486 <table class="vars" id="v37888168">
487 <thead>
488 <tr>
489 <th>Variable</th>
490 <th>Value</th>
491 </tr>
492 </thead>
493 <tbody>
494
495 <tr>
496 <td>args</td>
497 <td class="code"><div>(&lt;WSGIRequest
498GET:&lt;QueryDict: {}&gt;,
499POST:&lt;QueryDict: {}&gt;,
500COOKIES:{&#39;sessionid&#39;: &#39;831bf381040c8a6239b3bba39536eb49&#39;},
501META:{&#39;ALLUSERSPROFILE&#39;: &#39;C:\\ProgramData&#39;,
502 &#39;APPDATA&#39;: &#39;C:\\Users\\J\\AppData\\Roaming&#39;,
503 &#39;CLASSPATH&#39;: &#39;.;C:\\Program Files\\QuickTime\\QTSystem\\QTJava.zip&#39;,
504 &#39;COMMANDER_DRIVE&#39;: &#39;C:&#39;,
505 &#39;COMMANDER_INI&#39;: &#39;C:\\Users\\J\\AppData\\Roaming\\GHISLER\\wincmd.ini&#39;,
506 &#39;COMMANDER_PATH&#39;: &#39;C:\\Program Files\\totalcmd&#39;,
507 &#39;COMMONPROGRAMFILES&#39;: &#39;C:\\Program Files\\Common Files&#39;,
508 &#39;COMPUTERNAME&#39;: &#39;J-PC-VISTAEN&#39;,
509 &#39;COMSPEC&#39;: &#39;C:\\Windows\\system32\\cmd.exe&#39;,
510 &#39;CONTENT_LENGTH&#39;: &#39;&#39;,
511 &#39;CONTENT_TYPE&#39;: &#39;text/plain&#39;,
512 &#39;DJANGO_SETTINGS_MODULE&#39;: &#39;ssa.settings&#39;,
513 &#39;FP_NO_HOST_CHECK&#39;: &#39;NO&#39;,
514 &#39;GATEWAY_INTERFACE&#39;: &#39;CGI/1.1&#39;,
515 &#39;HOMEDRIVE&#39;: &#39;C:&#39;,
516 &#39;HOMEPATH&#39;: &#39;\\Users\\J&#39;,
517 &#39;HTTP_ACCEPT&#39;: &#39;text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8&#39;,
518 &#39;HTTP_ACCEPT_CHARSET&#39;: &#39;ISO-8859-1,utf-8;q=0.7,*;q=0.7&#39;,
519 &#39;HTTP_ACCEPT_ENCODING&#39;: &#39;gzip,deflate&#39;,
520 &#39;HTTP_ACCEPT_LANGUAGE&#39;: &#39;es,es-ar;q=0.8,en-us;q=0.5,en;q=0.3&#39;,
521 &#39;HTTP_CACHE_CONTROL&#39;: &#39;max-age=0&#39;,
522 &#39;HTTP_CONNECTION&#39;: &#39;keep-alive&#39;,
523 &#39;HTTP_COOKIE&#39;: &#39;sessionid=831bf381040c8a6239b3bba39536eb49&#39;,
524 &#39;HTTP_HOST&#39;: &#39;localhost:8080&#39;,
525 &#39;HTTP_KEEP_ALIVE&#39;: &#39;300&#39;,
526 &#39;HTTP_REFERER&#39;: &#39;http://localhost:8080/admin/&#39;,
527 &#39;HTTP_USER_AGENT&#39;: &#39;Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1&#39;,
528 &#39;LOCALAPPDATA&#39;: &#39;C:\\Users\\J\\AppData\\Local&#39;,
529 &#39;LOGONSERVER&#39;: &#39;\\\\J-PC-VISTAEN&#39;,
530 &#39;NUMBER_OF_PROCESSORS&#39;: &#39;2&#39;,
531 &#39;OS&#39;: &#39;Windows_NT&#39;,
532 &#39;PATH&#39;: &#39;C:\\Python25\\;C:\\Python25\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Program Files\\QuickTime\\QTSystem\\;C:\\Program Files\\Common Files\\Adobe\\AGL;C:\\p\\usr\\bin;C:\\Python25\\Lib\\site-packages\\django\\bin\\;;C:\\Program Files\\Common Files\\Ahead\\Lib\\&#39;,
533 &#39;PATHEXT&#39;: &#39;.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py;.pyw&#39;,
534 &#39;PATH_INFO&#39;: u&#39;/admin/comments/comment/&#39;,
535 &#39;PROCESSOR_ARCHITECTURE&#39;: &#39;x86&#39;,
536 &#39;PROCESSOR_IDENTIFIER&#39;: &#39;x86 Family 6 Model 15 Stepping 6, GenuineIntel&#39;,
537 &#39;PROCESSOR_LEVEL&#39;: &#39;6&#39;,
538 &#39;PROCESSOR_REVISION&#39;: &#39;0f06&#39;,
539 &#39;PROGRAMDATA&#39;: &#39;C:\\ProgramData&#39;,
540 &#39;PROGRAMFILES&#39;: &#39;C:\\Program Files&#39;,
541 &#39;PROMPT&#39;: &#39;$P$G&#39;,
542 &#39;PUBLIC&#39;: &#39;C:\\Users\\Public&#39;,
543 &#39;QTJAVA&#39;: &#39;C:\\Program Files\\QuickTime\\QTSystem\\QTJava.zip&#39;,
544 &#39;QUERY_STRING&#39;: &#39;&#39;,
545 &#39;REMOTE_ADDR&#39;: &#39;127.0.0.1&#39;,
546 &#39;REMOTE_HOST&#39;: &#39;&#39;,
547 &#39;REQUEST_METHOD&#39;: &#39;GET&#39;,
548 &#39;RUN_MAIN&#39;: &#39;true&#39;,
549 &#39;SCRIPT_NAME&#39;: u&#39;&#39;,
550 &#39;SERVER_NAME&#39;: &#39;J-PC-vistaen&#39;,
551 &#39;SERVER_PORT&#39;: &#39;8080&#39;,
552 &#39;SERVER_PROTOCOL&#39;: &#39;HTTP/1.1&#39;,
553 &#39;SERVER_SOFTWARE&#39;: &#39;WSGIServer/0.1 Python/2.5.2&#39;,
554 &#39;SESSIONNAME&#39;: &#39;Console&#39;,
555 &#39;SYSTEMDRIVE&#39;: &#39;C:&#39;,
556 &#39;SYSTEMROOT&#39;: &#39;C:\\Windows&#39;,
557 &#39;TEMP&#39;: &#39;C:\\Users\\J\\AppData\\Local\\Temp&#39;,
558 &#39;TMP&#39;: &#39;C:\\Users\\J\\AppData\\Local\\Temp&#39;,
559 &#39;USERDOMAIN&#39;: &#39;J-PC-vistaen&#39;,
560 &#39;USERNAME&#39;: &#39;J&#39;,
561 &#39;USERPROFILE&#39;: &#39;C:\\Users\\J&#39;,
562 &#39;WINDIR&#39;: &#39;C:\\Windows&#39;,
563 &#39;wsgi.errors&#39;: &lt;open file &#39;&lt;stderr&gt;&#39;, mode &#39;w&#39; at 0x0195F0B0&gt;,
564 &#39;wsgi.file_wrapper&#39;: &lt;class &#39;django.core.servers.basehttp.FileWrapper&#39;&gt;,
565 &#39;wsgi.input&#39;: &lt;socket._fileobject object at 0x023043F0&gt;,
566 &#39;wsgi.multiprocess&#39;: False,
567 &#39;wsgi.multithread&#39;: True,
568 &#39;wsgi.run_once&#39;: False,
569 &#39;wsgi.url_scheme&#39;: &#39;http&#39;,
570 &#39;wsgi.version&#39;: (1, 0)}&gt;,
571 u&#39;comments&#39;,
572 u&#39;comment&#39;)</div></td>
573 </tr>
574
575 <tr>
576 <td>kwargs</td>
577 <td class="code"><div>{}</div></td>
578 </tr>
579
580 <tr>
581 <td>request</td>
582 <td class="code"><div>&lt;django.contrib.admin.sites.AdminSite object at 0x0220E750&gt;</div></td>
583 </tr>
584
585 <tr>
586 <td>view_func</td>
587 <td class="code"><div>&lt;function model_page at 0x02211AB0&gt;</div></td>
588 </tr>
589
590 </tbody>
591 </table>
592
593 </li>
594
595 <li class="frame">
596 <code>C:\Python25\lib\site-packages\django\contrib\admin\sites.py</code> in <code>model_page</code>
597
598
599 <div class="context" id="c37888048">
600
601 <ol start="170" class="pre-context" id="pre37888048"><li onclick="toggle('pre37888048', 'post37888048')"> model = models.get_model(app_label, model_name)</li><li onclick="toggle('pre37888048', 'post37888048')"> if model is None:</li><li onclick="toggle('pre37888048', 'post37888048')"> raise http.Http404(&quot;App %r, model %r, not found.&quot; % (app_label, model_name))</li><li onclick="toggle('pre37888048', 'post37888048')"> try:</li><li onclick="toggle('pre37888048', 'post37888048')"> admin_obj = self._registry[model]</li><li onclick="toggle('pre37888048', 'post37888048')"> except KeyError:</li><li onclick="toggle('pre37888048', 'post37888048')"> raise http.Http404(&quot;This model exists but has not been registered with the admin site.&quot;)</li></ol>
602
603 <ol start="177" class="context-line"><li onclick="toggle('pre37888048', 'post37888048')"> return admin_obj(request, rest_of_url) <span>...</span></li></ol>
604
605 <ol start='178' class="post-context" id="post37888048"><li onclick="toggle('pre37888048', 'post37888048')"> model_page = never_cache(model_page)</li><li onclick="toggle('pre37888048', 'post37888048')"></li><li onclick="toggle('pre37888048', 'post37888048')"> def password_change(self, request):</li><li onclick="toggle('pre37888048', 'post37888048')"> &quot;&quot;&quot;</li><li onclick="toggle('pre37888048', 'post37888048')"> Handles the &quot;change password&quot; task -- both form display and validation.</li><li onclick="toggle('pre37888048', 'post37888048')"> &quot;&quot;&quot;</li></ol>
606
607 </div>
608
609
610
611 <div class="commands">
612 <a href="#" onclick="return varToggle(this, '37888048')"><span>&#x25b6;</span> Local vars</a>
613 </div>
614 <table class="vars" id="v37888048">
615 <thead>
616 <tr>
617 <th>Variable</th>
618 <th>Value</th>
619 </tr>
620 </thead>
621 <tbody>
622
623 <tr>
624 <td>admin_obj</td>
625 <td class="code"><div>&lt;django.contrib.comments.admin.CommentsAdmin object at 0x023BBA50&gt;</div></td>
626 </tr>
627
628 <tr>
629 <td>app_label</td>
630 <td class="code"><div>u&#39;comments&#39;</div></td>
631 </tr>
632
633 <tr>
634 <td>model</td>
635 <td class="code"><div>&lt;class &#39;django.contrib.comments.models.Comment&#39;&gt;</div></td>
636 </tr>
637
638 <tr>
639 <td>model_name</td>
640 <td class="code"><div>u&#39;comment&#39;</div></td>
641 </tr>
642
643 <tr>
644 <td>models</td>
645 <td class="code"><div>&lt;module &#39;django.db.models&#39; from &#39;C:\Python25\lib\site-packages\django\db\models\__init__.pyc&#39;&gt;</div></td>
646 </tr>
647
648 <tr>
649 <td>request</td>
650 <td class="code"><div>&lt;WSGIRequest
651GET:&lt;QueryDict: {}&gt;,
652POST:&lt;QueryDict: {}&gt;,
653COOKIES:{&#39;sessionid&#39;: &#39;831bf381040c8a6239b3bba39536eb49&#39;},
654META:{&#39;ALLUSERSPROFILE&#39;: &#39;C:\\ProgramData&#39;,
655 &#39;APPDATA&#39;: &#39;C:\\Users\\J\\AppData\\Roaming&#39;,
656 &#39;CLASSPATH&#39;: &#39;.;C:\\Program Files\\QuickTime\\QTSystem\\QTJava.zip&#39;,
657 &#39;COMMANDER_DRIVE&#39;: &#39;C:&#39;,
658 &#39;COMMANDER_INI&#39;: &#39;C:\\Users\\J\\AppData\\Roaming\\GHISLER\\wincmd.ini&#39;,
659 &#39;COMMANDER_PATH&#39;: &#39;C:\\Program Files\\totalcmd&#39;,
660 &#39;COMMONPROGRAMFILES&#39;: &#39;C:\\Program Files\\Common Files&#39;,
661 &#39;COMPUTERNAME&#39;: &#39;J-PC-VISTAEN&#39;,
662 &#39;COMSPEC&#39;: &#39;C:\\Windows\\system32\\cmd.exe&#39;,
663 &#39;CONTENT_LENGTH&#39;: &#39;&#39;,
664 &#39;CONTENT_TYPE&#39;: &#39;text/plain&#39;,
665 &#39;DJANGO_SETTINGS_MODULE&#39;: &#39;ssa.settings&#39;,
666 &#39;FP_NO_HOST_CHECK&#39;: &#39;NO&#39;,
667 &#39;GATEWAY_INTERFACE&#39;: &#39;CGI/1.1&#39;,
668 &#39;HOMEDRIVE&#39;: &#39;C:&#39;,
669 &#39;HOMEPATH&#39;: &#39;\\Users\\J&#39;,
670 &#39;HTTP_ACCEPT&#39;: &#39;text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8&#39;,
671 &#39;HTTP_ACCEPT_CHARSET&#39;: &#39;ISO-8859-1,utf-8;q=0.7,*;q=0.7&#39;,
672 &#39;HTTP_ACCEPT_ENCODING&#39;: &#39;gzip,deflate&#39;,
673 &#39;HTTP_ACCEPT_LANGUAGE&#39;: &#39;es,es-ar;q=0.8,en-us;q=0.5,en;q=0.3&#39;,
674 &#39;HTTP_CACHE_CONTROL&#39;: &#39;max-age=0&#39;,
675 &#39;HTTP_CONNECTION&#39;: &#39;keep-alive&#39;,
676 &#39;HTTP_COOKIE&#39;: &#39;sessionid=831bf381040c8a6239b3bba39536eb49&#39;,
677 &#39;HTTP_HOST&#39;: &#39;localhost:8080&#39;,
678 &#39;HTTP_KEEP_ALIVE&#39;: &#39;300&#39;,
679 &#39;HTTP_REFERER&#39;: &#39;http://localhost:8080/admin/&#39;,
680 &#39;HTTP_USER_AGENT&#39;: &#39;Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1&#39;,
681 &#39;LOCALAPPDATA&#39;: &#39;C:\\Users\\J\\AppData\\Local&#39;,
682 &#39;LOGONSERVER&#39;: &#39;\\\\J-PC-VISTAEN&#39;,
683 &#39;NUMBER_OF_PROCESSORS&#39;: &#39;2&#39;,
684 &#39;OS&#39;: &#39;Windows_NT&#39;,
685 &#39;PATH&#39;: &#39;C:\\Python25\\;C:\\Python25\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Program Files\\QuickTime\\QTSystem\\;C:\\Program Files\\Common Files\\Adobe\\AGL;C:\\p\\usr\\bin;C:\\Python25\\Lib\\site-packages\\django\\bin\\;;C:\\Program Files\\Common Files\\Ahead\\Lib\\&#39;,
686 &#39;PATHEXT&#39;: &#39;.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py;.pyw&#39;,
687 &#39;PATH_INFO&#39;: u&#39;/admin/comments/comment/&#39;,
688 &#39;PROCESSOR_ARCHITECTURE&#39;: &#39;x86&#39;,
689 &#39;PROCESSOR_IDENTIFIER&#39;: &#39;x86 Family 6 Model 15 Stepping 6, GenuineIntel&#39;,
690 &#39;PROCESSOR_LEVEL&#39;: &#39;6&#39;,
691 &#39;PROCESSOR_REVISION&#39;: &#39;0f06&#39;,
692 &#39;PROGRAMDATA&#39;: &#39;C:\\ProgramData&#39;,
693 &#39;PROGRAMFILES&#39;: &#39;C:\\Program Files&#39;,
694 &#39;PROMPT&#39;: &#39;$P$G&#39;,
695 &#39;PUBLIC&#39;: &#39;C:\\Users\\Public&#39;,
696 &#39;QTJAVA&#39;: &#39;C:\\Program Files\\QuickTime\\QTSystem\\QTJava.zip&#39;,
697 &#39;QUERY_STRING&#39;: &#39;&#39;,
698 &#39;REMOTE_ADDR&#39;: &#39;127.0.0.1&#39;,
699 &#39;REMOTE_HOST&#39;: &#39;&#39;,
700 &#39;REQUEST_METHOD&#39;: &#39;GET&#39;,
701 &#39;RUN_MAIN&#39;: &#39;true&#39;,
702 &#39;SCRIPT_NAME&#39;: u&#39;&#39;,
703 &#39;SERVER_NAME&#39;: &#39;J-PC-vistaen&#39;,
704 &#39;SERVER_PORT&#39;: &#39;8080&#39;,
705 &#39;SERVER_PROTOCOL&#39;: &#39;HTTP/1.1&#39;,
706 &#39;SERVER_SOFTWARE&#39;: &#39;WSGIServer/0.1 Python/2.5.2&#39;,
707 &#39;SESSIONNAME&#39;: &#39;Console&#39;,
708 &#39;SYSTEMDRIVE&#39;: &#39;C:&#39;,
709 &#39;SYSTEMROOT&#39;: &#39;C:\\Windows&#39;,
710 &#39;TEMP&#39;: &#39;C:\\Users\\J\\AppData\\Local\\Temp&#39;,
711 &#39;TMP&#39;: &#39;C:\\Users\\J\\AppData\\Local\\Temp&#39;,
712 &#39;USERDOMAIN&#39;: &#39;J-PC-vistaen&#39;,
713 &#39;USERNAME&#39;: &#39;J&#39;,
714 &#39;USERPROFILE&#39;: &#39;C:\\Users\\J&#39;,
715 &#39;WINDIR&#39;: &#39;C:\\Windows&#39;,
716 &#39;wsgi.errors&#39;: &lt;open file &#39;&lt;stderr&gt;&#39;, mode &#39;w&#39; at 0x0195F0B0&gt;,
717 &#39;wsgi.file_wrapper&#39;: &lt;class &#39;django.core.servers.basehttp.FileWrapper&#39;&gt;,
718 &#39;wsgi.input&#39;: &lt;socket._fileobject object at 0x023043F0&gt;,
719 &#39;wsgi.multiprocess&#39;: False,
720 &#39;wsgi.multithread&#39;: True,
721 &#39;wsgi.run_once&#39;: False,
722 &#39;wsgi.url_scheme&#39;: &#39;http&#39;,
723 &#39;wsgi.version&#39;: (1, 0)}&gt;</div></td>
724 </tr>
725
726 <tr>
727 <td>rest_of_url</td>
728 <td class="code"><div>None</div></td>
729 </tr>
730
731 <tr>
732 <td>self</td>
733 <td class="code"><div>&lt;django.contrib.admin.sites.AdminSite object at 0x0220E750&gt;</div></td>
734 </tr>
735
736 </tbody>
737 </table>
738
739 </li>
740
741 <li class="frame">
742 <code>C:\Python25\lib\site-packages\django\contrib\admin\options.py</code> in <code>__call__</code>
743
744
745 <div class="context" id="c37890888">
746
747 <ol start="182" class="pre-context" id="pre37890888"><li onclick="toggle('pre37890888', 'post37890888')"> inline_instance = inline_class(self.model, self.admin_site)</li><li onclick="toggle('pre37890888', 'post37890888')"> self.inline_instances.append(inline_instance)</li><li onclick="toggle('pre37890888', 'post37890888')"> super(ModelAdmin, self).__init__()</li><li onclick="toggle('pre37890888', 'post37890888')"></li><li onclick="toggle('pre37890888', 'post37890888')"> def __call__(self, request, url):</li><li onclick="toggle('pre37890888', 'post37890888')"> # Delegate to the appropriate method, based on the URL.</li><li onclick="toggle('pre37890888', 'post37890888')"> if url is None:</li></ol>
748
749 <ol start="189" class="context-line"><li onclick="toggle('pre37890888', 'post37890888')"> return self.changelist_view(request) <span>...</span></li></ol>
750
751 <ol start='190' class="post-context" id="post37890888"><li onclick="toggle('pre37890888', 'post37890888')"> elif url == &quot;add&quot;:</li><li onclick="toggle('pre37890888', 'post37890888')"> return self.add_view(request)</li><li onclick="toggle('pre37890888', 'post37890888')"> elif url.endswith(&#39;/history&#39;):</li><li onclick="toggle('pre37890888', 'post37890888')"> return self.history_view(request, unquote(url[:-8]))</li><li onclick="toggle('pre37890888', 'post37890888')"> elif url.endswith(&#39;/delete&#39;):</li><li onclick="toggle('pre37890888', 'post37890888')"> return self.delete_view(request, unquote(url[:-7]))</li></ol>
752
753 </div>
754
755
756
757 <div class="commands">
758 <a href="#" onclick="return varToggle(this, '37890888')"><span>&#x25b6;</span> Local vars</a>
759 </div>
760 <table class="vars" id="v37890888">
761 <thead>
762 <tr>
763 <th>Variable</th>
764 <th>Value</th>
765 </tr>
766 </thead>
767 <tbody>
768
769 <tr>
770 <td>request</td>
771 <td class="code"><div>&lt;WSGIRequest
772GET:&lt;QueryDict: {}&gt;,
773POST:&lt;QueryDict: {}&gt;,
774COOKIES:{&#39;sessionid&#39;: &#39;831bf381040c8a6239b3bba39536eb49&#39;},
775META:{&#39;ALLUSERSPROFILE&#39;: &#39;C:\\ProgramData&#39;,
776 &#39;APPDATA&#39;: &#39;C:\\Users\\J\\AppData\\Roaming&#39;,
777 &#39;CLASSPATH&#39;: &#39;.;C:\\Program Files\\QuickTime\\QTSystem\\QTJava.zip&#39;,
778 &#39;COMMANDER_DRIVE&#39;: &#39;C:&#39;,
779 &#39;COMMANDER_INI&#39;: &#39;C:\\Users\\J\\AppData\\Roaming\\GHISLER\\wincmd.ini&#39;,
780 &#39;COMMANDER_PATH&#39;: &#39;C:\\Program Files\\totalcmd&#39;,
781 &#39;COMMONPROGRAMFILES&#39;: &#39;C:\\Program Files\\Common Files&#39;,
782 &#39;COMPUTERNAME&#39;: &#39;J-PC-VISTAEN&#39;,
783 &#39;COMSPEC&#39;: &#39;C:\\Windows\\system32\\cmd.exe&#39;,
784 &#39;CONTENT_LENGTH&#39;: &#39;&#39;,
785 &#39;CONTENT_TYPE&#39;: &#39;text/plain&#39;,
786 &#39;DJANGO_SETTINGS_MODULE&#39;: &#39;ssa.settings&#39;,
787 &#39;FP_NO_HOST_CHECK&#39;: &#39;NO&#39;,
788 &#39;GATEWAY_INTERFACE&#39;: &#39;CGI/1.1&#39;,
789 &#39;HOMEDRIVE&#39;: &#39;C:&#39;,
790 &#39;HOMEPATH&#39;: &#39;\\Users\\J&#39;,
791 &#39;HTTP_ACCEPT&#39;: &#39;text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8&#39;,
792 &#39;HTTP_ACCEPT_CHARSET&#39;: &#39;ISO-8859-1,utf-8;q=0.7,*;q=0.7&#39;,
793 &#39;HTTP_ACCEPT_ENCODING&#39;: &#39;gzip,deflate&#39;,
794 &#39;HTTP_ACCEPT_LANGUAGE&#39;: &#39;es,es-ar;q=0.8,en-us;q=0.5,en;q=0.3&#39;,
795 &#39;HTTP_CACHE_CONTROL&#39;: &#39;max-age=0&#39;,
796 &#39;HTTP_CONNECTION&#39;: &#39;keep-alive&#39;,
797 &#39;HTTP_COOKIE&#39;: &#39;sessionid=831bf381040c8a6239b3bba39536eb49&#39;,
798 &#39;HTTP_HOST&#39;: &#39;localhost:8080&#39;,
799 &#39;HTTP_KEEP_ALIVE&#39;: &#39;300&#39;,
800 &#39;HTTP_REFERER&#39;: &#39;http://localhost:8080/admin/&#39;,
801 &#39;HTTP_USER_AGENT&#39;: &#39;Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1&#39;,
802 &#39;LOCALAPPDATA&#39;: &#39;C:\\Users\\J\\AppData\\Local&#39;,
803 &#39;LOGONSERVER&#39;: &#39;\\\\J-PC-VISTAEN&#39;,
804 &#39;NUMBER_OF_PROCESSORS&#39;: &#39;2&#39;,
805 &#39;OS&#39;: &#39;Windows_NT&#39;,
806 &#39;PATH&#39;: &#39;C:\\Python25\\;C:\\Python25\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Program Files\\QuickTime\\QTSystem\\;C:\\Program Files\\Common Files\\Adobe\\AGL;C:\\p\\usr\\bin;C:\\Python25\\Lib\\site-packages\\django\\bin\\;;C:\\Program Files\\Common Files\\Ahead\\Lib\\&#39;,
807 &#39;PATHEXT&#39;: &#39;.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py;.pyw&#39;,
808 &#39;PATH_INFO&#39;: u&#39;/admin/comments/comment/&#39;,
809 &#39;PROCESSOR_ARCHITECTURE&#39;: &#39;x86&#39;,
810 &#39;PROCESSOR_IDENTIFIER&#39;: &#39;x86 Family 6 Model 15 Stepping 6, GenuineIntel&#39;,
811 &#39;PROCESSOR_LEVEL&#39;: &#39;6&#39;,
812 &#39;PROCESSOR_REVISION&#39;: &#39;0f06&#39;,
813 &#39;PROGRAMDATA&#39;: &#39;C:\\ProgramData&#39;,
814 &#39;PROGRAMFILES&#39;: &#39;C:\\Program Files&#39;,
815 &#39;PROMPT&#39;: &#39;$P$G&#39;,
816 &#39;PUBLIC&#39;: &#39;C:\\Users\\Public&#39;,
817 &#39;QTJAVA&#39;: &#39;C:\\Program Files\\QuickTime\\QTSystem\\QTJava.zip&#39;,
818 &#39;QUERY_STRING&#39;: &#39;&#39;,
819 &#39;REMOTE_ADDR&#39;: &#39;127.0.0.1&#39;,
820 &#39;REMOTE_HOST&#39;: &#39;&#39;,
821 &#39;REQUEST_METHOD&#39;: &#39;GET&#39;,
822 &#39;RUN_MAIN&#39;: &#39;true&#39;,
823 &#39;SCRIPT_NAME&#39;: u&#39;&#39;,
824 &#39;SERVER_NAME&#39;: &#39;J-PC-vistaen&#39;,
825 &#39;SERVER_PORT&#39;: &#39;8080&#39;,
826 &#39;SERVER_PROTOCOL&#39;: &#39;HTTP/1.1&#39;,
827 &#39;SERVER_SOFTWARE&#39;: &#39;WSGIServer/0.1 Python/2.5.2&#39;,
828 &#39;SESSIONNAME&#39;: &#39;Console&#39;,
829 &#39;SYSTEMDRIVE&#39;: &#39;C:&#39;,
830 &#39;SYSTEMROOT&#39;: &#39;C:\\Windows&#39;,
831 &#39;TEMP&#39;: &#39;C:\\Users\\J\\AppData\\Local\\Temp&#39;,
832 &#39;TMP&#39;: &#39;C:\\Users\\J\\AppData\\Local\\Temp&#39;,
833 &#39;USERDOMAIN&#39;: &#39;J-PC-vistaen&#39;,
834 &#39;USERNAME&#39;: &#39;J&#39;,
835 &#39;USERPROFILE&#39;: &#39;C:\\Users\\J&#39;,
836 &#39;WINDIR&#39;: &#39;C:\\Windows&#39;,
837 &#39;wsgi.errors&#39;: &lt;open file &#39;&lt;stderr&gt;&#39;, mode &#39;w&#39; at 0x0195F0B0&gt;,
838 &#39;wsgi.file_wrapper&#39;: &lt;class &#39;django.core.servers.basehttp.FileWrapper&#39;&gt;,
839 &#39;wsgi.input&#39;: &lt;socket._fileobject object at 0x023043F0&gt;,
840 &#39;wsgi.multiprocess&#39;: False,
841 &#39;wsgi.multithread&#39;: True,
842 &#39;wsgi.run_once&#39;: False,
843 &#39;wsgi.url_scheme&#39;: &#39;http&#39;,
844 &#39;wsgi.version&#39;: (1, 0)}&gt;</div></td>
845 </tr>
846
847 <tr>
848 <td>self</td>
849 <td class="code"><div>&lt;django.contrib.comments.admin.CommentsAdmin object at 0x023BBA50&gt;</div></td>
850 </tr>
851
852 <tr>
853 <td>url</td>
854 <td class="code"><div>None</div></td>
855 </tr>
856
857 </tbody>
858 </table>
859
860 </li>
861
862 <li class="frame">
863 <code>C:\Python25\lib\site-packages\django\contrib\admin\options.py</code> in <code>changelist_view</code>
864
865
866 <div class="context" id="c37486264">
867
868 <ol start="631" class="pre-context" id="pre37486264"><li onclick="toggle('pre37486264', 'post37486264')"> from django.contrib.admin.views.main import ChangeList, ERROR_FLAG</li><li onclick="toggle('pre37486264', 'post37486264')"> opts = self.model._meta</li><li onclick="toggle('pre37486264', 'post37486264')"> app_label = opts.app_label</li><li onclick="toggle('pre37486264', 'post37486264')"> if not self.has_change_permission(request, None):</li><li onclick="toggle('pre37486264', 'post37486264')"> raise PermissionDenied</li><li onclick="toggle('pre37486264', 'post37486264')"> try:</li><li onclick="toggle('pre37486264', 'post37486264')"> cl = ChangeList(request, self.model, self.list_display, self.list_display_links, self.list_filter,</li></ol>
869
870 <ol start="638" class="context-line"><li onclick="toggle('pre37486264', 'post37486264')"> self.date_hierarchy, self.search_fields, self.list_select_related, self.list_per_page, self) <span>...</span></li></ol>
871
872 <ol start='639' class="post-context" id="post37486264"><li onclick="toggle('pre37486264', 'post37486264')"> except IncorrectLookupParameters:</li><li onclick="toggle('pre37486264', 'post37486264')"> # Wacky lookup parameters were given, so redirect to the main</li><li onclick="toggle('pre37486264', 'post37486264')"> # changelist page, without parameters, and pass an &#39;invalid=1&#39;</li><li onclick="toggle('pre37486264', 'post37486264')"> # parameter via the query string. If wacky parameters were given and</li><li onclick="toggle('pre37486264', 'post37486264')"> # the &#39;invalid=1&#39; parameter was already in the query string, something</li><li onclick="toggle('pre37486264', 'post37486264')"> # is screwed up with the database, so display an error page.</li></ol>
873
874 </div>
875
876
877
878 <div class="commands">
879 <a href="#" onclick="return varToggle(this, '37486264')"><span>&#x25b6;</span> Local vars</a>
880 </div>
881 <table class="vars" id="v37486264">
882 <thead>
883 <tr>
884 <th>Variable</th>
885 <th>Value</th>
886 </tr>
887 </thead>
888 <tbody>
889
890 <tr>
891 <td>ChangeList</td>
892 <td class="code"><div>&lt;class &#39;django.contrib.admin.views.main.ChangeList&#39;&gt;</div></td>
893 </tr>
894
895 <tr>
896 <td>ERROR_FLAG</td>
897 <td class="code"><div>&#39;e&#39;</div></td>
898 </tr>
899
900 <tr>
901 <td>app_label</td>
902 <td class="code"><div>&#39;comments&#39;</div></td>
903 </tr>
904
905 <tr>
906 <td>extra_context</td>
907 <td class="code"><div>None</div></td>
908 </tr>
909
910 <tr>
911 <td>opts</td>
912 <td class="code"><div>&lt;Options for Comment&gt;</div></td>
913 </tr>
914
915 <tr>
916 <td>request</td>
917 <td class="code"><div>&lt;WSGIRequest
918GET:&lt;QueryDict: {}&gt;,
919POST:&lt;QueryDict: {}&gt;,
920COOKIES:{&#39;sessionid&#39;: &#39;831bf381040c8a6239b3bba39536eb49&#39;},
921META:{&#39;ALLUSERSPROFILE&#39;: &#39;C:\\ProgramData&#39;,
922 &#39;APPDATA&#39;: &#39;C:\\Users\\J\\AppData\\Roaming&#39;,
923 &#39;CLASSPATH&#39;: &#39;.;C:\\Program Files\\QuickTime\\QTSystem\\QTJava.zip&#39;,
924 &#39;COMMANDER_DRIVE&#39;: &#39;C:&#39;,
925 &#39;COMMANDER_INI&#39;: &#39;C:\\Users\\J\\AppData\\Roaming\\GHISLER\\wincmd.ini&#39;,
926 &#39;COMMANDER_PATH&#39;: &#39;C:\\Program Files\\totalcmd&#39;,
927 &#39;COMMONPROGRAMFILES&#39;: &#39;C:\\Program Files\\Common Files&#39;,
928 &#39;COMPUTERNAME&#39;: &#39;J-PC-VISTAEN&#39;,
929 &#39;COMSPEC&#39;: &#39;C:\\Windows\\system32\\cmd.exe&#39;,
930 &#39;CONTENT_LENGTH&#39;: &#39;&#39;,
931 &#39;CONTENT_TYPE&#39;: &#39;text/plain&#39;,
932 &#39;DJANGO_SETTINGS_MODULE&#39;: &#39;ssa.settings&#39;,
933 &#39;FP_NO_HOST_CHECK&#39;: &#39;NO&#39;,
934 &#39;GATEWAY_INTERFACE&#39;: &#39;CGI/1.1&#39;,
935 &#39;HOMEDRIVE&#39;: &#39;C:&#39;,
936 &#39;HOMEPATH&#39;: &#39;\\Users\\J&#39;,
937 &#39;HTTP_ACCEPT&#39;: &#39;text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8&#39;,
938 &#39;HTTP_ACCEPT_CHARSET&#39;: &#39;ISO-8859-1,utf-8;q=0.7,*;q=0.7&#39;,
939 &#39;HTTP_ACCEPT_ENCODING&#39;: &#39;gzip,deflate&#39;,
940 &#39;HTTP_ACCEPT_LANGUAGE&#39;: &#39;es,es-ar;q=0.8,en-us;q=0.5,en;q=0.3&#39;,
941 &#39;HTTP_CACHE_CONTROL&#39;: &#39;max-age=0&#39;,
942 &#39;HTTP_CONNECTION&#39;: &#39;keep-alive&#39;,
943 &#39;HTTP_COOKIE&#39;: &#39;sessionid=831bf381040c8a6239b3bba39536eb49&#39;,
944 &#39;HTTP_HOST&#39;: &#39;localhost:8080&#39;,
945 &#39;HTTP_KEEP_ALIVE&#39;: &#39;300&#39;,
946 &#39;HTTP_REFERER&#39;: &#39;http://localhost:8080/admin/&#39;,
947 &#39;HTTP_USER_AGENT&#39;: &#39;Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1&#39;,
948 &#39;LOCALAPPDATA&#39;: &#39;C:\\Users\\J\\AppData\\Local&#39;,
949 &#39;LOGONSERVER&#39;: &#39;\\\\J-PC-VISTAEN&#39;,
950 &#39;NUMBER_OF_PROCESSORS&#39;: &#39;2&#39;,
951 &#39;OS&#39;: &#39;Windows_NT&#39;,
952 &#39;PATH&#39;: &#39;C:\\Python25\\;C:\\Python25\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Program Files\\QuickTime\\QTSystem\\;C:\\Program Files\\Common Files\\Adobe\\AGL;C:\\p\\usr\\bin;C:\\Python25\\Lib\\site-packages\\django\\bin\\;;C:\\Program Files\\Common Files\\Ahead\\Lib\\&#39;,
953 &#39;PATHEXT&#39;: &#39;.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py;.pyw&#39;,
954 &#39;PATH_INFO&#39;: u&#39;/admin/comments/comment/&#39;,
955 &#39;PROCESSOR_ARCHITECTURE&#39;: &#39;x86&#39;,
956 &#39;PROCESSOR_IDENTIFIER&#39;: &#39;x86 Family 6 Model 15 Stepping 6, GenuineIntel&#39;,
957 &#39;PROCESSOR_LEVEL&#39;: &#39;6&#39;,
958 &#39;PROCESSOR_REVISION&#39;: &#39;0f06&#39;,
959 &#39;PROGRAMDATA&#39;: &#39;C:\\ProgramData&#39;,
960 &#39;PROGRAMFILES&#39;: &#39;C:\\Program Files&#39;,
961 &#39;PROMPT&#39;: &#39;$P$G&#39;,
962 &#39;PUBLIC&#39;: &#39;C:\\Users\\Public&#39;,
963 &#39;QTJAVA&#39;: &#39;C:\\Program Files\\QuickTime\\QTSystem\\QTJava.zip&#39;,
964 &#39;QUERY_STRING&#39;: &#39;&#39;,
965 &#39;REMOTE_ADDR&#39;: &#39;127.0.0.1&#39;,
966 &#39;REMOTE_HOST&#39;: &#39;&#39;,
967 &#39;REQUEST_METHOD&#39;: &#39;GET&#39;,
968 &#39;RUN_MAIN&#39;: &#39;true&#39;,
969 &#39;SCRIPT_NAME&#39;: u&#39;&#39;,
970 &#39;SERVER_NAME&#39;: &#39;J-PC-vistaen&#39;,
971 &#39;SERVER_PORT&#39;: &#39;8080&#39;,
972 &#39;SERVER_PROTOCOL&#39;: &#39;HTTP/1.1&#39;,
973 &#39;SERVER_SOFTWARE&#39;: &#39;WSGIServer/0.1 Python/2.5.2&#39;,
974 &#39;SESSIONNAME&#39;: &#39;Console&#39;,
975 &#39;SYSTEMDRIVE&#39;: &#39;C:&#39;,
976 &#39;SYSTEMROOT&#39;: &#39;C:\\Windows&#39;,
977 &#39;TEMP&#39;: &#39;C:\\Users\\J\\AppData\\Local\\Temp&#39;,
978 &#39;TMP&#39;: &#39;C:\\Users\\J\\AppData\\Local\\Temp&#39;,
979 &#39;USERDOMAIN&#39;: &#39;J-PC-vistaen&#39;,
980 &#39;USERNAME&#39;: &#39;J&#39;,
981 &#39;USERPROFILE&#39;: &#39;C:\\Users\\J&#39;,
982 &#39;WINDIR&#39;: &#39;C:\\Windows&#39;,
983 &#39;wsgi.errors&#39;: &lt;open file &#39;&lt;stderr&gt;&#39;, mode &#39;w&#39; at 0x0195F0B0&gt;,
984 &#39;wsgi.file_wrapper&#39;: &lt;class &#39;django.core.servers.basehttp.FileWrapper&#39;&gt;,
985 &#39;wsgi.input&#39;: &lt;socket._fileobject object at 0x023043F0&gt;,
986 &#39;wsgi.multiprocess&#39;: False,
987 &#39;wsgi.multithread&#39;: True,
988 &#39;wsgi.run_once&#39;: False,
989 &#39;wsgi.url_scheme&#39;: &#39;http&#39;,
990 &#39;wsgi.version&#39;: (1, 0)}&gt;</div></td>
991 </tr>
992
993 <tr>
994 <td>self</td>
995 <td class="code"><div>&lt;django.contrib.comments.admin.CommentsAdmin object at 0x023BBA50&gt;</div></td>
996 </tr>
997
998 </tbody>
999 </table>
1000
1001 </li>
1002
1003 <li class="frame">
1004 <code>C:\Python25\lib\site-packages\django\contrib\admin\views\main.py</code> in <code>__init__</code>
1005
1006
1007 <div class="context" id="c37482864">
1008
1009 <ol start="61" class="pre-context" id="pre37482864"><li onclick="toggle('pre37482864', 'post37482864')"> del self.params[TO_FIELD_VAR]</li><li onclick="toggle('pre37482864', 'post37482864')"> if ERROR_FLAG in self.params:</li><li onclick="toggle('pre37482864', 'post37482864')"> del self.params[ERROR_FLAG]</li><li onclick="toggle('pre37482864', 'post37482864')"></li><li onclick="toggle('pre37482864', 'post37482864')"> self.order_field, self.order_type = self.get_ordering()</li><li onclick="toggle('pre37482864', 'post37482864')"> self.query = request.GET.get(SEARCH_VAR, &#39;&#39;)</li><li onclick="toggle('pre37482864', 'post37482864')"> self.query_set = self.get_query_set()</li></ol>
1010
1011 <ol start="68" class="context-line"><li onclick="toggle('pre37482864', 'post37482864')"> self.get_results(request) <span>...</span></li></ol>
1012
1013 <ol start='69' class="post-context" id="post37482864"><li onclick="toggle('pre37482864', 'post37482864')"> self.title = (self.is_popup and ugettext(&#39;Select %s&#39;) % force_unicode(self.opts.verbose_name) or ugettext(&#39;Select %s to change&#39;) % force_unicode(self.opts.verbose_name))</li><li onclick="toggle('pre37482864', 'post37482864')"> self.filter_specs, self.has_filters = self.get_filters(request)</li><li onclick="toggle('pre37482864', 'post37482864')"> self.pk_attname = self.lookup_opts.pk.attname</li><li onclick="toggle('pre37482864', 'post37482864')"></li><li onclick="toggle('pre37482864', 'post37482864')"> def get_filters(self, request):</li><li onclick="toggle('pre37482864', 'post37482864')"> filter_specs = []</li></ol>
1014
1015 </div>
1016
1017
1018
1019 <div class="commands">
1020 <a href="#" onclick="return varToggle(this, '37482864')"><span>&#x25b6;</span> Local vars</a>
1021 </div>
1022 <table class="vars" id="v37482864">
1023 <thead>
1024 <tr>
1025 <th>Variable</th>
1026 <th>Value</th>
1027 </tr>
1028 </thead>
1029 <tbody>
1030
1031 <tr>
1032 <td>date_hierarchy</td>
1033 <td class="code"><div>&#39;submit_date&#39;</div></td>
1034 </tr>
1035
1036 <tr>
1037 <td>list_display</td>
1038 <td class="code"><div>(&#39;name&#39;, &#39;content_type&#39;, &#39;object_pk&#39;, &#39;ip_address&#39;, &#39;is_public&#39;, &#39;is_removed&#39;)</div></td>
1039 </tr>
1040
1041 <tr>
1042 <td>list_display_links</td>
1043 <td class="code"><div>()</div></td>
1044 </tr>
1045
1046 <tr>
1047 <td>list_filter</td>
1048 <td class="code"><div>(&#39;submit_date&#39;, &#39;site&#39;, &#39;is_public&#39;, &#39;is_removed&#39;)</div></td>
1049 </tr>
1050
1051 <tr>
1052 <td>list_per_page</td>
1053 <td class="code"><div>100</div></td>
1054 </tr>
1055
1056 <tr>
1057 <td>list_select_related</td>
1058 <td class="code"><div>False</div></td>
1059 </tr>
1060
1061 <tr>
1062 <td>model</td>
1063 <td class="code"><div>&lt;class &#39;django.contrib.comments.models.Comment&#39;&gt;</div></td>
1064 </tr>
1065
1066 <tr>
1067 <td>model_admin</td>
1068 <td class="code"><div>&lt;django.contrib.comments.admin.CommentsAdmin object at 0x023BBA50&gt;</div></td>
1069 </tr>
1070
1071 <tr>
1072 <td>request</td>
1073 <td class="code"><div>&lt;WSGIRequest
1074GET:&lt;QueryDict: {}&gt;,
1075POST:&lt;QueryDict: {}&gt;,
1076COOKIES:{&#39;sessionid&#39;: &#39;831bf381040c8a6239b3bba39536eb49&#39;},
1077META:{&#39;ALLUSERSPROFILE&#39;: &#39;C:\\ProgramData&#39;,
1078 &#39;APPDATA&#39;: &#39;C:\\Users\\J\\AppData\\Roaming&#39;,
1079 &#39;CLASSPATH&#39;: &#39;.;C:\\Program Files\\QuickTime\\QTSystem\\QTJava.zip&#39;,
1080 &#39;COMMANDER_DRIVE&#39;: &#39;C:&#39;,
1081 &#39;COMMANDER_INI&#39;: &#39;C:\\Users\\J\\AppData\\Roaming\\GHISLER\\wincmd.ini&#39;,
1082 &#39;COMMANDER_PATH&#39;: &#39;C:\\Program Files\\totalcmd&#39;,
1083 &#39;COMMONPROGRAMFILES&#39;: &#39;C:\\Program Files\\Common Files&#39;,
1084 &#39;COMPUTERNAME&#39;: &#39;J-PC-VISTAEN&#39;,
1085 &#39;COMSPEC&#39;: &#39;C:\\Windows\\system32\\cmd.exe&#39;,
1086 &#39;CONTENT_LENGTH&#39;: &#39;&#39;,
1087 &#39;CONTENT_TYPE&#39;: &#39;text/plain&#39;,
1088 &#39;DJANGO_SETTINGS_MODULE&#39;: &#39;ssa.settings&#39;,
1089 &#39;FP_NO_HOST_CHECK&#39;: &#39;NO&#39;,
1090 &#39;GATEWAY_INTERFACE&#39;: &#39;CGI/1.1&#39;,
1091 &#39;HOMEDRIVE&#39;: &#39;C:&#39;,
1092 &#39;HOMEPATH&#39;: &#39;\\Users\\J&#39;,
1093 &#39;HTTP_ACCEPT&#39;: &#39;text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8&#39;,
1094 &#39;HTTP_ACCEPT_CHARSET&#39;: &#39;ISO-8859-1,utf-8;q=0.7,*;q=0.7&#39;,
1095 &#39;HTTP_ACCEPT_ENCODING&#39;: &#39;gzip,deflate&#39;,
1096 &#39;HTTP_ACCEPT_LANGUAGE&#39;: &#39;es,es-ar;q=0.8,en-us;q=0.5,en;q=0.3&#39;,
1097 &#39;HTTP_CACHE_CONTROL&#39;: &#39;max-age=0&#39;,
1098 &#39;HTTP_CONNECTION&#39;: &#39;keep-alive&#39;,
1099 &#39;HTTP_COOKIE&#39;: &#39;sessionid=831bf381040c8a6239b3bba39536eb49&#39;,
1100 &#39;HTTP_HOST&#39;: &#39;localhost:8080&#39;,
1101 &#39;HTTP_KEEP_ALIVE&#39;: &#39;300&#39;,
1102 &#39;HTTP_REFERER&#39;: &#39;http://localhost:8080/admin/&#39;,
1103 &#39;HTTP_USER_AGENT&#39;: &#39;Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1&#39;,
1104 &#39;LOCALAPPDATA&#39;: &#39;C:\\Users\\J\\AppData\\Local&#39;,
1105 &#39;LOGONSERVER&#39;: &#39;\\\\J-PC-VISTAEN&#39;,
1106 &#39;NUMBER_OF_PROCESSORS&#39;: &#39;2&#39;,
1107 &#39;OS&#39;: &#39;Windows_NT&#39;,
1108 &#39;PATH&#39;: &#39;C:\\Python25\\;C:\\Python25\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Program Files\\QuickTime\\QTSystem\\;C:\\Program Files\\Common Files\\Adobe\\AGL;C:\\p\\usr\\bin;C:\\Python25\\Lib\\site-packages\\django\\bin\\;;C:\\Program Files\\Common Files\\Ahead\\Lib\\&#39;,
1109 &#39;PATHEXT&#39;: &#39;.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py;.pyw&#39;,
1110 &#39;PATH_INFO&#39;: u&#39;/admin/comments/comment/&#39;,
1111 &#39;PROCESSOR_ARCHITECTURE&#39;: &#39;x86&#39;,
1112 &#39;PROCESSOR_IDENTIFIER&#39;: &#39;x86 Family 6 Model 15 Stepping 6, GenuineIntel&#39;,
1113 &#39;PROCESSOR_LEVEL&#39;: &#39;6&#39;,
1114 &#39;PROCESSOR_REVISION&#39;: &#39;0f06&#39;,
1115 &#39;PROGRAMDATA&#39;: &#39;C:\\ProgramData&#39;,
1116 &#39;PROGRAMFILES&#39;: &#39;C:\\Program Files&#39;,
1117 &#39;PROMPT&#39;: &#39;$P$G&#39;,
1118 &#39;PUBLIC&#39;: &#39;C:\\Users\\Public&#39;,
1119 &#39;QTJAVA&#39;: &#39;C:\\Program Files\\QuickTime\\QTSystem\\QTJava.zip&#39;,
1120 &#39;QUERY_STRING&#39;: &#39;&#39;,
1121 &#39;REMOTE_ADDR&#39;: &#39;127.0.0.1&#39;,
1122 &#39;REMOTE_HOST&#39;: &#39;&#39;,
1123 &#39;REQUEST_METHOD&#39;: &#39;GET&#39;,
1124 &#39;RUN_MAIN&#39;: &#39;true&#39;,
1125 &#39;SCRIPT_NAME&#39;: u&#39;&#39;,
1126 &#39;SERVER_NAME&#39;: &#39;J-PC-vistaen&#39;,
1127 &#39;SERVER_PORT&#39;: &#39;8080&#39;,
1128 &#39;SERVER_PROTOCOL&#39;: &#39;HTTP/1.1&#39;,
1129 &#39;SERVER_SOFTWARE&#39;: &#39;WSGIServer/0.1 Python/2.5.2&#39;,
1130 &#39;SESSIONNAME&#39;: &#39;Console&#39;,
1131 &#39;SYSTEMDRIVE&#39;: &#39;C:&#39;,
1132 &#39;SYSTEMROOT&#39;: &#39;C:\\Windows&#39;,
1133 &#39;TEMP&#39;: &#39;C:\\Users\\J\\AppData\\Local\\Temp&#39;,
1134 &#39;TMP&#39;: &#39;C:\\Users\\J\\AppData\\Local\\Temp&#39;,
1135 &#39;USERDOMAIN&#39;: &#39;J-PC-vistaen&#39;,
1136 &#39;USERNAME&#39;: &#39;J&#39;,
1137 &#39;USERPROFILE&#39;: &#39;C:\\Users\\J&#39;,
1138 &#39;WINDIR&#39;: &#39;C:\\Windows&#39;,
1139 &#39;wsgi.errors&#39;: &lt;open file &#39;&lt;stderr&gt;&#39;, mode &#39;w&#39; at 0x0195F0B0&gt;,
1140 &#39;wsgi.file_wrapper&#39;: &lt;class &#39;django.core.servers.basehttp.FileWrapper&#39;&gt;,
1141 &#39;wsgi.input&#39;: &lt;socket._fileobject object at 0x023043F0&gt;,
1142 &#39;wsgi.multiprocess&#39;: False,
1143 &#39;wsgi.multithread&#39;: True,
1144 &#39;wsgi.run_once&#39;: False,
1145 &#39;wsgi.url_scheme&#39;: &#39;http&#39;,
1146 &#39;wsgi.version&#39;: (1, 0)}&gt;</div></td>
1147 </tr>
1148
1149 <tr>
1150 <td>search_fields</td>
1151 <td class="code"><div>(&#39;comment&#39;,
1152 &#39;user__username&#39;,
1153 &#39;user_name&#39;,
1154 &#39;user_email&#39;,
1155 &#39;user_url&#39;,
1156 &#39;ip_address&#39;)</div></td>
1157 </tr>
1158
1159 <tr>
1160 <td>self</td>
1161 <td class="code"><div>&lt;django.contrib.admin.views.main.ChangeList object at 0x0234D790&gt;</div></td>
1162 </tr>
1163
1164 </tbody>
1165 </table>
1166
1167 </li>
1168
1169 <li class="frame">
1170 <code>C:\Python25\lib\site-packages\django\contrib\admin\views\main.py</code> in <code>get_results</code>
1171
1172
1173 <div class="context" id="c38048192">
1174
1175 <ol start="118" class="pre-context" id="pre38048192"><li onclick="toggle('pre38048192', 'post38048192')"> full_result_count = self.root_query_set.count()</li><li onclick="toggle('pre38048192', 'post38048192')"></li><li onclick="toggle('pre38048192', 'post38048192')"> can_show_all = result_count &lt;= MAX_SHOW_ALL_ALLOWED</li><li onclick="toggle('pre38048192', 'post38048192')"> multi_page = result_count &gt; self.list_per_page</li><li onclick="toggle('pre38048192', 'post38048192')"></li><li onclick="toggle('pre38048192', 'post38048192')"> # Get the list of objects to display on this page.</li><li onclick="toggle('pre38048192', 'post38048192')"> if (self.show_all and can_show_all) or not multi_page:</li></ol>
1176
1177 <ol start="125" class="context-line"><li onclick="toggle('pre38048192', 'post38048192')"> result_list = list(self.query_set) <span>...</span></li></ol>
1178
1179 <ol start='126' class="post-context" id="post38048192"><li onclick="toggle('pre38048192', 'post38048192')"> else:</li><li onclick="toggle('pre38048192', 'post38048192')"> try:</li><li onclick="toggle('pre38048192', 'post38048192')"> result_list = paginator.page(self.page_num+1).object_list</li><li onclick="toggle('pre38048192', 'post38048192')"> except InvalidPage:</li><li onclick="toggle('pre38048192', 'post38048192')"> result_list = ()</li><li onclick="toggle('pre38048192', 'post38048192')"></li></ol>
1180
1181 </div>
1182
1183
1184
1185 <div class="commands">
1186 <a href="#" onclick="return varToggle(this, '38048192')"><span>&#x25b6;</span> Local vars</a>
1187 </div>
1188 <table class="vars" id="v38048192">
1189 <thead>
1190 <tr>
1191 <th>Variable</th>
1192 <th>Value</th>
1193 </tr>
1194 </thead>
1195 <tbody>
1196
1197 <tr>
1198 <td>can_show_all</td>
1199 <td class="code"><div>True</div></td>
1200 </tr>
1201
1202 <tr>
1203 <td>full_result_count</td>
1204 <td class="code"><div>2</div></td>
1205 </tr>
1206
1207 <tr>
1208 <td>multi_page</td>
1209 <td class="code"><div>False</div></td>
1210 </tr>
1211
1212 <tr>
1213 <td>paginator</td>
1214 <td class="code"><div>&lt;django.core.paginator.Paginator object at 0x024555F0&gt;</div></td>
1215 </tr>
1216
1217 <tr>
1218 <td>request</td>
1219 <td class="code"><div>&lt;WSGIRequest
1220GET:&lt;QueryDict: {}&gt;,
1221POST:&lt;QueryDict: {}&gt;,
1222COOKIES:{&#39;sessionid&#39;: &#39;831bf381040c8a6239b3bba39536eb49&#39;},
1223META:{&#39;ALLUSERSPROFILE&#39;: &#39;C:\\ProgramData&#39;,
1224 &#39;APPDATA&#39;: &#39;C:\\Users\\J\\AppData\\Roaming&#39;,
1225 &#39;CLASSPATH&#39;: &#39;.;C:\\Program Files\\QuickTime\\QTSystem\\QTJava.zip&#39;,
1226 &#39;COMMANDER_DRIVE&#39;: &#39;C:&#39;,
1227 &#39;COMMANDER_INI&#39;: &#39;C:\\Users\\J\\AppData\\Roaming\\GHISLER\\wincmd.ini&#39;,
1228 &#39;COMMANDER_PATH&#39;: &#39;C:\\Program Files\\totalcmd&#39;,
1229 &#39;COMMONPROGRAMFILES&#39;: &#39;C:\\Program Files\\Common Files&#39;,
1230 &#39;COMPUTERNAME&#39;: &#39;J-PC-VISTAEN&#39;,
1231 &#39;COMSPEC&#39;: &#39;C:\\Windows\\system32\\cmd.exe&#39;,
1232 &#39;CONTENT_LENGTH&#39;: &#39;&#39;,
1233 &#39;CONTENT_TYPE&#39;: &#39;text/plain&#39;,
1234 &#39;DJANGO_SETTINGS_MODULE&#39;: &#39;ssa.settings&#39;,
1235 &#39;FP_NO_HOST_CHECK&#39;: &#39;NO&#39;,
1236 &#39;GATEWAY_INTERFACE&#39;: &#39;CGI/1.1&#39;,
1237 &#39;HOMEDRIVE&#39;: &#39;C:&#39;,
1238 &#39;HOMEPATH&#39;: &#39;\\Users\\J&#39;,
1239 &#39;HTTP_ACCEPT&#39;: &#39;text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8&#39;,
1240 &#39;HTTP_ACCEPT_CHARSET&#39;: &#39;ISO-8859-1,utf-8;q=0.7,*;q=0.7&#39;,
1241 &#39;HTTP_ACCEPT_ENCODING&#39;: &#39;gzip,deflate&#39;,
1242 &#39;HTTP_ACCEPT_LANGUAGE&#39;: &#39;es,es-ar;q=0.8,en-us;q=0.5,en;q=0.3&#39;,
1243 &#39;HTTP_CACHE_CONTROL&#39;: &#39;max-age=0&#39;,
1244 &#39;HTTP_CONNECTION&#39;: &#39;keep-alive&#39;,
1245 &#39;HTTP_COOKIE&#39;: &#39;sessionid=831bf381040c8a6239b3bba39536eb49&#39;,
1246 &#39;HTTP_HOST&#39;: &#39;localhost:8080&#39;,
1247 &#39;HTTP_KEEP_ALIVE&#39;: &#39;300&#39;,
1248 &#39;HTTP_REFERER&#39;: &#39;http://localhost:8080/admin/&#39;,
1249 &#39;HTTP_USER_AGENT&#39;: &#39;Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1&#39;,
1250 &#39;LOCALAPPDATA&#39;: &#39;C:\\Users\\J\\AppData\\Local&#39;,
1251 &#39;LOGONSERVER&#39;: &#39;\\\\J-PC-VISTAEN&#39;,
1252 &#39;NUMBER_OF_PROCESSORS&#39;: &#39;2&#39;,
1253 &#39;OS&#39;: &#39;Windows_NT&#39;,
1254 &#39;PATH&#39;: &#39;C:\\Python25\\;C:\\Python25\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Program Files\\QuickTime\\QTSystem\\;C:\\Program Files\\Common Files\\Adobe\\AGL;C:\\p\\usr\\bin;C:\\Python25\\Lib\\site-packages\\django\\bin\\;;C:\\Program Files\\Common Files\\Ahead\\Lib\\&#39;,
1255 &#39;PATHEXT&#39;: &#39;.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py;.pyw&#39;,
1256 &#39;PATH_INFO&#39;: u&#39;/admin/comments/comment/&#39;,
1257 &#39;PROCESSOR_ARCHITECTURE&#39;: &#39;x86&#39;,
1258 &#39;PROCESSOR_IDENTIFIER&#39;: &#39;x86 Family 6 Model 15 Stepping 6, GenuineIntel&#39;,
1259 &#39;PROCESSOR_LEVEL&#39;: &#39;6&#39;,
1260 &#39;PROCESSOR_REVISION&#39;: &#39;0f06&#39;,
1261 &#39;PROGRAMDATA&#39;: &#39;C:\\ProgramData&#39;,
1262 &#39;PROGRAMFILES&#39;: &#39;C:\\Program Files&#39;,
1263 &#39;PROMPT&#39;: &#39;$P$G&#39;,
1264 &#39;PUBLIC&#39;: &#39;C:\\Users\\Public&#39;,
1265 &#39;QTJAVA&#39;: &#39;C:\\Program Files\\QuickTime\\QTSystem\\QTJava.zip&#39;,
1266 &#39;QUERY_STRING&#39;: &#39;&#39;,
1267 &#39;REMOTE_ADDR&#39;: &#39;127.0.0.1&#39;,
1268 &#39;REMOTE_HOST&#39;: &#39;&#39;,
1269 &#39;REQUEST_METHOD&#39;: &#39;GET&#39;,
1270 &#39;RUN_MAIN&#39;: &#39;true&#39;,
1271 &#39;SCRIPT_NAME&#39;: u&#39;&#39;,
1272 &#39;SERVER_NAME&#39;: &#39;J-PC-vistaen&#39;,
1273 &#39;SERVER_PORT&#39;: &#39;8080&#39;,
1274 &#39;SERVER_PROTOCOL&#39;: &#39;HTTP/1.1&#39;,
1275 &#39;SERVER_SOFTWARE&#39;: &#39;WSGIServer/0.1 Python/2.5.2&#39;,
1276 &#39;SESSIONNAME&#39;: &#39;Console&#39;,
1277 &#39;SYSTEMDRIVE&#39;: &#39;C:&#39;,
1278 &#39;SYSTEMROOT&#39;: &#39;C:\\Windows&#39;,
1279 &#39;TEMP&#39;: &#39;C:\\Users\\J\\AppData\\Local\\Temp&#39;,
1280 &#39;TMP&#39;: &#39;C:\\Users\\J\\AppData\\Local\\Temp&#39;,
1281 &#39;USERDOMAIN&#39;: &#39;J-PC-vistaen&#39;,
1282 &#39;USERNAME&#39;: &#39;J&#39;,
1283 &#39;USERPROFILE&#39;: &#39;C:\\Users\\J&#39;,
1284 &#39;WINDIR&#39;: &#39;C:\\Windows&#39;,
1285 &#39;wsgi.errors&#39;: &lt;open file &#39;&lt;stderr&gt;&#39;, mode &#39;w&#39; at 0x0195F0B0&gt;,
1286 &#39;wsgi.file_wrapper&#39;: &lt;class &#39;django.core.servers.basehttp.FileWrapper&#39;&gt;,
1287 &#39;wsgi.input&#39;: &lt;socket._fileobject object at 0x023043F0&gt;,
1288 &#39;wsgi.multiprocess&#39;: False,
1289 &#39;wsgi.multithread&#39;: True,
1290 &#39;wsgi.run_once&#39;: False,
1291 &#39;wsgi.url_scheme&#39;: &#39;http&#39;,
1292 &#39;wsgi.version&#39;: (1, 0)}&gt;</div></td>
1293 </tr>
1294
1295 <tr>
1296 <td>result_count</td>
1297 <td class="code"><div>2</div></td>
1298 </tr>
1299
1300 <tr>
1301 <td>self</td>
1302 <td class="code"><div>&lt;django.contrib.admin.views.main.ChangeList object at 0x0234D790&gt;</div></td>
1303 </tr>
1304
1305 </tbody>
1306 </table>
1307
1308 </li>
1309
1310 <li class="frame">
1311 <code>C:\Python25\lib\site-packages\django\db\models\query.py</code> in <code>__len__</code>
1312
1313
1314 <div class="context" id="c38047832">
1315
1316 <ol start="149" class="pre-context" id="pre38047832"><li onclick="toggle('pre38047832', 'post38047832')"> # whilst not messing up any existing iterators against the QuerySet.</li><li onclick="toggle('pre38047832', 'post38047832')"> if self._result_cache is None:</li><li onclick="toggle('pre38047832', 'post38047832')"> if self._iter:</li><li onclick="toggle('pre38047832', 'post38047832')"> self._result_cache = list(self._iter)</li><li onclick="toggle('pre38047832', 'post38047832')"> else:</li><li onclick="toggle('pre38047832', 'post38047832')"> self._result_cache = list(self.iterator())</li><li onclick="toggle('pre38047832', 'post38047832')"> elif self._iter:</li></ol>
1317
1318 <ol start="156" class="context-line"><li onclick="toggle('pre38047832', 'post38047832')"> self._result_cache.extend(list(self._iter)) <span>...</span></li></ol>
1319
1320 <ol start='157' class="post-context" id="post38047832"><li onclick="toggle('pre38047832', 'post38047832')"> return len(self._result_cache)</li><li onclick="toggle('pre38047832', 'post38047832')"></li><li onclick="toggle('pre38047832', 'post38047832')"> def __iter__(self):</li><li onclick="toggle('pre38047832', 'post38047832')"> if self._result_cache is None:</li><li onclick="toggle('pre38047832', 'post38047832')"> self._iter = self.iterator()</li><li onclick="toggle('pre38047832', 'post38047832')"> self._result_cache = []</li></ol>
1321
1322 </div>
1323
1324
1325
1326 <div class="commands">
1327 <a href="#" onclick="return varToggle(this, '38047832')"><span>&#x25b6;</span> Local vars</a>
1328 </div>
1329 <table class="vars" id="v38047832">
1330 <thead>
1331 <tr>
1332 <th>Variable</th>
1333 <th>Value</th>
1334 </tr>
1335 </thead>
1336 <tbody>
1337
1338 <tr>
1339 <td>self</td>
1340 <td class="code"><div>[]</div></td>
1341 </tr>
1342
1343 </tbody>
1344 </table>
1345
1346 </li>
1347
1348 <li class="frame">
1349 <code>C:\Python25\lib\site-packages\django\db\models\query.py</code> in <code>iterator</code>
1350
1351
1352 <div class="context" id="c37484624">
1353
1354 <ol start="262" class="pre-context" id="pre37484624"><li onclick="toggle('pre37484624', 'post37484624')"> if isinstance(fill_cache, dict):</li><li onclick="toggle('pre37484624', 'post37484624')"> requested = fill_cache</li><li onclick="toggle('pre37484624', 'post37484624')"> else:</li><li onclick="toggle('pre37484624', 'post37484624')"> requested = None</li><li onclick="toggle('pre37484624', 'post37484624')"> max_depth = self.query.max_depth</li><li onclick="toggle('pre37484624', 'post37484624')"> extra_select = self.query.extra_select.keys()</li><li onclick="toggle('pre37484624', 'post37484624')"> index_start = len(extra_select)</li></ol>
1355
1356 <ol start="269" class="context-line"><li onclick="toggle('pre37484624', 'post37484624')"> for row in self.query.results_iter(): <span>...</span></li></ol>
1357
1358 <ol start='270' class="post-context" id="post37484624"><li onclick="toggle('pre37484624', 'post37484624')"> if fill_cache:</li><li onclick="toggle('pre37484624', 'post37484624')"> obj, _ = get_cached_row(self.model, row, index_start,</li><li onclick="toggle('pre37484624', 'post37484624')"> max_depth, requested=requested)</li><li onclick="toggle('pre37484624', 'post37484624')"> else:</li><li onclick="toggle('pre37484624', 'post37484624')"> obj = self.model(*row[index_start:])</li><li onclick="toggle('pre37484624', 'post37484624')"> for i, k in enumerate(extra_select):</li></ol>
1359
1360 </div>
1361
1362
1363
1364 <div class="commands">
1365 <a href="#" onclick="return varToggle(this, '37484624')"><span>&#x25b6;</span> Local vars</a>
1366 </div>
1367 <table class="vars" id="v37484624">
1368 <thead>
1369 <tr>
1370 <th>Variable</th>
1371 <th>Value</th>
1372 </tr>
1373 </thead>
1374 <tbody>
1375
1376 <tr>
1377 <td>extra_select</td>
1378 <td class="code"><div>[]</div></td>
1379 </tr>
1380
1381 <tr>
1382 <td>fill_cache</td>
1383 <td class="code"><div>True</div></td>
1384 </tr>
1385
1386 <tr>
1387 <td>index_start</td>
1388 <td class="code"><div>0</div></td>
1389 </tr>
1390
1391 <tr>
1392 <td>max_depth</td>
1393 <td class="code"><div>5</div></td>
1394 </tr>
1395
1396 <tr>
1397 <td>requested</td>
1398 <td class="code"><div>None</div></td>
1399 </tr>
1400
1401 <tr>
1402 <td>self</td>
1403 <td class="code"><div>[]</div></td>
1404 </tr>
1405
1406 </tbody>
1407 </table>
1408
1409 </li>
1410
1411 <li class="frame">
1412 <code>C:\Python25\lib\site-packages\django\db\models\sql\query.py</code> in <code>results_iter</code>
1413
1414
1415 <div class="context" id="c37484264">
1416
1417 <ol start="199" class="pre-context" id="pre37484264"><li onclick="toggle('pre37484264', 'post37484264')"></li><li onclick="toggle('pre37484264', 'post37484264')"> def results_iter(self):</li><li onclick="toggle('pre37484264', 'post37484264')"> &quot;&quot;&quot;</li><li onclick="toggle('pre37484264', 'post37484264')"> Returns an iterator over the results from executing this query.</li><li onclick="toggle('pre37484264', 'post37484264')"> &quot;&quot;&quot;</li><li onclick="toggle('pre37484264', 'post37484264')"> resolve_columns = hasattr(self, &#39;resolve_columns&#39;)</li><li onclick="toggle('pre37484264', 'post37484264')"> fields = None</li></ol>
1418
1419 <ol start="206" class="context-line"><li onclick="toggle('pre37484264', 'post37484264')"> for rows in self.execute_sql(MULTI): <span>...</span></li></ol>
1420
1421 <ol start='207' class="post-context" id="post37484264"><li onclick="toggle('pre37484264', 'post37484264')"> for row in rows:</li><li onclick="toggle('pre37484264', 'post37484264')"> if resolve_columns:</li><li onclick="toggle('pre37484264', 'post37484264')"> if fields is None:</li><li onclick="toggle('pre37484264', 'post37484264')"> # We only set this up here because</li><li onclick="toggle('pre37484264', 'post37484264')"> # related_select_fields isn&#39;t populated until</li><li onclick="toggle('pre37484264', 'post37484264')"> # execute_sql() has been called.</li></ol>
1422
1423 </div>
1424
1425
1426
1427 <div class="commands">
1428 <a href="#" onclick="return varToggle(this, '37484264')"><span>&#x25b6;</span> Local vars</a>
1429 </div>
1430 <table class="vars" id="v37484264">
1431 <thead>
1432 <tr>
1433 <th>Variable</th>
1434 <th>Value</th>
1435 </tr>
1436 </thead>
1437 <tbody>
1438
1439 <tr>
1440 <td>fields</td>
1441 <td class="code"><div>None</div></td>
1442 </tr>
1443
1444 <tr>
1445 <td>resolve_columns</td>
1446 <td class="code"><div>False</div></td>
1447 </tr>
1448
1449 <tr>
1450 <td>self</td>
1451 <td class="code"><div>&lt;django.db.models.sql.query.Query object at 0x02453830&gt;</div></td>
1452 </tr>
1453
1454 </tbody>
1455 </table>
1456
1457 </li>
1458
1459 <li class="frame">
1460 <code>C:\Python25\lib\site-packages\django\db\models\sql\query.py</code> in <code>execute_sql</code>
1461
1462
1463 <div class="context" id="c37485744">
1464
1465 <ol start="1693" class="pre-context" id="pre37485744"><li onclick="toggle('pre37485744', 'post37485744')"> except EmptyResultSet:</li><li onclick="toggle('pre37485744', 'post37485744')"> if result_type == MULTI:</li><li onclick="toggle('pre37485744', 'post37485744')"> return empty_iter()</li><li onclick="toggle('pre37485744', 'post37485744')"> else:</li><li onclick="toggle('pre37485744', 'post37485744')"> return</li><li onclick="toggle('pre37485744', 'post37485744')"></li><li onclick="toggle('pre37485744', 'post37485744')"> cursor = self.connection.cursor()</li></ol>
1466
1467 <ol start="1700" class="context-line"><li onclick="toggle('pre37485744', 'post37485744')"> cursor.execute(sql, params) <span>...</span></li></ol>
1468
1469 <ol start='1701' class="post-context" id="post37485744"><li onclick="toggle('pre37485744', 'post37485744')"></li><li onclick="toggle('pre37485744', 'post37485744')"> if not result_type:</li><li onclick="toggle('pre37485744', 'post37485744')"> return cursor</li><li onclick="toggle('pre37485744', 'post37485744')"> if result_type == SINGLE:</li><li onclick="toggle('pre37485744', 'post37485744')"> if self.ordering_aliases:</li><li onclick="toggle('pre37485744', 'post37485744')"> return cursor.fetchone()[:-len(results.ordering_aliases)]</li></ol>
1470
1471 </div>
1472
1473
1474
1475 <div class="commands">
1476 <a href="#" onclick="return varToggle(this, '37485744')"><span>&#x25b6;</span> Local vars</a>
1477 </div>
1478 <table class="vars" id="v37485744">
1479 <thead>
1480 <tr>
1481 <th>Variable</th>
1482 <th>Value</th>
1483 </tr>
1484 </thead>
1485 <tbody>
1486
1487 <tr>
1488 <td>cursor</td>
1489 <td class="code"><div>&lt;django.db.backends.util.CursorDebugWrapper object at 0x02455A70&gt;</div></td>
1490 </tr>
1491
1492 <tr>
1493 <td>params</td>
1494 <td class="code"><div>()</div></td>
1495 </tr>
1496
1497 <tr>
1498 <td>result_type</td>
1499 <td class="code"><div>&#39;multi&#39;</div></td>
1500 </tr>
1501
1502 <tr>
1503 <td>self</td>
1504 <td class="code"><div>&lt;django.db.models.sql.query.Query object at 0x02453830&gt;</div></td>
1505 </tr>
1506
1507 <tr>
1508 <td>sql</td>
1509 <td class="code"><div>&#39;SELECT &quot;django_comments&quot;.&quot;id&quot;, &quot;django_comments&quot;.&quot;content_type_id&quot;, &quot;django_comments&quot;.&quot;object_pk&quot;, &quot;django_comments&quot;.&quot;site_id&quot;, &quot;django_comments&quot;.&quot;user_id&quot;, &quot;django_comments&quot;.&quot;user_name&quot;, &quot;django_comments&quot;.&quot;user_email&quot;, &quot;django_comments&quot;.&quot;user_url&quot;, &quot;django_comments&quot;.&quot;comment&quot;, &quot;django_comments&quot;.&quot;submit_date&quot;, &quot;django_comments&quot;.&quot;ip_address&quot;, &quot;django_comments&quot;.&quot;is_public&quot;, &quot;django_comments&quot;.&quot;is_removed&quot;, &quot;django_content_type&quot;.&quot;id&quot;, &quot;django_content_type&quot;.&quot;name&quot;, &quot;django_content_type&quot;.&quot;app_label&quot;, &quot;django_content_type&quot;.&quot;model&quot;, &quot;django_site&quot;.&quot;id&quot;, &quot;django_site&quot;.&quot;domain&quot;, &quot;django_site&quot;.&quot;name&quot; FROM &quot;django_comments&quot; INNER JOIN &quot;django_content_type&quot; ON (&quot;django_comments&quot;.&quot;content_type_id&quot; = &quot;django_content_type&quot;.&quot;id&quot;) INNER JOIN &quot;django_site&quot; ON (&quot;django_comments&quot;.&quot;site_id&quot; = &quot;django_site&quot;.&quot;id&quot;) ORDER BY &quot;django_comments&quot;.&quot;submit_date&quot; ASC&#39;</div></td>
1510 </tr>
1511
1512 </tbody>
1513 </table>
1514
1515 </li>
1516
1517 <li class="frame">
1518 <code>C:\Python25\lib\site-packages\django\db\backends\util.py</code> in <code>execute</code>
1519
1520
1521 <div class="context" id="c37482784">
1522
1523 <ol start="12" class="pre-context" id="pre37482784"><li onclick="toggle('pre37482784', 'post37482784')"> def __init__(self, cursor, db):</li><li onclick="toggle('pre37482784', 'post37482784')"> self.cursor = cursor</li><li onclick="toggle('pre37482784', 'post37482784')"> self.db = db # Instance of a BaseDatabaseWrapper subclass</li><li onclick="toggle('pre37482784', 'post37482784')"></li><li onclick="toggle('pre37482784', 'post37482784')"> def execute(self, sql, params=()):</li><li onclick="toggle('pre37482784', 'post37482784')"> start = time()</li><li onclick="toggle('pre37482784', 'post37482784')"> try:</li></ol>
1524
1525 <ol start="19" class="context-line"><li onclick="toggle('pre37482784', 'post37482784')"> return self.cursor.execute(sql, params) <span>...</span></li></ol>
1526
1527 <ol start='20' class="post-context" id="post37482784"><li onclick="toggle('pre37482784', 'post37482784')"> finally:</li><li onclick="toggle('pre37482784', 'post37482784')"> stop = time()</li><li onclick="toggle('pre37482784', 'post37482784')"> sql = self.db.ops.last_executed_query(self.cursor, sql, params)</li><li onclick="toggle('pre37482784', 'post37482784')"> self.db.queries.append({</li><li onclick="toggle('pre37482784', 'post37482784')"> &#39;sql&#39;: sql,</li><li onclick="toggle('pre37482784', 'post37482784')"> &#39;time&#39;: &quot;%.3f&quot; % (stop - start),</li></ol>
1528
1529 </div>
1530
1531
1532
1533 <div class="commands">
1534 <a href="#" onclick="return varToggle(this, '37482784')"><span>&#x25b6;</span> Local vars</a>
1535 </div>
1536 <table class="vars" id="v37482784">
1537 <thead>
1538 <tr>
1539 <th>Variable</th>
1540 <th>Value</th>
1541 </tr>
1542 </thead>
1543 <tbody>
1544
1545 <tr>
1546 <td>params</td>
1547 <td class="code"><div>()</div></td>
1548 </tr>
1549
1550 <tr>
1551 <td>self</td>
1552 <td class="code"><div>&lt;django.db.backends.util.CursorDebugWrapper object at 0x02455A70&gt;</div></td>
1553 </tr>
1554
1555 <tr>
1556 <td>sql</td>
1557 <td class="code"><div>u&#39;SELECT &quot;django_comments&quot;.&quot;id&quot;, &quot;django_comments&quot;.&quot;content_type_id&quot;, &quot;django_comments&quot;.&quot;object_pk&quot;, &quot;django_comments&quot;.&quot;site_id&quot;, &quot;django_comments&quot;.&quot;user_id&quot;, &quot;django_comments&quot;.&quot;user_name&quot;, &quot;django_comments&quot;.&quot;user_email&quot;, &quot;django_comments&quot;.&quot;user_url&quot;, &quot;django_comments&quot;.&quot;comment&quot;, &quot;django_comments&quot;.&quot;submit_date&quot;, &quot;django_comments&quot;.&quot;ip_address&quot;, &quot;django_comments&quot;.&quot;is_public&quot;, &quot;django_comments&quot;.&quot;is_removed&quot;, &quot;django_content_type&quot;.&quot;id&quot;, &quot;django_content_type&quot;.&quot;name&quot;, &quot;django_content_type&quot;.&quot;app_label&quot;, &quot;django_content_type&quot;.&quot;model&quot;, &quot;django_site&quot;.&quot;id&quot;, &quot;django_site&quot;.&quot;domain&quot;, &quot;django_site&quot;.&quot;name&quot; FROM &quot;django_comments&quot; INNER JOIN &quot;django_content_type&quot; ON (&quot;django_comments&quot;.&quot;content_type_id&quot; = &quot;django_content_type&quot;.&quot;id&quot;) INNER JOIN &quot;django_site&quot; ON (&quot;django_comments&quot;.&quot;site_id&quot; = &quot;django_site&quot;.&quot;id&quot;) ORDER BY &quot;django_comments&quot;.&quot;submit_date&quot; ASC&#39;</div></td>
1558 </tr>
1559
1560 <tr>
1561 <td>start</td>
1562 <td class="code"><div>1221601132.882</div></td>
1563 </tr>
1564
1565 <tr>
1566 <td>stop</td>
1567 <td class="code"><div>1221601132.882</div></td>
1568 </tr>
1569
1570 </tbody>
1571 </table>
1572
1573 </li>
1574
1575 <li class="frame">
1576 <code>C:\Python25\lib\site-packages\django\db\backends\sqlite3\base.py</code> in <code>execute</code>
1577
1578
1579 <div class="context" id="c38048552">
1580
1581 <ol start="160" class="pre-context" id="pre38048552"><li onclick="toggle('pre38048552', 'post38048552')"> &quot;&quot;&quot;</li><li onclick="toggle('pre38048552', 'post38048552')"> Django uses &quot;format&quot; style placeholders, but pysqlite2 uses &quot;qmark&quot; style.</li><li onclick="toggle('pre38048552', 'post38048552')"> This fixes it -- but note that if you want to use a literal &quot;%s&quot; in a query,</li><li onclick="toggle('pre38048552', 'post38048552')"> you&#39;ll need to use &quot;%%s&quot;.</li><li onclick="toggle('pre38048552', 'post38048552')"> &quot;&quot;&quot;</li><li onclick="toggle('pre38048552', 'post38048552')"> def execute(self, query, params=()):</li><li onclick="toggle('pre38048552', 'post38048552')"> query = self.convert_query(query, len(params))</li></ol>
1582
1583 <ol start="167" class="context-line"><li onclick="toggle('pre38048552', 'post38048552')"> return Database.Cursor.execute(self, query, params) <span>...</span></li></ol>
1584
1585 <ol start='168' class="post-context" id="post38048552"><li onclick="toggle('pre38048552', 'post38048552')"></li><li onclick="toggle('pre38048552', 'post38048552')"> def executemany(self, query, param_list):</li><li onclick="toggle('pre38048552', 'post38048552')"> try:</li><li onclick="toggle('pre38048552', 'post38048552')"> query = self.convert_query(query, len(param_list[0]))</li><li onclick="toggle('pre38048552', 'post38048552')"> return Database.Cursor.executemany(self, query, param_list)</li><li onclick="toggle('pre38048552', 'post38048552')"> except (IndexError,TypeError):</li></ol>
1586
1587 </div>
1588
1589
1590
1591 <div class="commands">
1592 <a href="#" onclick="return varToggle(this, '38048552')"><span>&#x25b6;</span> Local vars</a>
1593 </div>
1594 <table class="vars" id="v38048552">
1595 <thead>
1596 <tr>
1597 <th>Variable</th>
1598 <th>Value</th>
1599 </tr>
1600 </thead>
1601 <tbody>
1602
1603 <tr>
1604 <td>params</td>
1605 <td class="code"><div>()</div></td>
1606 </tr>
1607
1608 <tr>
1609 <td>query</td>
1610 <td class="code"><div>&#39;SELECT &quot;django_comments&quot;.&quot;id&quot;, &quot;django_comments&quot;.&quot;content_type_id&quot;, &quot;django_comments&quot;.&quot;object_pk&quot;, &quot;django_comments&quot;.&quot;site_id&quot;, &quot;django_comments&quot;.&quot;user_id&quot;, &quot;django_comments&quot;.&quot;user_name&quot;, &quot;django_comments&quot;.&quot;user_email&quot;, &quot;django_comments&quot;.&quot;user_url&quot;, &quot;django_comments&quot;.&quot;comment&quot;, &quot;django_comments&quot;.&quot;submit_date&quot;, &quot;django_comments&quot;.&quot;ip_address&quot;, &quot;django_comments&quot;.&quot;is_public&quot;, &quot;django_comments&quot;.&quot;is_removed&quot;, &quot;django_content_type&quot;.&quot;id&quot;, &quot;django_content_type&quot;.&quot;name&quot;, &quot;django_content_type&quot;.&quot;app_label&quot;, &quot;django_content_type&quot;.&quot;model&quot;, &quot;django_site&quot;.&quot;id&quot;, &quot;django_site&quot;.&quot;domain&quot;, &quot;django_site&quot;.&quot;name&quot; FROM &quot;django_comments&quot; INNER JOIN &quot;django_content_type&quot; ON (&quot;django_comments&quot;.&quot;content_type_id&quot; = &quot;django_content_type&quot;.&quot;id&quot;) INNER JOIN &quot;django_site&quot; ON (&quot;django_comments&quot;.&quot;site_id&quot; = &quot;django_site&quot;.&quot;id&quot;) ORDER BY &quot;django_comments&quot;.&quot;submit_date&quot; ASC&#39;</div></td>
1611 </tr>
1612
1613 <tr>
1614 <td>self</td>
1615 <td class="code"><div>&lt;django.db.backends.sqlite3.base.SQLiteCursorWrapper object at 0x023648E8&gt;</div></td>
1616 </tr>
1617
1618 </tbody>
1619 </table>
1620
1621 </li>
1622
1623 </ul>
1624 </div>
1625
1626 <form action="http://dpaste.com/" name="pasteform" id="pasteform" method="post">
1627 <div id="pastebinTraceback" class="pastebin">
1628 <input type="hidden" name="language" value="PythonConsole">
1629 <input type="hidden" name="title" value="OperationalError at /admin/comments/comment/">
1630 <input type="hidden" name="source" value="Django Dpaste Agent">
1631 <input type="hidden" name="poster" value="Django">
1632 <textarea name="content" id="traceback_area" cols="140" rows="25">
1633Environment:
1634
1635Request Method: GET
1636Request URL: http://localhost:8080/admin/comments/comment/
1637Django Version: 1.0-final-SVN-unknown
1638Python Version: 2.5.2
1639Installed Applications:
1640[&#39;ssa.posts&#39;,
1641 &#39;ssa.nav&#39;,
1642 &#39;ssa.events&#39;,
1643 &#39;django.contrib.admin&#39;,
1644 &#39;django.contrib.admindocs&#39;,
1645 &#39;django.contrib.auth&#39;,
1646 &#39;django.contrib.contenttypes&#39;,
1647 &#39;django.contrib.sessions&#39;,
1648 &#39;django.contrib.comments&#39;,
1649 &#39;django.contrib.webdesign&#39;]
1650Installed Middleware:
1651(&#39;django.middleware.common.CommonMiddleware&#39;,
1652 &#39;django.contrib.sessions.middleware.SessionMiddleware&#39;,
1653 &#39;django.middleware.locale.LocaleMiddleware&#39;,
1654 &#39;django.contrib.auth.middleware.AuthenticationMiddleware&#39;)
1655
1656
1657Traceback:
1658File "C:\Python25\lib\site-packages\django\core\handlers\base.py" in get_response
1659 86. response = callback(request, *callback_args, **callback_kwargs)
1660File "C:\Python25\lib\site-packages\django\contrib\admin\sites.py" in root
1661 158. return self.model_page(request, *url.split(&#39;/&#39;, 2))
1662File "C:\Python25\lib\site-packages\django\views\decorators\cache.py" in _wrapped_view_func
1663 44. response = view_func(request, *args, **kwargs)
1664File "C:\Python25\lib\site-packages\django\contrib\admin\sites.py" in model_page
1665 177. return admin_obj(request, rest_of_url)
1666File "C:\Python25\lib\site-packages\django\contrib\admin\options.py" in __call__
1667 189. return self.changelist_view(request)
1668File "C:\Python25\lib\site-packages\django\contrib\admin\options.py" in changelist_view
1669 638. self.date_hierarchy, self.search_fields, self.list_select_related, self.list_per_page, self)
1670File "C:\Python25\lib\site-packages\django\contrib\admin\views\main.py" in __init__
1671 68. self.get_results(request)
1672File "C:\Python25\lib\site-packages\django\contrib\admin\views\main.py" in get_results
1673 125. result_list = list(self.query_set)
1674File "C:\Python25\lib\site-packages\django\db\models\query.py" in __len__
1675 156. self._result_cache.extend(list(self._iter))
1676File "C:\Python25\lib\site-packages\django\db\models\query.py" in iterator
1677 269. for row in self.query.results_iter():
1678File "C:\Python25\lib\site-packages\django\db\models\sql\query.py" in results_iter
1679 206. for rows in self.execute_sql(MULTI):
1680File "C:\Python25\lib\site-packages\django\db\models\sql\query.py" in execute_sql
1681 1700. cursor.execute(sql, params)
1682File "C:\Python25\lib\site-packages\django\db\backends\util.py" in execute
1683 19. return self.cursor.execute(sql, params)
1684File "C:\Python25\lib\site-packages\django\db\backends\sqlite3\base.py" in execute
1685 167. return Database.Cursor.execute(self, query, params)
1686
1687Exception Type: OperationalError at /admin/comments/comment/
1688Exception Value: no such table: django_site
1689</textarea>
1690 <br><br>
1691 <input type="submit" value="Share this traceback on a public Web site">
1692 </div>
1693</form>
1694</div>
1695
1696<div id="requestinfo">
1697 <h2>Request information</h2>
1698
1699 <h3 id="get-info">GET</h3>
1700
1701 <p>No GET data</p>
1702
1703
1704 <h3 id="post-info">POST</h3>
1705
1706 <p>No POST data</p>
1707
1708
1709 <h3 id="cookie-info">COOKIES</h3>
1710
1711 <table class="req">
1712 <thead>
1713 <tr>
1714 <th>Variable</th>
1715 <th>Value</th>
1716 </tr>
1717 </thead>
1718 <tbody>
1719
1720 <tr>
1721 <td>sessionid</td>
1722 <td class="code"><div>&#39;831bf381040c8a6239b3bba39536eb49&#39;</div></td>
1723 </tr>
1724
1725 </tbody>
1726 </table>
1727
1728
1729 <h3 id="meta-info">META</h3>
1730 <table class="req">
1731 <thead>
1732 <tr>
1733 <th>Variable</th>
1734 <th>Value</th>
1735 </tr>
1736 </thead>
1737 <tbody>
1738
1739 <tr>
1740 <td>ALLUSERSPROFILE</td>
1741 <td class="code"><div>&#39;C:\\ProgramData&#39;</div></td>
1742 </tr>
1743
1744 <tr>
1745 <td>APPDATA</td>
1746 <td class="code"><div>&#39;C:\\Users\\J\\AppData\\Roaming&#39;</div></td>
1747 </tr>
1748
1749 <tr>
1750 <td>CLASSPATH</td>
1751 <td class="code"><div>&#39;.;C:\\Program Files\\QuickTime\\QTSystem\\QTJava.zip&#39;</div></td>
1752 </tr>
1753
1754 <tr>
1755 <td>COMMANDER_DRIVE</td>
1756 <td class="code"><div>&#39;C:&#39;</div></td>
1757 </tr>
1758
1759 <tr>
1760 <td>COMMANDER_INI</td>
1761 <td class="code"><div>&#39;C:\\Users\\J\\AppData\\Roaming\\GHISLER\\wincmd.ini&#39;</div></td>
1762 </tr>
1763
1764 <tr>
1765 <td>COMMANDER_PATH</td>
1766 <td class="code"><div>&#39;C:\\Program Files\\totalcmd&#39;</div></td>
1767 </tr>
1768
1769 <tr>
1770 <td>COMMONPROGRAMFILES</td>
1771 <td class="code"><div>&#39;C:\\Program Files\\Common Files&#39;</div></td>
1772 </tr>
1773
1774 <tr>
1775 <td>COMPUTERNAME</td>
1776 <td class="code"><div>&#39;J-PC-VISTAEN&#39;</div></td>
1777 </tr>
1778
1779 <tr>
1780 <td>COMSPEC</td>
1781 <td class="code"><div>&#39;C:\\Windows\\system32\\cmd.exe&#39;</div></td>
1782 </tr>
1783
1784 <tr>
1785 <td>CONTENT_LENGTH</td>
1786 <td class="code"><div>&#39;&#39;</div></td>
1787 </tr>
1788
1789 <tr>
1790 <td>CONTENT_TYPE</td>
1791 <td class="code"><div>&#39;text/plain&#39;</div></td>
1792 </tr>
1793
1794 <tr>
1795 <td>DJANGO_SETTINGS_MODULE</td>
1796 <td class="code"><div>&#39;ssa.settings&#39;</div></td>
1797 </tr>
1798
1799 <tr>
1800 <td>FP_NO_HOST_CHECK</td>
1801 <td class="code"><div>&#39;NO&#39;</div></td>
1802 </tr>
1803
1804 <tr>
1805 <td>GATEWAY_INTERFACE</td>
1806 <td class="code"><div>&#39;CGI/1.1&#39;</div></td>
1807 </tr>
1808
1809 <tr>
1810 <td>HOMEDRIVE</td>
1811 <td class="code"><div>&#39;C:&#39;</div></td>
1812 </tr>
1813
1814 <tr>
1815 <td>HOMEPATH</td>
1816 <td class="code"><div>&#39;\\Users\\J&#39;</div></td>
1817 </tr>
1818
1819 <tr>
1820 <td>HTTP_ACCEPT</td>
1821 <td class="code"><div>&#39;text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8&#39;</div></td>
1822 </tr>
1823
1824 <tr>
1825 <td>HTTP_ACCEPT_CHARSET</td>
1826 <td class="code"><div>&#39;ISO-8859-1,utf-8;q=0.7,*;q=0.7&#39;</div></td>
1827 </tr>
1828
1829 <tr>
1830 <td>HTTP_ACCEPT_ENCODING</td>
1831 <td class="code"><div>&#39;gzip,deflate&#39;</div></td>
1832 </tr>
1833
1834 <tr>
1835 <td>HTTP_ACCEPT_LANGUAGE</td>
1836 <td class="code"><div>&#39;es,es-ar;q=0.8,en-us;q=0.5,en;q=0.3&#39;</div></td>
1837 </tr>
1838
1839 <tr>
1840 <td>HTTP_CACHE_CONTROL</td>
1841 <td class="code"><div>&#39;max-age=0&#39;</div></td>
1842 </tr>
1843
1844 <tr>
1845 <td>HTTP_CONNECTION</td>
1846 <td class="code"><div>&#39;keep-alive&#39;</div></td>
1847 </tr>
1848
1849 <tr>
1850 <td>HTTP_COOKIE</td>
1851 <td class="code"><div>&#39;sessionid=831bf381040c8a6239b3bba39536eb49&#39;</div></td>
1852 </tr>
1853
1854 <tr>
1855 <td>HTTP_HOST</td>
1856 <td class="code"><div>&#39;localhost:8080&#39;</div></td>
1857 </tr>
1858
1859 <tr>
1860 <td>HTTP_KEEP_ALIVE</td>
1861 <td class="code"><div>&#39;300&#39;</div></td>
1862 </tr>
1863
1864 <tr>
1865 <td>HTTP_REFERER</td>
1866 <td class="code"><div>&#39;http://localhost:8080/admin/&#39;</div></td>
1867 </tr>
1868
1869 <tr>
1870 <td>HTTP_USER_AGENT</td>
1871 <td class="code"><div>&#39;Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1&#39;</div></td>
1872 </tr>
1873
1874 <tr>
1875 <td>LOCALAPPDATA</td>
1876 <td class="code"><div>&#39;C:\\Users\\J\\AppData\\Local&#39;</div></td>
1877 </tr>
1878
1879 <tr>
1880 <td>LOGONSERVER</td>
1881 <td class="code"><div>&#39;\\\\J-PC-VISTAEN&#39;</div></td>
1882 </tr>
1883
1884 <tr>
1885 <td>NUMBER_OF_PROCESSORS</td>
1886 <td class="code"><div>&#39;2&#39;</div></td>
1887 </tr>
1888
1889 <tr>
1890 <td>OS</td>
1891 <td class="code"><div>&#39;Windows_NT&#39;</div></td>
1892 </tr>
1893
1894 <tr>
1895 <td>PATH</td>
1896 <td class="code"><div>&#39;C:\\Python25\\;C:\\Python25\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Program Files\\QuickTime\\QTSystem\\;C:\\Program Files\\Common Files\\Adobe\\AGL;C:\\p\\usr\\bin;C:\\Python25\\Lib\\site-packages\\django\\bin\\;;C:\\Program Files\\Common Files\\Ahead\\Lib\\&#39;</div></td>
1897 </tr>
1898
1899 <tr>
1900 <td>PATHEXT</td>
1901 <td class="code"><div>&#39;.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py;.pyw&#39;</div></td>
1902 </tr>
1903
1904 <tr>
1905 <td>PATH_INFO</td>
1906 <td class="code"><div>u&#39;/admin/comments/comment/&#39;</div></td>
1907 </tr>
1908
1909 <tr>
1910 <td>PROCESSOR_ARCHITECTURE</td>
1911 <td class="code"><div>&#39;x86&#39;</div></td>
1912 </tr>
1913
1914 <tr>
1915 <td>PROCESSOR_IDENTIFIER</td>
1916 <td class="code"><div>&#39;x86 Family 6 Model 15 Stepping 6, GenuineIntel&#39;</div></td>
1917 </tr>
1918
1919 <tr>
1920 <td>PROCESSOR_LEVEL</td>
1921 <td class="code"><div>&#39;6&#39;</div></td>
1922 </tr>
1923
1924 <tr>
1925 <td>PROCESSOR_REVISION</td>
1926 <td class="code"><div>&#39;0f06&#39;</div></td>
1927 </tr>
1928
1929 <tr>
1930 <td>PROGRAMDATA</td>
1931 <td class="code"><div>&#39;C:\\ProgramData&#39;</div></td>
1932 </tr>
1933
1934 <tr>
1935 <td>PROGRAMFILES</td>
1936 <td class="code"><div>&#39;C:\\Program Files&#39;</div></td>
1937 </tr>
1938
1939 <tr>
1940 <td>PROMPT</td>
1941 <td class="code"><div>&#39;$P$G&#39;</div></td>
1942 </tr>
1943
1944 <tr>
1945 <td>PUBLIC</td>
1946 <td class="code"><div>&#39;C:\\Users\\Public&#39;</div></td>
1947 </tr>
1948
1949 <tr>
1950 <td>QTJAVA</td>
1951 <td class="code"><div>&#39;C:\\Program Files\\QuickTime\\QTSystem\\QTJava.zip&#39;</div></td>
1952 </tr>
1953
1954 <tr>
1955 <td>QUERY_STRING</td>
1956 <td class="code"><div>&#39;&#39;</div></td>
1957 </tr>
1958
1959 <tr>
1960 <td>REMOTE_ADDR</td>
1961 <td class="code"><div>&#39;127.0.0.1&#39;</div></td>
1962 </tr>
1963
1964 <tr>
1965 <td>REMOTE_HOST</td>
1966 <td class="code"><div>&#39;&#39;</div></td>
1967 </tr>
1968
1969 <tr>
1970 <td>REQUEST_METHOD</td>
1971 <td class="code"><div>&#39;GET&#39;</div></td>
1972 </tr>
1973
1974 <tr>
1975 <td>RUN_MAIN</td>
1976 <td class="code"><div>&#39;true&#39;</div></td>
1977 </tr>
1978
1979 <tr>
1980 <td>SCRIPT_NAME</td>
1981 <td class="code"><div>u&#39;&#39;</div></td>
1982 </tr>
1983
1984 <tr>
1985 <td>SERVER_NAME</td>
1986 <td class="code"><div>&#39;J-PC-vistaen&#39;</div></td>
1987 </tr>
1988
1989 <tr>
1990 <td>SERVER_PORT</td>
1991 <td class="code"><div>&#39;8080&#39;</div></td>
1992 </tr>
1993
1994 <tr>
1995 <td>SERVER_PROTOCOL</td>
1996 <td class="code"><div>&#39;HTTP/1.1&#39;</div></td>
1997 </tr>
1998
1999 <tr>
2000 <td>SERVER_SOFTWARE</td>
2001 <td class="code"><div>&#39;WSGIServer/0.1 Python/2.5.2&#39;</div></td>
2002 </tr>
2003
2004 <tr>
2005 <td>SESSIONNAME</td>
2006 <td class="code"><div>&#39;Console&#39;</div></td>
2007 </tr>
2008
2009 <tr>
2010 <td>SYSTEMDRIVE</td>
2011 <td class="code"><div>&#39;C:&#39;</div></td>
2012 </tr>
2013
2014 <tr>
2015 <td>SYSTEMROOT</td>
2016 <td class="code"><div>&#39;C:\\Windows&#39;</div></td>
2017 </tr>
2018
2019 <tr>
2020 <td>TEMP</td>
2021 <td class="code"><div>&#39;C:\\Users\\J\\AppData\\Local\\Temp&#39;</div></td>
2022 </tr>
2023
2024 <tr>
2025 <td>TMP</td>
2026 <td class="code"><div>&#39;C:\\Users\\J\\AppData\\Local\\Temp&#39;</div></td>
2027 </tr>
2028
2029 <tr>
2030 <td>USERDOMAIN</td>
2031 <td class="code"><div>&#39;J-PC-vistaen&#39;</div></td>
2032 </tr>
2033
2034 <tr>
2035 <td>USERNAME</td>
2036 <td class="code"><div>&#39;J&#39;</div></td>
2037 </tr>
2038
2039 <tr>
2040 <td>USERPROFILE</td>
2041 <td class="code"><div>&#39;C:\\Users\\J&#39;</div></td>
2042 </tr>
2043
2044 <tr>
2045 <td>WINDIR</td>
2046 <td class="code"><div>&#39;C:\\Windows&#39;</div></td>
2047 </tr>
2048
2049 <tr>
2050 <td>wsgi.errors</td>
2051 <td class="code"><div>&lt;open file &#39;&lt;stderr&gt;&#39;, mode &#39;w&#39; at 0x0195F0B0&gt;</div></td>
2052 </tr>
2053
2054 <tr>
2055 <td>wsgi.file_wrapper</td>
2056 <td class="code"><div>&lt;class &#39;django.core.servers.basehttp.FileWrapper&#39;&gt;</div></td>
2057 </tr>
2058
2059 <tr>
2060 <td>wsgi.input</td>
2061 <td class="code"><div>&lt;socket._fileobject object at 0x023043F0&gt;</div></td>
2062 </tr>
2063
2064 <tr>
2065 <td>wsgi.multiprocess</td>
2066 <td class="code"><div>False</div></td>
2067 </tr>
2068
2069 <tr>
2070 <td>wsgi.multithread</td>
2071 <td class="code"><div>True</div></td>
2072 </tr>
2073
2074 <tr>
2075 <td>wsgi.run_once</td>
2076 <td class="code"><div>False</div></td>
2077 </tr>
2078
2079 <tr>
2080 <td>wsgi.url_scheme</td>
2081 <td class="code"><div>&#39;http&#39;</div></td>
2082 </tr>
2083
2084 <tr>
2085 <td>wsgi.version</td>
2086 <td class="code"><div>(1, 0)</div></td>
2087 </tr>
2088
2089 </tbody>
2090 </table>
2091
2092 <h3 id="settings-info">Settings</h3>
2093 <h4>Using settings module <code>ssa.settings</code></h4>
2094 <table class="req">
2095 <thead>
2096 <tr>
2097 <th>Setting</th>
2098 <th>Value</th>
2099 </tr>
2100 </thead>
2101 <tbody>
2102
2103 <tr>
2104 <td>ABSOLUTE_URL_OVERRIDES</td>
2105 <td class="code"><div>{}</div></td>
2106 </tr>
2107
2108 <tr>
2109 <td>ADMINS</td>
2110 <td class="code"><div>((&#39;J&#39;, &#39;jobcello@gmail.com&#39;),)</div></td>
2111 </tr>
2112
2113 <tr>
2114 <td>ADMIN_FOR</td>
2115 <td class="code"><div>()</div></td>
2116 </tr>
2117
2118 <tr>
2119 <td>ADMIN_MEDIA_PREFIX</td>
2120 <td class="code"><div>&#39;/adminmedia/&#39;</div></td>
2121 </tr>
2122
2123 <tr>
2124 <td>ALLOWED_INCLUDE_ROOTS</td>
2125 <td class="code"><div>()</div></td>
2126 </tr>
2127
2128 <tr>
2129 <td>APPEND_SLASH</td>
2130 <td class="code"><div>True</div></td>
2131 </tr>
2132
2133 <tr>
2134 <td>AUTHENTICATION_BACKENDS</td>
2135 <td class="code"><div>(&#39;django.contrib.auth.backends.ModelBackend&#39;,)</div></td>
2136 </tr>
2137
2138 <tr>
2139 <td>BANNED_IPS</td>
2140 <td class="code"><div>()</div></td>
2141 </tr>
2142
2143 <tr>
2144 <td>CACHE_BACKEND</td>
2145 <td class="code"><div>&#39;locmem://&#39;</div></td>
2146 </tr>
2147
2148 <tr>
2149 <td>CACHE_MIDDLEWARE_KEY_PREFIX</td>
2150 <td class="code"><div>&#39;&#39;</div></td>
2151 </tr>
2152
2153 <tr>
2154 <td>CACHE_MIDDLEWARE_SECONDS</td>
2155 <td class="code"><div>600</div></td>
2156 </tr>
2157
2158 <tr>
2159 <td>COMMENTS_ALLOW_PROFANITIES</td>
2160 <td class="code"><div>False</div></td>
2161 </tr>
2162
2163 <tr>
2164 <td>COMMENTS_BANNED_USERS_GROUP</td>
2165 <td class="code"><div>None</div></td>
2166 </tr>
2167
2168 <tr>
2169 <td>COMMENTS_FIRST_FEW</td>
2170 <td class="code"><div>0</div></td>
2171 </tr>
2172
2173 <tr>
2174 <td>COMMENTS_MODERATORS_GROUP</td>
2175 <td class="code"><div>None</div></td>
2176 </tr>
2177
2178 <tr>
2179 <td>COMMENTS_SKETCHY_USERS_GROUP</td>
2180 <td class="code"><div>None</div></td>
2181 </tr>
2182
2183 <tr>
2184 <td>DATABASE_ENGINE</td>
2185 <td class="code"><div>&#39;sqlite3&#39;</div></td>
2186 </tr>
2187
2188 <tr>
2189 <td>DATABASE_HOST</td>
2190 <td class="code"><div>&#39;&#39;</div></td>
2191 </tr>
2192
2193 <tr>
2194 <td>DATABASE_NAME</td>
2195 <td class="code"><div>&#39;C:\\J\\_proj\\Python\\djcode\\ssa_dj1.sqlite&#39;</div></td>
2196 </tr>
2197
2198 <tr>
2199 <td>DATABASE_OPTIONS</td>
2200 <td class="code"><div>{}</div></td>
2201 </tr>
2202
2203 <tr>
2204 <td>DATABASE_PASSWORD</td>
2205 <td class="code"><div>&#39;********************&#39;</div></td>
2206 </tr>
2207
2208 <tr>
2209 <td>DATABASE_PORT</td>
2210 <td class="code"><div>&#39;&#39;</div></td>
2211 </tr>
2212
2213 <tr>
2214 <td>DATABASE_USER</td>
2215 <td class="code"><div>&#39;&#39;</div></td>
2216 </tr>
2217
2218 <tr>
2219 <td>DATETIME_FORMAT</td>
2220 <td class="code"><div>&#39;N j, Y, P&#39;</div></td>
2221 </tr>
2222
2223 <tr>
2224 <td>DATE_FORMAT</td>
2225 <td class="code"><div>&#39;N j, Y&#39;</div></td>
2226 </tr>
2227
2228 <tr>
2229 <td>DEBUG</td>
2230 <td class="code"><div>True</div></td>
2231 </tr>
2232
2233 <tr>
2234 <td>DEBUG_PROPAGATE_EXCEPTIONS</td>
2235 <td class="code"><div>False</div></td>
2236 </tr>
2237
2238 <tr>
2239 <td>DEFAULT_CHARSET</td>
2240 <td class="code"><div>&#39;utf-8&#39;</div></td>
2241 </tr>
2242
2243 <tr>
2244 <td>DEFAULT_CONTENT_TYPE</td>
2245 <td class="code"><div>&#39;text/html&#39;</div></td>
2246 </tr>
2247
2248 <tr>
2249 <td>DEFAULT_FILE_STORAGE</td>
2250 <td class="code"><div>&#39;django.core.files.storage.FileSystemStorage&#39;</div></td>
2251 </tr>
2252
2253 <tr>
2254 <td>DEFAULT_FROM_EMAIL</td>
2255 <td class="code"><div>&#39;webmaster@localhost&#39;</div></td>
2256 </tr>
2257
2258 <tr>
2259 <td>DEFAULT_INDEX_TABLESPACE</td>
2260 <td class="code"><div>&#39;&#39;</div></td>
2261 </tr>
2262
2263 <tr>
2264 <td>DEFAULT_TABLESPACE</td>
2265 <td class="code"><div>&#39;&#39;</div></td>
2266 </tr>
2267
2268 <tr>
2269 <td>DISALLOWED_USER_AGENTS</td>
2270 <td class="code"><div>()</div></td>
2271 </tr>
2272
2273 <tr>
2274 <td>EMAIL_HOST</td>
2275 <td class="code"><div>&#39;localhost&#39;</div></td>
2276 </tr>
2277
2278 <tr>
2279 <td>EMAIL_HOST_PASSWORD</td>
2280 <td class="code"><div>&#39;********************&#39;</div></td>
2281 </tr>
2282
2283 <tr>
2284 <td>EMAIL_HOST_USER</td>
2285 <td class="code"><div>&#39;&#39;</div></td>
2286 </tr>
2287
2288 <tr>
2289 <td>EMAIL_PORT</td>
2290 <td class="code"><div>25</div></td>
2291 </tr>
2292
2293 <tr>
2294 <td>EMAIL_SUBJECT_PREFIX</td>
2295 <td class="code"><div>&#39;[Django] &#39;</div></td>
2296 </tr>
2297
2298 <tr>
2299 <td>EMAIL_USE_TLS</td>
2300 <td class="code"><div>False</div></td>
2301 </tr>
2302
2303 <tr>
2304 <td>FILE_CHARSET</td>
2305 <td class="code"><div>&#39;utf-8&#39;</div></td>
2306 </tr>
2307
2308 <tr>
2309 <td>FILE_UPLOAD_HANDLERS</td>
2310 <td class="code"><div>(&#39;django.core.files.uploadhandler.MemoryFileUploadHandler&#39;,
2311 &#39;django.core.files.uploadhandler.TemporaryFileUploadHandler&#39;)</div></td>
2312 </tr>
2313
2314 <tr>
2315 <td>FILE_UPLOAD_MAX_MEMORY_SIZE</td>
2316 <td class="code"><div>2621440</div></td>
2317 </tr>
2318
2319 <tr>
2320 <td>FILE_UPLOAD_PERMISSIONS</td>
2321 <td class="code"><div>None</div></td>
2322 </tr>
2323
2324 <tr>
2325 <td>FILE_UPLOAD_TEMP_DIR</td>
2326 <td class="code"><div>None</div></td>
2327 </tr>
2328
2329 <tr>
2330 <td>FIXTURE_DIRS</td>
2331 <td class="code"><div>()</div></td>
2332 </tr>
2333
2334 <tr>
2335 <td>FORCE_SCRIPT_NAME</td>
2336 <td class="code"><div>None</div></td>
2337 </tr>
2338
2339 <tr>
2340 <td>IGNORABLE_404_ENDS</td>
2341 <td class="code"><div>(&#39;mail.pl&#39;, &#39;mailform.pl&#39;, &#39;mail.cgi&#39;, &#39;mailform.cgi&#39;, &#39;favicon.ico&#39;, &#39;.php&#39;)</div></td>
2342 </tr>
2343
2344 <tr>
2345 <td>IGNORABLE_404_STARTS</td>
2346 <td class="code"><div>(&#39;/cgi-bin/&#39;, &#39;/_vti_bin&#39;, &#39;/_vti_inf&#39;)</div></td>
2347 </tr>
2348
2349 <tr>
2350 <td>INSTALLED_APPS</td>
2351 <td class="code"><div>[&#39;ssa.posts&#39;,
2352 &#39;ssa.nav&#39;,
2353 &#39;ssa.events&#39;,
2354 &#39;django.contrib.admin&#39;,
2355 &#39;django.contrib.admindocs&#39;,
2356 &#39;django.contrib.auth&#39;,
2357 &#39;django.contrib.contenttypes&#39;,
2358 &#39;django.contrib.sessions&#39;,
2359 &#39;django.contrib.comments&#39;,
2360 &#39;django.contrib.webdesign&#39;]</div></td>
2361 </tr>
2362
2363 <tr>
2364 <td>INTERNAL_IPS</td>
2365 <td class="code"><div>()</div></td>
2366 </tr>
2367
2368 <tr>
2369 <td>JING_PATH</td>
2370 <td class="code"><div>&#39;/usr/bin/jing&#39;</div></td>
2371 </tr>
2372
2373 <tr>
2374 <td>LANGUAGES</td>
2375 <td class="code"><div>((&#39;ar&#39;, &#39;Arabic&#39;),
2376 (&#39;bn&#39;, &#39;Bengali&#39;),
2377 (&#39;bg&#39;, &#39;Bulgarian&#39;),
2378 (&#39;ca&#39;, &#39;Catalan&#39;),
2379 (&#39;cs&#39;, &#39;Czech&#39;),
2380 (&#39;cy&#39;, &#39;Welsh&#39;),
2381 (&#39;da&#39;, &#39;Danish&#39;),
2382 (&#39;de&#39;, &#39;German&#39;),
2383 (&#39;el&#39;, &#39;Greek&#39;),
2384 (&#39;en&#39;, &#39;English&#39;),
2385 (&#39;es&#39;, &#39;Spanish&#39;),
2386 (&#39;et&#39;, &#39;Estonian&#39;),
2387 (&#39;es-ar&#39;, &#39;Argentinean Spanish&#39;),
2388 (&#39;eu&#39;, &#39;Basque&#39;),
2389 (&#39;fa&#39;, &#39;Persian&#39;),
2390 (&#39;fi&#39;, &#39;Finnish&#39;),
2391 (&#39;fr&#39;, &#39;French&#39;),
2392 (&#39;ga&#39;, &#39;Irish&#39;),
2393 (&#39;gl&#39;, &#39;Galician&#39;),
2394 (&#39;hu&#39;, &#39;Hungarian&#39;),
2395 (&#39;he&#39;, &#39;Hebrew&#39;),
2396 (&#39;hr&#39;, &#39;Croatian&#39;),
2397 (&#39;is&#39;, &#39;Icelandic&#39;),
2398 (&#39;it&#39;, &#39;Italian&#39;),
2399 (&#39;ja&#39;, &#39;Japanese&#39;),
2400 (&#39;ka&#39;, &#39;Georgian&#39;),
2401 (&#39;ko&#39;, &#39;Korean&#39;),
2402 (&#39;km&#39;, &#39;Khmer&#39;),
2403 (&#39;kn&#39;, &#39;Kannada&#39;),
2404 (&#39;lv&#39;, &#39;Latvian&#39;),
2405 (&#39;lt&#39;, &#39;Lithuanian&#39;),
2406 (&#39;mk&#39;, &#39;Macedonian&#39;),
2407 (&#39;nl&#39;, &#39;Dutch&#39;),
2408 (&#39;no&#39;, &#39;Norwegian&#39;),
2409 (&#39;pl&#39;, &#39;Polish&#39;),
2410 (&#39;pt&#39;, &#39;Portugese&#39;),
2411 (&#39;pt-br&#39;, &#39;Brazilian Portuguese&#39;),
2412 (&#39;ro&#39;, &#39;Romanian&#39;),
2413 (&#39;ru&#39;, &#39;Russian&#39;),
2414 (&#39;sk&#39;, &#39;Slovak&#39;),
2415 (&#39;sl&#39;, &#39;Slovenian&#39;),
2416 (&#39;sr&#39;, &#39;Serbian&#39;),
2417 (&#39;sv&#39;, &#39;Swedish&#39;),
2418 (&#39;ta&#39;, &#39;Tamil&#39;),
2419 (&#39;te&#39;, &#39;Telugu&#39;),
2420 (&#39;tr&#39;, &#39;Turkish&#39;),
2421 (&#39;uk&#39;, &#39;Ukrainian&#39;),
2422 (&#39;zh-cn&#39;, &#39;Simplified Chinese&#39;),
2423 (&#39;zh-tw&#39;, &#39;Traditional Chinese&#39;))</div></td>
2424 </tr>
2425
2426 <tr>
2427 <td>LANGUAGES_BIDI</td>
2428 <td class="code"><div>(&#39;he&#39;, &#39;ar&#39;, &#39;fa&#39;)</div></td>
2429 </tr>
2430
2431 <tr>
2432 <td>LANGUAGE_CODE</td>
2433 <td class="code"><div>&#39;es-ES&#39;</div></td>
2434 </tr>
2435
2436 <tr>
2437 <td>LANGUAGE_COOKIE_NAME</td>
2438 <td class="code"><div>&#39;django_language&#39;</div></td>
2439 </tr>
2440
2441 <tr>
2442 <td>LOCALE_PATHS</td>
2443 <td class="code"><div>()</div></td>
2444 </tr>
2445
2446 <tr>
2447 <td>LOGIN_REDIRECT_URL</td>
2448 <td class="code"><div>&#39;/accounts/profile/&#39;</div></td>
2449 </tr>
2450
2451 <tr>
2452 <td>LOGIN_URL</td>
2453 <td class="code"><div>&#39;/accounts/login/&#39;</div></td>
2454 </tr>
2455
2456 <tr>
2457 <td>LOGOUT_URL</td>
2458 <td class="code"><div>&#39;/accounts/logout/&#39;</div></td>
2459 </tr>
2460
2461 <tr>
2462 <td>MANAGERS</td>
2463 <td class="code"><div>((&#39;J&#39;, &#39;jobcello@gmail.com&#39;),)</div></td>
2464 </tr>
2465
2466 <tr>
2467 <td>MEDIA_ROOT</td>
2468 <td class="code"><div>&#39;C:\\J\\_proj\\Python\\djcode\\ssa_media&#39;</div></td>
2469 </tr>
2470
2471 <tr>
2472 <td>MEDIA_URL</td>
2473 <td class="code"><div>&#39;http://localhost:8080/media/&#39;</div></td>
2474 </tr>
2475
2476 <tr>
2477 <td>MIDDLEWARE_CLASSES</td>
2478 <td class="code"><div>(&#39;django.middleware.common.CommonMiddleware&#39;,
2479 &#39;django.contrib.sessions.middleware.SessionMiddleware&#39;,
2480 &#39;django.middleware.locale.LocaleMiddleware&#39;,
2481 &#39;django.contrib.auth.middleware.AuthenticationMiddleware&#39;)</div></td>
2482 </tr>
2483
2484 <tr>
2485 <td>MONTH_DAY_FORMAT</td>
2486 <td class="code"><div>&#39;F j&#39;</div></td>
2487 </tr>
2488
2489 <tr>
2490 <td>PASSWORD_RESET_TIMEOUT_DAYS</td>
2491 <td class="code"><div>&#39;********************&#39;</div></td>
2492 </tr>
2493
2494 <tr>
2495 <td>PREPEND_WWW</td>
2496 <td class="code"><div>False</div></td>
2497 </tr>
2498
2499 <tr>
2500 <td>PROFANITIES_LIST</td>
2501 <td class="code"><div>&#39;********************&#39;</div></td>
2502 </tr>
2503
2504 <tr>
2505 <td>ROOT_URLCONF</td>
2506 <td class="code"><div>&#39;ssa.urls&#39;</div></td>
2507 </tr>
2508
2509 <tr>
2510 <td>SECRET_KEY</td>
2511 <td class="code"><div>&#39;********************&#39;</div></td>
2512 </tr>
2513
2514 <tr>
2515 <td>SEND_BROKEN_LINK_EMAILS</td>
2516 <td class="code"><div>False</div></td>
2517 </tr>
2518
2519 <tr>
2520 <td>SERVER_EMAIL</td>
2521 <td class="code"><div>&#39;root@localhost&#39;</div></td>
2522 </tr>
2523
2524 <tr>
2525 <td>SESSION_COOKIE_AGE</td>
2526 <td class="code"><div>1209600</div></td>
2527 </tr>
2528
2529 <tr>
2530 <td>SESSION_COOKIE_DOMAIN</td>
2531 <td class="code"><div>None</div></td>
2532 </tr>
2533
2534 <tr>
2535 <td>SESSION_COOKIE_NAME</td>
2536 <td class="code"><div>&#39;sessionid&#39;</div></td>
2537 </tr>
2538
2539 <tr>
2540 <td>SESSION_COOKIE_PATH</td>
2541 <td class="code"><div>&#39;/&#39;</div></td>
2542 </tr>
2543
2544 <tr>
2545 <td>SESSION_COOKIE_SECURE</td>
2546 <td class="code"><div>False</div></td>
2547 </tr>
2548
2549 <tr>
2550 <td>SESSION_ENGINE</td>
2551 <td class="code"><div>&#39;django.contrib.sessions.backends.db&#39;</div></td>
2552 </tr>
2553
2554 <tr>
2555 <td>SESSION_EXPIRE_AT_BROWSER_CLOSE</td>
2556 <td class="code"><div>False</div></td>
2557 </tr>
2558
2559 <tr>
2560 <td>SESSION_FILE_PATH</td>
2561 <td class="code"><div>None</div></td>
2562 </tr>
2563
2564 <tr>
2565 <td>SESSION_SAVE_EVERY_REQUEST</td>
2566 <td class="code"><div>False</div></td>
2567 </tr>
2568
2569 <tr>
2570 <td>SETTINGS_MODULE</td>
2571 <td class="code"><div>&#39;ssa.settings&#39;</div></td>
2572 </tr>
2573
2574 <tr>
2575 <td>SITE_ID</td>
2576 <td class="code"><div>1</div></td>
2577 </tr>
2578
2579 <tr>
2580 <td>SSAPARENTPATH</td>
2581 <td class="code"><div>&#39;C:\\J\\_proj\\Python\\djcode&#39;</div></td>
2582 </tr>
2583
2584 <tr>
2585 <td>TEMPLATE_CONTEXT_PROCESSORS</td>
2586 <td class="code"><div>(&#39;django.core.context_processors.auth&#39;,
2587 &#39;django.core.context_processors.debug&#39;,
2588 &#39;django.core.context_processors.i18n&#39;,
2589 &#39;django.core.context_processors.media&#39;,
2590 &#39;ssa.context_processors.ssa&#39;)</div></td>
2591 </tr>
2592
2593 <tr>
2594 <td>TEMPLATE_DEBUG</td>
2595 <td class="code"><div>True</div></td>
2596 </tr>
2597
2598 <tr>
2599 <td>TEMPLATE_DIRS</td>
2600 <td class="code"><div>(&#39;C:\\J\\_proj\\Python\\djcode\\ssa_templates&#39;,)</div></td>
2601 </tr>
2602
2603 <tr>
2604 <td>TEMPLATE_LOADERS</td>
2605 <td class="code"><div>(&#39;django.template.loaders.filesystem.load_template_source&#39;,
2606 &#39;django.template.loaders.app_directories.load_template_source&#39;)</div></td>
2607 </tr>
2608
2609 <tr>
2610 <td>TEMPLATE_STRING_IF_INVALID</td>
2611 <td class="code"><div>&#39;&#39;</div></td>
2612 </tr>
2613
2614 <tr>
2615 <td>TEST_DATABASE_CHARSET</td>
2616 <td class="code"><div>None</div></td>
2617 </tr>
2618
2619 <tr>
2620 <td>TEST_DATABASE_COLLATION</td>
2621 <td class="code"><div>None</div></td>
2622 </tr>
2623
2624 <tr>
2625 <td>TEST_DATABASE_NAME</td>
2626 <td class="code"><div>None</div></td>
2627 </tr>
2628
2629 <tr>
2630 <td>TEST_RUNNER</td>
2631 <td class="code"><div>&#39;django.test.simple.run_tests&#39;</div></td>
2632 </tr>
2633
2634 <tr>
2635 <td>TIME_FORMAT</td>
2636 <td class="code"><div>&#39;P&#39;</div></td>
2637 </tr>
2638
2639 <tr>
2640 <td>TIME_ZONE</td>
2641 <td class="code"><div>&#39;America/Santiago Chile/Continental&#39;</div></td>
2642 </tr>
2643
2644 <tr>
2645 <td>TRANSACTIONS_MANAGED</td>
2646 <td class="code"><div>False</div></td>
2647 </tr>
2648
2649 <tr>
2650 <td>URL_VALIDATOR_USER_AGENT</td>
2651 <td class="code"><div>u&#39;Django/1.0-final-SVN-unknown (http://www.djangoproject.com)&#39;</div></td>
2652 </tr>
2653
2654 <tr>
2655 <td>USE_ETAGS</td>
2656 <td class="code"><div>False</div></td>
2657 </tr>
2658
2659 <tr>
2660 <td>USE_I18N</td>
2661 <td class="code"><div>True</div></td>
2662 </tr>
2663
2664 <tr>
2665 <td>YEAR_MONTH_FORMAT</td>
2666 <td class="code"><div>&#39;F Y&#39;</div></td>
2667 </tr>
2668
2669 </tbody>
2670 </table>
2671
2672</div>
2673
2674<div id="explanation">
2675 <p>
2676 You're seeing this error because you have <code>DEBUG = True</code> in your
2677 Django settings file. Change that to <code>False</code>, and Django will
2678 display a standard 500 page.
2679 </p>
2680</div>
2681</body>
2682</html>
Back to Top