Ticket #4796: TypeError at _databrowse_.html

File TypeError at _databrowse_.html, 49.8 KB (added by Jeff Forcier <jeff@…>, 17 years ago)
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">
4<head>
5 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
6 <meta name="robots" content="NONE,NOARCHIVE" />
7 <title>TypeError at /databrowse/</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 #traceback { background:#eee; }
44 #requestinfo { background:#f6f6f6; padding-left:120px; }
45 #summary table { border:none; background:transparent; }
46 #requestinfo h2, #requestinfo h3 { position:relative; margin-left:-100px; }
47 #requestinfo h3 { margin-bottom:-1em; }
48 .error { background: #ffc; }
49 .specific { color:#cc3300; font-weight:bold; }
50 </style>
51 <script type="text/javascript">
52 //<!--
53 function getElementsByClassName(oElm, strTagName, strClassName){
54 // Written by Jonathan Snook, http://www.snook.ca/jon; Add-ons by Robert Nyman, http://www.robertnyman.com
55 var arrElements = (strTagName == "*" && document.all)? document.all :
56 oElm.getElementsByTagName(strTagName);
57 var arrReturnElements = new Array();
58 strClassName = strClassName.replace(/\-/g, "\-");
59 var oRegExp = new RegExp("(^|\s)" + strClassName + "(\s|$)");
60 var oElement;
61 for(var i=0; i<arrElements.length; i++){
62 oElement = arrElements[i];
63 if(oRegExp.test(oElement.className)){
64 arrReturnElements.push(oElement);
65 }
66 }
67 return (arrReturnElements)
68 }
69 function hideAll(elems) {
70 for (var e = 0; e < elems.length; e++) {
71 elems[e].style.display = 'none';
72 }
73 }
74 window.onload = function() {
75 hideAll(getElementsByClassName(document, 'table', 'vars'));
76 hideAll(getElementsByClassName(document, 'ol', 'pre-context'));
77 hideAll(getElementsByClassName(document, 'ol', 'post-context'));
78 hideAll(getElementsByClassName(document, 'div', 'pastebin'));
79 }
80 function toggle() {
81 for (var i = 0; i < arguments.length; i++) {
82 var e = document.getElementById(arguments[i]);
83 if (e) {
84 e.style.display = e.style.display == 'none' ? 'block' : 'none';
85 }
86 }
87 return false;
88 }
89 function varToggle(link, id) {
90 toggle('v' + id);
91 var s = link.getElementsByTagName('span')[0];
92 var uarr = String.fromCharCode(0x25b6);
93 var darr = String.fromCharCode(0x25bc);
94 s.innerHTML = s.innerHTML == uarr ? darr : uarr;
95 return false;
96 }
97 function switchPastebinFriendly(link) {
98 s1 = "Switch to copy-and-paste view";
99 s2 = "Switch back to interactive view";
100 link.innerHTML = link.innerHTML == s1 ? s2 : s1;
101 toggle('browserTraceback', 'pastebinTraceback');
102 return false;
103 }
104 //-->
105 </script>
106</head>
107<body>
108
109<div id="summary">
110 <h1>TypeError at /databrowse/</h1>
111 <h2>coercing to Unicode: need string or buffer, __proxy__ found</h2>
112 <table class="meta">
113 <tr>
114 <th>Request Method:</th>
115 <td>GET</td>
116 </tr>
117 <tr>
118 <th>Request URL:</th>
119 <td>http://bitprophet.dyndns.org:8080/databrowse/</td>
120 </tr>
121 <tr>
122 <th>Exception Type:</th>
123 <td>TypeError</td>
124 </tr>
125 <tr>
126 <th>Exception Value:</th>
127 <td>coercing to Unicode: need string or buffer, __proxy__ found</td>
128 </tr>
129 <tr>
130 <th>Exception Location:</th>
131 <td>/usr/lib/python2.5/site-packages/django/utils/encoding.py in force_unicode, line 38</td>
132 </tr>
133 <tr>
134 <th>Python Executable:</th>
135 <td>/usr/bin/python</td>
136 </tr>
137 <tr>
138 <th>Python Version:</th>
139 <td>2.5.0</td>
140 </tr>
141 </table>
142</div>
143
144
145<div id="template">
146 <h2>Template error</h2>
147 <p>In template <code>/usr/lib/python2.5/site-packages/django/contrib/databrowse/templates/databrowse/homepage.html</code>, error at line <strong>9</strong></p>
148 <h3>Caught an exception while rendering: coercing to Unicode: need string or buffer, __proxy__ found</h3>
149 <table class="source cut-top cut-bottom">
150
151
152 <tr><th>1</th>
153 <td>{% extends &quot;databrowse/base.html&quot; %}
154</td></tr>
155
156
157
158 <tr><th>2</th>
159 <td>
160</td></tr>
161
162
163
164 <tr><th>3</th>
165 <td>{% block title %}Databrowse{% endblock %}
166</td></tr>
167
168
169
170 <tr><th>4</th>
171 <td>
172</td></tr>
173
174
175
176 <tr><th>5</th>
177 <td>{% block bodyid %}homepage{% endblock %}
178</td></tr>
179
180
181
182 <tr><th>6</th>
183 <td>
184</td></tr>
185
186
187
188 <tr><th>7</th>
189 <td>{% block content %}
190</td></tr>
191
192
193
194 <tr><th>8</th>
195 <td>
196</td></tr>
197
198
199
200 <tr class="error"><th>9</th>
201 <td><span class="specific">{% for model in model_list %}</span>
202</td></tr>
203
204
205
206 <tr><th>10</th>
207 <td> &lt;div class=&quot;modelgroup {% cycle even,odd %}&quot;&gt;
208</td></tr>
209
210
211
212 <tr><th>11</th>
213 <td> &lt;h2&gt;&lt;a href=&quot;{{ model.url }}&quot;&gt;{{ model.verbose_name_plural|capfirst }}&lt;/a&gt;&lt;/h2&gt;
214</td></tr>
215
216
217
218 <tr><th>12</th>
219 <td> &lt;p&gt;
220</td></tr>
221
222
223
224 <tr><th>13</th>
225 <td> {% for object in model.sample_objects %}
226</td></tr>
227
228
229
230 <tr><th>14</th>
231 <td> &lt;a href=&quot;{{ object.url }}&quot;&gt;{{ object }}&lt;/a&gt;,
232</td></tr>
233
234
235
236 <tr><th>15</th>
237 <td> {% endfor %}
238</td></tr>
239
240
241
242 <tr><th>16</th>
243 <td> &lt;a class=&quot;more&quot; href=&quot;{{ model.url }}&quot;&gt;More &amp;rarr;&lt;/a&gt;
244</td></tr>
245
246
247
248 <tr><th>17</th>
249 <td> &lt;/p&gt;
250</td></tr>
251
252
253
254 <tr><th>18</th>
255 <td> &lt;/div&gt;
256</td></tr>
257
258
259
260 <tr><th>19</th>
261 <td>{% endfor %}
262</td></tr>
263
264
265 </table>
266</div>
267
268<div id="traceback">
269 <h2>Traceback <span>(innermost last)</span></h2>
270 <div class="commands"><a href="#" onclick="return switchPastebinFriendly(this);">Switch to copy-and-paste view</a></div>
271 <br/>
272 <div id="browserTraceback">
273 <ul class="traceback">
274
275 <li class="frame">
276 <code>/usr/lib/python2.5/site-packages/django/template/__init__.py</code> in <code>render_node</code>
277
278
279 <div class="context" id="c154975044">
280
281 <ol start="747" class="pre-context" id="pre154975044"><li onclick="toggle('pre154975044', 'post154975044')"></li><li onclick="toggle('pre154975044', 'post154975044')"> def render_node(self, node, context):</li><li onclick="toggle('pre154975044', 'post154975044')"> return node.render(context)</li><li onclick="toggle('pre154975044', 'post154975044')"></li><li onclick="toggle('pre154975044', 'post154975044')">class DebugNodeList(NodeList):</li><li onclick="toggle('pre154975044', 'post154975044')"> def render_node(self, node, context):</li><li onclick="toggle('pre154975044', 'post154975044')"> try:</li></ol>
282
283 <ol start="754" class="context-line"><li onclick="toggle('pre154975044', 'post154975044')"> result = node.render(context) <span>...</span></li></ol>
284
285 <ol start='755' class="post-context" id="post154975044"><li onclick="toggle('pre154975044', 'post154975044')"> except TemplateSyntaxError, e:</li><li onclick="toggle('pre154975044', 'post154975044')"> if not hasattr(e, &#39;source&#39;):</li><li onclick="toggle('pre154975044', 'post154975044')"> e.source = node.source</li><li onclick="toggle('pre154975044', 'post154975044')"> raise</li><li onclick="toggle('pre154975044', 'post154975044')"> except Exception, e:</li><li onclick="toggle('pre154975044', 'post154975044')"> from sys import exc_info</li></ol>
286
287 </div>
288
289
290
291 <div class="commands">
292 <a href="#" onclick="return varToggle(this, '154975044')"><span>&#x25b6;</span> Local vars</a>
293 </div>
294 <table class="vars" id="v154975044">
295 <thead>
296 <tr>
297 <th>Variable</th>
298 <th>Value</th>
299 </tr>
300 </thead>
301 <tbody>
302
303 <tr>
304 <td>context</td>
305 <td class="code"><div>[{&#39;forloop&#39;: {&#39;parentloop&#39;: {}, &#39;last&#39;: False, &#39;counter&#39;: 2, &#39;revcounter0&#39;: 1, &#39;revcounter&#39;: 2, &#39;counter0&#39;: 1, &#39;first&#39;: False}, u&#39;model&#39;: &lt;EasyModel for Job&gt;}, {&#39;block&#39;: &lt;Block Node: content. Contents: [&lt;Text Node: &#39;
306
307&#39;&gt;, &lt;For Node: for model in model_list, tail_len: 11&gt;, &lt;Text Node: &#39;
308
309&#39;&gt;]&gt;}, {&#39;root_url&#39;: u&#39;/databrowse/&#39;, &#39;model_list&#39;: [&lt;EasyModel for Person&gt;, &lt;EasyModel for Job&gt;, &lt;EasyModel for Company&gt;]}]</div></td>
310 </tr>
311
312 <tr>
313 <td>e</td>
314 <td class="code"><div>TypeError(&#39;coercing to Unicode: need string or buffer, __proxy__ found&#39;,)</div></td>
315 </tr>
316
317 <tr>
318 <td>exc_info</td>
319 <td class="code"><div>&lt;built-in function exc_info&gt;</div></td>
320 </tr>
321
322 <tr>
323 <td>node</td>
324 <td class="code"><div>&lt;For Node: for model in model_list, tail_len: 11&gt;</div></td>
325 </tr>
326
327 <tr>
328 <td>self</td>
329 <td class="code"><div>[&lt;Text Node: &#39;
330
331&#39;&gt;,
332 &lt;For Node: for model in model_list, tail_len: 11&gt;,
333 &lt;Text Node: &#39;
334
335&#39;&gt;]</div></td>
336 </tr>
337
338 <tr>
339 <td>wrapped</td>
340 <td class="code"><div>TemplateSyntaxError(&#39;Caught an exception while rendering: coercing to Unicode: need string or buffer, __proxy__ found&#39;,)</div></td>
341 </tr>
342
343 </tbody>
344 </table>
345
346 </li>
347
348 <li class="frame">
349 <code>/usr/lib/python2.5/site-packages/django/template/defaulttags.py</code> in <code>render</code>
350
351
352 <div class="context" id="c154975004">
353
354 <ol start="127" class="pre-context" id="pre154975004"><li onclick="toggle('pre154975004', 'post154975004')"> }</li><li onclick="toggle('pre154975004', 'post154975004')"> if unpack:</li><li onclick="toggle('pre154975004', 'post154975004')"> # If there are multiple loop variables, unpack the item into them.</li><li onclick="toggle('pre154975004', 'post154975004')"> context.update(dict(zip(self.loopvars, item)))</li><li onclick="toggle('pre154975004', 'post154975004')"> else:</li><li onclick="toggle('pre154975004', 'post154975004')"> context[self.loopvars[0]] = item</li><li onclick="toggle('pre154975004', 'post154975004')"> for node in self.nodelist_loop:</li></ol>
355
356 <ol start="134" class="context-line"><li onclick="toggle('pre154975004', 'post154975004')"> nodelist.append(node.render(context)) <span>...</span></li></ol>
357
358 <ol start='135' class="post-context" id="post154975004"><li onclick="toggle('pre154975004', 'post154975004')"> if unpack:</li><li onclick="toggle('pre154975004', 'post154975004')"> # The loop variables were pushed on to the context so pop them</li><li onclick="toggle('pre154975004', 'post154975004')"> # off again. This is necessary because the tag lets the length</li><li onclick="toggle('pre154975004', 'post154975004')"> # of loopvars differ to the length of each set of items and we</li><li onclick="toggle('pre154975004', 'post154975004')"> # don&#39;t want to leave any vars from the previous loop on the</li><li onclick="toggle('pre154975004', 'post154975004')"> # context.</li></ol>
359
360 </div>
361
362
363
364 <div class="commands">
365 <a href="#" onclick="return varToggle(this, '154975004')"><span>&#x25b6;</span> Local vars</a>
366 </div>
367 <table class="vars" id="v154975004">
368 <thead>
369 <tr>
370 <th>Variable</th>
371 <th>Value</th>
372 </tr>
373 </thead>
374 <tbody>
375
376 <tr>
377 <td>context</td>
378 <td class="code"><div>[{&#39;forloop&#39;: {&#39;parentloop&#39;: {}, &#39;last&#39;: False, &#39;counter&#39;: 2, &#39;revcounter0&#39;: 1, &#39;revcounter&#39;: 2, &#39;counter0&#39;: 1, &#39;first&#39;: False}, u&#39;model&#39;: &lt;EasyModel for Job&gt;}, {&#39;block&#39;: &lt;Block Node: content. Contents: [&lt;Text Node: &#39;
379
380&#39;&gt;, &lt;For Node: for model in model_list, tail_len: 11&gt;, &lt;Text Node: &#39;
381
382&#39;&gt;]&gt;}, {&#39;root_url&#39;: u&#39;/databrowse/&#39;, &#39;model_list&#39;: [&lt;EasyModel for Person&gt;, &lt;EasyModel for Job&gt;, &lt;EasyModel for Company&gt;]}]</div></td>
383 </tr>
384
385 <tr>
386 <td>i</td>
387 <td class="code"><div>1</div></td>
388 </tr>
389
390 <tr>
391 <td>item</td>
392 <td class="code"><div>&lt;EasyModel for Job&gt;</div></td>
393 </tr>
394
395 <tr>
396 <td>len_values</td>
397 <td class="code"><div>3</div></td>
398 </tr>
399
400 <tr>
401 <td>node</td>
402 <td class="code"><div>&lt;Variable Node: model.verbose_name_plural|capfirst&gt;</div></td>
403 </tr>
404
405 <tr>
406 <td>nodelist</td>
407 <td class="code"><div>[u&#39;\n &lt;div class=&quot;modelgroup &#39;,
408 u&#39;even&#39;,
409 u&#39;&quot;&gt;\n\t &lt;h2&gt;&lt;a href=&quot;&#39;,
410 u&#39;/databrowse/jobs/person/&#39;,
411 u&#39;&quot;&gt;&#39;,
412 u&#39;People&#39;,
413 u&#39;&lt;/a&gt;&lt;/h2&gt;\n\t\t&lt;p&gt;\n\t\t&#39;,
414 &#39;&#39;,
415 u&#39;\n\t\t\t&lt;a class=&quot;more&quot; href=&quot;&#39;,
416 u&#39;/databrowse/jobs/person/&#39;,
417 u&#39;&quot;&gt;More &amp;rarr;&lt;/a&gt;\n\t\t&lt;/p&gt;\n &lt;/div&gt;\n&#39;,
418 u&#39;\n &lt;div class=&quot;modelgroup &#39;,
419 u&#39;odd&#39;,
420 u&#39;&quot;&gt;\n\t &lt;h2&gt;&lt;a href=&quot;&#39;,
421 u&#39;/databrowse/jobs/job/&#39;,
422 u&#39;&quot;&gt;&#39;]</div></td>
423 </tr>
424
425 <tr>
426 <td>parentloop</td>
427 <td class="code"><div>{}</div></td>
428 </tr>
429
430 <tr>
431 <td>self</td>
432 <td class="code"><div>&lt;For Node: for model in model_list, tail_len: 11&gt;</div></td>
433 </tr>
434
435 <tr>
436 <td>unpack</td>
437 <td class="code"><div>False</div></td>
438 </tr>
439
440 <tr>
441 <td>values</td>
442 <td class="code"><div>[&lt;EasyModel for Person&gt;, &lt;EasyModel for Job&gt;, &lt;EasyModel for Company&gt;]</div></td>
443 </tr>
444
445 </tbody>
446 </table>
447
448 </li>
449
450 <li class="frame">
451 <code>/usr/lib/python2.5/site-packages/django/template/__init__.py</code> in <code>render</code>
452
453
454 <div class="context" id="c154974964">
455
456 <ol start="783" class="pre-context" id="pre154974964"><li onclick="toggle('pre154974964', 'post154974964')"></li><li onclick="toggle('pre154974964', 'post154974964')"> def render(self, context):</li><li onclick="toggle('pre154974964', 'post154974964')"> return self.filter_expression.resolve(context)</li><li onclick="toggle('pre154974964', 'post154974964')"></li><li onclick="toggle('pre154974964', 'post154974964')">class DebugVariableNode(VariableNode):</li><li onclick="toggle('pre154974964', 'post154974964')"> def render(self, context):</li><li onclick="toggle('pre154974964', 'post154974964')"> try:</li></ol>
457
458 <ol start="790" class="context-line"><li onclick="toggle('pre154974964', 'post154974964')"> return self.filter_expression.resolve(context) <span>...</span></li></ol>
459
460 <ol start='791' class="post-context" id="post154974964"><li onclick="toggle('pre154974964', 'post154974964')"> except TemplateSyntaxError, e:</li><li onclick="toggle('pre154974964', 'post154974964')"> if not hasattr(e, &#39;source&#39;):</li><li onclick="toggle('pre154974964', 'post154974964')"> e.source = self.source</li><li onclick="toggle('pre154974964', 'post154974964')"> raise</li><li onclick="toggle('pre154974964', 'post154974964')"></li><li onclick="toggle('pre154974964', 'post154974964')">def generic_tag_compiler(params, defaults, name, node_class, parser, token):</li></ol>
461
462 </div>
463
464
465
466 <div class="commands">
467 <a href="#" onclick="return varToggle(this, '154974964')"><span>&#x25b6;</span> Local vars</a>
468 </div>
469 <table class="vars" id="v154974964">
470 <thead>
471 <tr>
472 <th>Variable</th>
473 <th>Value</th>
474 </tr>
475 </thead>
476 <tbody>
477
478 <tr>
479 <td>context</td>
480 <td class="code"><div>[{&#39;forloop&#39;: {&#39;parentloop&#39;: {}, &#39;last&#39;: False, &#39;counter&#39;: 2, &#39;revcounter0&#39;: 1, &#39;revcounter&#39;: 2, &#39;counter0&#39;: 1, &#39;first&#39;: False}, u&#39;model&#39;: &lt;EasyModel for Job&gt;}, {&#39;block&#39;: &lt;Block Node: content. Contents: [&lt;Text Node: &#39;
481
482&#39;&gt;, &lt;For Node: for model in model_list, tail_len: 11&gt;, &lt;Text Node: &#39;
483
484&#39;&gt;]&gt;}, {&#39;root_url&#39;: u&#39;/databrowse/&#39;, &#39;model_list&#39;: [&lt;EasyModel for Person&gt;, &lt;EasyModel for Job&gt;, &lt;EasyModel for Company&gt;]}]</div></td>
485 </tr>
486
487 <tr>
488 <td>self</td>
489 <td class="code"><div>&lt;Variable Node: model.verbose_name_plural|capfirst&gt;</div></td>
490 </tr>
491
492 </tbody>
493 </table>
494
495 </li>
496
497 <li class="frame">
498 <code>/usr/lib/python2.5/site-packages/django/template/__init__.py</code> in <code>resolve</code>
499
500
501 <div class="context" id="c154974164">
502
503 <ol start="575" class="pre-context" id="pre154974164"><li onclick="toggle('pre154974164', 'post154974164')"> upto = match.end()</li><li onclick="toggle('pre154974164', 'post154974164')"> if upto != len(token):</li><li onclick="toggle('pre154974164', 'post154974164')"> raise TemplateSyntaxError, &quot;Could not parse the remainder: &#39;%s&#39; from &#39;%s&#39;&quot; % (token[upto:], token)</li><li onclick="toggle('pre154974164', 'post154974164')"> self.var, self.filters = var, filters</li><li onclick="toggle('pre154974164', 'post154974164')"></li><li onclick="toggle('pre154974164', 'post154974164')"> def resolve(self, context, ignore_failures=False):</li><li onclick="toggle('pre154974164', 'post154974164')"> try:</li></ol>
504
505 <ol start="582" class="context-line"><li onclick="toggle('pre154974164', 'post154974164')"> obj = resolve_variable(self.var, context) <span>...</span></li></ol>
506
507 <ol start='583' class="post-context" id="post154974164"><li onclick="toggle('pre154974164', 'post154974164')"> except VariableDoesNotExist:</li><li onclick="toggle('pre154974164', 'post154974164')"> if ignore_failures:</li><li onclick="toggle('pre154974164', 'post154974164')"> obj = None</li><li onclick="toggle('pre154974164', 'post154974164')"> else:</li><li onclick="toggle('pre154974164', 'post154974164')"> if settings.TEMPLATE_STRING_IF_INVALID:</li><li onclick="toggle('pre154974164', 'post154974164')"> global invalid_var_format_string</li></ol>
508
509 </div>
510
511
512
513 <div class="commands">
514 <a href="#" onclick="return varToggle(this, '154974164')"><span>&#x25b6;</span> Local vars</a>
515 </div>
516 <table class="vars" id="v154974164">
517 <thead>
518 <tr>
519 <th>Variable</th>
520 <th>Value</th>
521 </tr>
522 </thead>
523 <tbody>
524
525 <tr>
526 <td>context</td>
527 <td class="code"><div>[{&#39;forloop&#39;: {&#39;parentloop&#39;: {}, &#39;last&#39;: False, &#39;counter&#39;: 2, &#39;revcounter0&#39;: 1, &#39;revcounter&#39;: 2, &#39;counter0&#39;: 1, &#39;first&#39;: False}, u&#39;model&#39;: &lt;EasyModel for Job&gt;}, {&#39;block&#39;: &lt;Block Node: content. Contents: [&lt;Text Node: &#39;
528
529&#39;&gt;, &lt;For Node: for model in model_list, tail_len: 11&gt;, &lt;Text Node: &#39;
530
531&#39;&gt;]&gt;}, {&#39;root_url&#39;: u&#39;/databrowse/&#39;, &#39;model_list&#39;: [&lt;EasyModel for Person&gt;, &lt;EasyModel for Job&gt;, &lt;EasyModel for Company&gt;]}]</div></td>
532 </tr>
533
534 <tr>
535 <td>ignore_failures</td>
536 <td class="code"><div>False</div></td>
537 </tr>
538
539 <tr>
540 <td>self</td>
541 <td class="code"><div>&lt;django.template.FilterExpression object at 0x93d166c&gt;</div></td>
542 </tr>
543
544 </tbody>
545 </table>
546
547 </li>
548
549 <li class="frame">
550 <code>/usr/lib/python2.5/site-packages/django/template/__init__.py</code> in <code>resolve_variable</code>
551
552
553 <div class="context" id="c154974924">
554
555 <ol start="700" class="pre-context" id="pre154974924"><li onclick="toggle('pre154974924', 'post154974924')"> if getattr(e, &#39;silent_variable_failure&#39;, False):</li><li onclick="toggle('pre154974924', 'post154974924')"> current = settings.TEMPLATE_STRING_IF_INVALID</li><li onclick="toggle('pre154974924', 'post154974924')"> else:</li><li onclick="toggle('pre154974924', 'post154974924')"> raise</li><li onclick="toggle('pre154974924', 'post154974924')"> del bits[0]</li><li onclick="toggle('pre154974924', 'post154974924')"> if isinstance(current, (basestring, Promise)):</li><li onclick="toggle('pre154974924', 'post154974924')"> try:</li></ol>
556
557 <ol start="707" class="context-line"><li onclick="toggle('pre154974924', 'post154974924')"> current = force_unicode(current) <span>...</span></li></ol>
558
559 <ol start='708' class="post-context" id="post154974924"><li onclick="toggle('pre154974924', 'post154974924')"> except UnicodeDecodeError:</li><li onclick="toggle('pre154974924', 'post154974924')"> # Failing to convert to unicode can happen sometimes (e.g. debug</li><li onclick="toggle('pre154974924', 'post154974924')"> # tracebacks). So we allow it in this particular instance.</li><li onclick="toggle('pre154974924', 'post154974924')"> pass</li><li onclick="toggle('pre154974924', 'post154974924')"> return current</li><li onclick="toggle('pre154974924', 'post154974924')"></li></ol>
560
561 </div>
562
563
564
565 <div class="commands">
566 <a href="#" onclick="return varToggle(this, '154974924')"><span>&#x25b6;</span> Local vars</a>
567 </div>
568 <table class="vars" id="v154974924">
569 <thead>
570 <tr>
571 <th>Variable</th>
572 <th>Value</th>
573 </tr>
574 </thead>
575 <tbody>
576
577 <tr>
578 <td>bits</td>
579 <td class="code"><div>[]</div></td>
580 </tr>
581
582 <tr>
583 <td>context</td>
584 <td class="code"><div>[{&#39;forloop&#39;: {&#39;parentloop&#39;: {}, &#39;last&#39;: False, &#39;counter&#39;: 2, &#39;revcounter0&#39;: 1, &#39;revcounter&#39;: 2, &#39;counter0&#39;: 1, &#39;first&#39;: False}, u&#39;model&#39;: &lt;EasyModel for Job&gt;}, {&#39;block&#39;: &lt;Block Node: content. Contents: [&lt;Text Node: &#39;
585
586&#39;&gt;, &lt;For Node: for model in model_list, tail_len: 11&gt;, &lt;Text Node: &#39;
587
588&#39;&gt;]&gt;}, {&#39;root_url&#39;: u&#39;/databrowse/&#39;, &#39;model_list&#39;: [&lt;EasyModel for Person&gt;, &lt;EasyModel for Job&gt;, &lt;EasyModel for Company&gt;]}]</div></td>
589 </tr>
590
591 <tr>
592 <td>current</td>
593 <td class="code"><div>u&#39;jobs&#39;</div></td>
594 </tr>
595
596 <tr>
597 <td>path</td>
598 <td class="code"><div>u&#39;model.verbose_name_plural&#39;</div></td>
599 </tr>
600
601 </tbody>
602 </table>
603
604 </li>
605
606 <li class="frame">
607 <code>/usr/lib/python2.5/site-packages/django/utils/encoding.py</code> in <code>force_unicode</code>
608
609
610 <div class="context" id="c154974884">
611
612 <ol start="31" class="pre-context" id="pre154974884"><li onclick="toggle('pre154974884', 'post154974884')"></li><li onclick="toggle('pre154974884', 'post154974884')"> If strings_only is True, don&#39;t convert (some) non-string-like objects.</li><li onclick="toggle('pre154974884', 'post154974884')"> &quot;&quot;&quot;</li><li onclick="toggle('pre154974884', 'post154974884')"> if strings_only and isinstance(s, (types.NoneType, int)):</li><li onclick="toggle('pre154974884', 'post154974884')"> return s</li><li onclick="toggle('pre154974884', 'post154974884')"> if not isinstance(s, basestring,):</li><li onclick="toggle('pre154974884', 'post154974884')"> if hasattr(s, &#39;__unicode__&#39;):</li></ol>
613
614 <ol start="38" class="context-line"><li onclick="toggle('pre154974884', 'post154974884')"> s = unicode(s) <span>...</span></li></ol>
615
616 <ol start='39' class="post-context" id="post154974884"><li onclick="toggle('pre154974884', 'post154974884')"> else:</li><li onclick="toggle('pre154974884', 'post154974884')"> s = unicode(str(s), encoding, errors)</li><li onclick="toggle('pre154974884', 'post154974884')"> elif not isinstance(s, unicode):</li><li onclick="toggle('pre154974884', 'post154974884')"> s = unicode(s, encoding, errors)</li><li onclick="toggle('pre154974884', 'post154974884')"> return s</li><li onclick="toggle('pre154974884', 'post154974884')"></li></ol>
617
618 </div>
619
620
621
622 <div class="commands">
623 <a href="#" onclick="return varToggle(this, '154974884')"><span>&#x25b6;</span> Local vars</a>
624 </div>
625 <table class="vars" id="v154974884">
626 <thead>
627 <tr>
628 <th>Variable</th>
629 <th>Value</th>
630 </tr>
631 </thead>
632 <tbody>
633
634 <tr>
635 <td>encoding</td>
636 <td class="code"><div>u&#39;utf-8&#39;</div></td>
637 </tr>
638
639 <tr>
640 <td>errors</td>
641 <td class="code"><div>u&#39;strict&#39;</div></td>
642 </tr>
643
644 <tr>
645 <td>s</td>
646 <td class="code"><div>u&#39;jobs&#39;</div></td>
647 </tr>
648
649 <tr>
650 <td>strings_only</td>
651 <td class="code"><div>False</div></td>
652 </tr>
653
654 </tbody>
655 </table>
656
657 </li>
658
659 </ul>
660 </div>
661 <div id="pastebinTraceback" class="pastebin">
662 <table>
663 <tbody>
664 <tr>
665 <td>
666 <code>
667Traceback (most recent call last):<br/>
668
669 File "/usr/lib/python2.5/site-packages/django/template/__init__.py" in render_node<br/>
670
671 &nbsp;&nbsp;754. result = node.render(context)<br/>
672
673
674 File "/usr/lib/python2.5/site-packages/django/template/defaulttags.py" in render<br/>
675
676 &nbsp;&nbsp;134. nodelist.append(node.render(context))<br/>
677
678
679 File "/usr/lib/python2.5/site-packages/django/template/__init__.py" in render<br/>
680
681 &nbsp;&nbsp;790. return self.filter_expression.resolve(context)<br/>
682
683
684 File "/usr/lib/python2.5/site-packages/django/template/__init__.py" in resolve<br/>
685
686 &nbsp;&nbsp;582. obj = resolve_variable(self.var, context)<br/>
687
688
689 File "/usr/lib/python2.5/site-packages/django/template/__init__.py" in resolve_variable<br/>
690
691 &nbsp;&nbsp;707. current = force_unicode(current)<br/>
692
693
694 File "/usr/lib/python2.5/site-packages/django/utils/encoding.py" in force_unicode<br/>
695
696 &nbsp;&nbsp;38. s = unicode(s)<br/>
697
698<br/>
699&nbsp;&nbsp;TypeError at /databrowse/<br/>
700&nbsp;&nbsp;coercing to Unicode: need string or buffer, __proxy__ found</code>
701 </td>
702 </tr>
703 </tbody>
704 </table>
705 </div>
706</div>
707
708<div id="requestinfo">
709 <h2>Request information</h2>
710
711 <h3 id="get-info">GET</h3>
712
713 <p>No GET data</p>
714
715
716 <h3 id="post-info">POST</h3>
717
718 <p>No POST data</p>
719
720
721 <h3 id="cookie-info">COOKIES</h3>
722
723 <table class="req">
724 <thead>
725 <tr>
726 <th>Variable</th>
727 <th>Value</th>
728 </tr>
729 </thead>
730 <tbody>
731
732 <tr>
733 <td>sessionid</td>
734 <td class="code"><div>u&#39;b02915429e7bf72557563a6f631475b2&#39;</div></td>
735 </tr>
736
737 </tbody>
738 </table>
739
740
741 <h3 id="meta-info">META</h3>
742 <table class="req">
743 <thead>
744 <tr>
745 <th>Variable</th>
746 <th>Value</th>
747 </tr>
748 </thead>
749 <tbody>
750
751 <tr>
752 <td>AUTH_TYPE</td>
753 <td class="code"><div>None</div></td>
754 </tr>
755
756 <tr>
757 <td>CONTENT_LENGTH</td>
758 <td class="code"><div>0L</div></td>
759 </tr>
760
761 <tr>
762 <td>CONTENT_TYPE</td>
763 <td class="code"><div>None</div></td>
764 </tr>
765
766 <tr>
767 <td>GATEWAY_INTERFACE</td>
768 <td class="code"><div>u&#39;CGI/1.1&#39;</div></td>
769 </tr>
770
771 <tr>
772 <td>HTTP_ACCEPT</td>
773 <td class="code"><div>u&#39;text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5&#39;</div></td>
774 </tr>
775
776 <tr>
777 <td>HTTP_ACCEPT_CHARSET</td>
778 <td class="code"><div>u&#39;ISO-8859-1,utf-8;q=0.7,*;q=0.7&#39;</div></td>
779 </tr>
780
781 <tr>
782 <td>HTTP_ACCEPT_ENCODING</td>
783 <td class="code"><div>u&#39;gzip,deflate&#39;</div></td>
784 </tr>
785
786 <tr>
787 <td>HTTP_ACCEPT_LANGUAGE</td>
788 <td class="code"><div>u&#39;en-us,en;q=0.5&#39;</div></td>
789 </tr>
790
791 <tr>
792 <td>HTTP_COOKIE</td>
793 <td class="code"><div>u&#39;sessionid=b02915429e7bf72557563a6f631475b2&#39;</div></td>
794 </tr>
795
796 <tr>
797 <td>HTTP_HOST</td>
798 <td class="code"><div>u&#39;bitprophet.dyndns.org:8080&#39;</div></td>
799 </tr>
800
801 <tr>
802 <td>HTTP_MAX_FORWARDS</td>
803 <td class="code"><div>u&#39;10&#39;</div></td>
804 </tr>
805
806 <tr>
807 <td>HTTP_USER_AGENT</td>
808 <td class="code"><div>u&#39;Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4&#39;</div></td>
809 </tr>
810
811 <tr>
812 <td>HTTP_VIA</td>
813 <td class="code"><div>u&#39;1.1 dev.bitprophet.org&#39;</div></td>
814 </tr>
815
816 <tr>
817 <td>HTTP_X_FORWARDED_FOR</td>
818 <td class="code"><div>u&#39;71.172.177.98&#39;</div></td>
819 </tr>
820
821 <tr>
822 <td>HTTP_X_FORWARDED_HOST</td>
823 <td class="code"><div>u&#39;dev.bitprophet.org&#39;</div></td>
824 </tr>
825
826 <tr>
827 <td>HTTP_X_FORWARDED_SERVER</td>
828 <td class="code"><div>u&#39;dev.bitprophet.org&#39;</div></td>
829 </tr>
830
831 <tr>
832 <td>PATH_INFO</td>
833 <td class="code"><div>u&#39;/&#39;</div></td>
834 </tr>
835
836 <tr>
837 <td>PATH_TRANSLATED</td>
838 <td class="code"><div>None</div></td>
839 </tr>
840
841 <tr>
842 <td>QUERY_STRING</td>
843 <td class="code"><div>None</div></td>
844 </tr>
845
846 <tr>
847 <td>REMOTE_ADDR</td>
848 <td class="code"><div>u&#39;207.210.242.136&#39;</div></td>
849 </tr>
850
851 <tr>
852 <td>REMOTE_HOST</td>
853 <td class="code"><div>None</div></td>
854 </tr>
855
856 <tr>
857 <td>REMOTE_IDENT</td>
858 <td class="code"><div>None</div></td>
859 </tr>
860
861 <tr>
862 <td>REMOTE_USER</td>
863 <td class="code"><div>None</div></td>
864 </tr>
865
866 <tr>
867 <td>REQUEST_METHOD</td>
868 <td class="code"><div>u&#39;GET&#39;</div></td>
869 </tr>
870
871 <tr>
872 <td>SCRIPT_NAME</td>
873 <td class="code"><div>None</div></td>
874 </tr>
875
876 <tr>
877 <td>SERVER_NAME</td>
878 <td class="code"><div>u&#39;dev.bitprophet.org&#39;</div></td>
879 </tr>
880
881 <tr>
882 <td>SERVER_PORT</td>
883 <td class="code"><div>0</div></td>
884 </tr>
885
886 <tr>
887 <td>SERVER_PROTOCOL</td>
888 <td class="code"><div>u&#39;HTTP/1.1&#39;</div></td>
889 </tr>
890
891 <tr>
892 <td>SERVER_SOFTWARE</td>
893 <td class="code"><div>u&#39;mod_python&#39;</div></td>
894 </tr>
895
896 </tbody>
897 </table>
898
899 <h3 id="settings-info">Settings</h3>
900 <h4>Using settings module <code>bitprophet.settings</code></h4>
901 <table class="req">
902 <thead>
903 <tr>
904 <th>Setting</th>
905 <th>Value</th>
906 </tr>
907 </thead>
908 <tbody>
909
910 <tr>
911 <td>ABSOLUTE_URL_OVERRIDES</td>
912 <td class="code"><div>{}</div></td>
913 </tr>
914
915 <tr>
916 <td>ADMINS</td>
917 <td class="code"><div>((&#39;Jeff Forcier&#39;, &#39;jeff@bitprophet.org&#39;),)</div></td>
918 </tr>
919
920 <tr>
921 <td>ADMIN_FOR</td>
922 <td class="code"><div>()</div></td>
923 </tr>
924
925 <tr>
926 <td>ADMIN_MEDIA_PREFIX</td>
927 <td class="code"><div>u&#39;/media/admin/&#39;</div></td>
928 </tr>
929
930 <tr>
931 <td>ALLOWED_INCLUDE_ROOTS</td>
932 <td class="code"><div>()</div></td>
933 </tr>
934
935 <tr>
936 <td>APPEND_SLASH</td>
937 <td class="code"><div>True</div></td>
938 </tr>
939
940 <tr>
941 <td>AUTHENTICATION_BACKENDS</td>
942 <td class="code"><div>(&#39;django.contrib.auth.backends.ModelBackend&#39;,)</div></td>
943 </tr>
944
945 <tr>
946 <td>BANNED_IPS</td>
947 <td class="code"><div>()</div></td>
948 </tr>
949
950 <tr>
951 <td>CACHE_BACKEND</td>
952 <td class="code"><div>u&#39;simple://&#39;</div></td>
953 </tr>
954
955 <tr>
956 <td>CACHE_MIDDLEWARE_KEY_PREFIX</td>
957 <td class="code"><div>u&#39;&#39;</div></td>
958 </tr>
959
960 <tr>
961 <td>CACHE_MIDDLEWARE_SECONDS</td>
962 <td class="code"><div>600</div></td>
963 </tr>
964
965 <tr>
966 <td>COMMENTS_ALLOW_PROFANITIES</td>
967 <td class="code"><div>False</div></td>
968 </tr>
969
970 <tr>
971 <td>COMMENTS_BANNED_USERS_GROUP</td>
972 <td class="code"><div>None</div></td>
973 </tr>
974
975 <tr>
976 <td>COMMENTS_FIRST_FEW</td>
977 <td class="code"><div>0</div></td>
978 </tr>
979
980 <tr>
981 <td>COMMENTS_MODERATORS_GROUP</td>
982 <td class="code"><div>None</div></td>
983 </tr>
984
985 <tr>
986 <td>COMMENTS_SKETCHY_USERS_GROUP</td>
987 <td class="code"><div>None</div></td>
988 </tr>
989
990 <tr>
991 <td>DATABASE_ENGINE</td>
992 <td class="code"><div>u&#39;postgresql_psycopg2&#39;</div></td>
993 </tr>
994
995 <tr>
996 <td>DATABASE_HOST</td>
997 <td class="code"><div>u&#39;&#39;</div></td>
998 </tr>
999
1000 <tr>
1001 <td>DATABASE_NAME</td>
1002 <td class="code"><div>u&#39;bitprophet&#39;</div></td>
1003 </tr>
1004
1005 <tr>
1006 <td>DATABASE_OPTIONS</td>
1007 <td class="code"><div>{}</div></td>
1008 </tr>
1009
1010 <tr>
1011 <td>DATABASE_PASSWORD</td>
1012 <td class="code"><div>u&#39;********************&#39;</div></td>
1013 </tr>
1014
1015 <tr>
1016 <td>DATABASE_PORT</td>
1017 <td class="code"><div>u&#39;&#39;</div></td>
1018 </tr>
1019
1020 <tr>
1021 <td>DATABASE_USER</td>
1022 <td class="code"><div>u&#39;bitprophet&#39;</div></td>
1023 </tr>
1024
1025 <tr>
1026 <td>DATETIME_FORMAT</td>
1027 <td class="code"><div>u&#39;N j, Y, P&#39;</div></td>
1028 </tr>
1029
1030 <tr>
1031 <td>DATE_FORMAT</td>
1032 <td class="code"><div>u&#39;N j, Y&#39;</div></td>
1033 </tr>
1034
1035 <tr>
1036 <td>DEBUG</td>
1037 <td class="code"><div>True</div></td>
1038 </tr>
1039
1040 <tr>
1041 <td>DEFAULT_CHARSET</td>
1042 <td class="code"><div>u&#39;utf-8&#39;</div></td>
1043 </tr>
1044
1045 <tr>
1046 <td>DEFAULT_CONTENT_TYPE</td>
1047 <td class="code"><div>u&#39;text/html&#39;</div></td>
1048 </tr>
1049
1050 <tr>
1051 <td>DEFAULT_FROM_EMAIL</td>
1052 <td class="code"><div>u&#39;webmaster@localhost&#39;</div></td>
1053 </tr>
1054
1055 <tr>
1056 <td>DISALLOWED_USER_AGENTS</td>
1057 <td class="code"><div>()</div></td>
1058 </tr>
1059
1060 <tr>
1061 <td>EMAIL_HOST</td>
1062 <td class="code"><div>u&#39;localhost&#39;</div></td>
1063 </tr>
1064
1065 <tr>
1066 <td>EMAIL_HOST_PASSWORD</td>
1067 <td class="code"><div>u&#39;********************&#39;</div></td>
1068 </tr>
1069
1070 <tr>
1071 <td>EMAIL_HOST_USER</td>
1072 <td class="code"><div>u&#39;&#39;</div></td>
1073 </tr>
1074
1075 <tr>
1076 <td>EMAIL_PORT</td>
1077 <td class="code"><div>25</div></td>
1078 </tr>
1079
1080 <tr>
1081 <td>EMAIL_SUBJECT_PREFIX</td>
1082 <td class="code"><div>u&#39;[Django] &#39;</div></td>
1083 </tr>
1084
1085 <tr>
1086 <td>EMAIL_USE_TLS</td>
1087 <td class="code"><div>False</div></td>
1088 </tr>
1089
1090 <tr>
1091 <td>FILE_CHARSET</td>
1092 <td class="code"><div>u&#39;utf-8&#39;</div></td>
1093 </tr>
1094
1095 <tr>
1096 <td>FIXTURE_DIRS</td>
1097 <td class="code"><div>()</div></td>
1098 </tr>
1099
1100 <tr>
1101 <td>IGNORABLE_404_ENDS</td>
1102 <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>
1103 </tr>
1104
1105 <tr>
1106 <td>IGNORABLE_404_STARTS</td>
1107 <td class="code"><div>(&#39;/cgi-bin/&#39;, &#39;/_vti_bin&#39;, &#39;/_vti_inf&#39;)</div></td>
1108 </tr>
1109
1110 <tr>
1111 <td>INSTALLED_APPS</td>
1112 <td class="code"><div>[&#39;django.contrib.auth&#39;,
1113 &#39;django.contrib.contenttypes&#39;,
1114 &#39;django.contrib.sessions&#39;,
1115 &#39;django.contrib.sites&#39;,
1116 &#39;django.contrib.admin&#39;,
1117 &#39;django.contrib.databrowse&#39;,
1118 &#39;bitprophet.base&#39;,
1119 &#39;bitprophet.todo&#39;,
1120 &#39;bitprophet.jobs&#39;]</div></td>
1121 </tr>
1122
1123 <tr>
1124 <td>INTERNAL_IPS</td>
1125 <td class="code"><div>()</div></td>
1126 </tr>
1127
1128 <tr>
1129 <td>JING_PATH</td>
1130 <td class="code"><div>u&#39;/usr/bin/jing&#39;</div></td>
1131 </tr>
1132
1133 <tr>
1134 <td>LANGUAGES</td>
1135 <td class="code"><div>((&#39;ar&#39;, &#39;Arabic&#39;),
1136 (&#39;bn&#39;, &#39;Bengali&#39;),
1137 (&#39;bg&#39;, &#39;Bulgarian&#39;),
1138 (&#39;ca&#39;, &#39;Catalan&#39;),
1139 (&#39;cs&#39;, &#39;Czech&#39;),
1140 (&#39;cy&#39;, &#39;Welsh&#39;),
1141 (&#39;da&#39;, &#39;Danish&#39;),
1142 (&#39;de&#39;, &#39;German&#39;),
1143 (&#39;el&#39;, &#39;Greek&#39;),
1144 (&#39;en&#39;, &#39;English&#39;),
1145 (&#39;es&#39;, &#39;Spanish&#39;),
1146 (&#39;es_AR&#39;, &#39;Argentinean Spanish&#39;),
1147 (&#39;fa&#39;, &#39;Persian&#39;),
1148 (&#39;fi&#39;, &#39;Finnish&#39;),
1149 (&#39;fr&#39;, &#39;French&#39;),
1150 (&#39;gl&#39;, &#39;Galician&#39;),
1151 (&#39;hu&#39;, &#39;Hungarian&#39;),
1152 (&#39;he&#39;, &#39;Hebrew&#39;),
1153 (&#39;is&#39;, &#39;Icelandic&#39;),
1154 (&#39;it&#39;, &#39;Italian&#39;),
1155 (&#39;ja&#39;, &#39;Japanese&#39;),
1156 (&#39;ko&#39;, &#39;Korean&#39;),
1157 (&#39;kn&#39;, &#39;Kannada&#39;),
1158 (&#39;lv&#39;, &#39;Latvian&#39;),
1159 (&#39;mk&#39;, &#39;Macedonian&#39;),
1160 (&#39;nl&#39;, &#39;Dutch&#39;),
1161 (&#39;no&#39;, &#39;Norwegian&#39;),
1162 (&#39;pl&#39;, &#39;Polish&#39;),
1163 (&#39;pt&#39;, &#39;Portugese&#39;),
1164 (&#39;pt-br&#39;, &#39;Brazilian&#39;),
1165 (&#39;ro&#39;, &#39;Romanian&#39;),
1166 (&#39;ru&#39;, &#39;Russian&#39;),
1167 (&#39;sk&#39;, &#39;Slovak&#39;),
1168 (&#39;sl&#39;, &#39;Slovenian&#39;),
1169 (&#39;sr&#39;, &#39;Serbian&#39;),
1170 (&#39;sv&#39;, &#39;Swedish&#39;),
1171 (&#39;ta&#39;, &#39;Tamil&#39;),
1172 (&#39;te&#39;, &#39;Telugu&#39;),
1173 (&#39;tr&#39;, &#39;Turkish&#39;),
1174 (&#39;uk&#39;, &#39;Ukrainian&#39;),
1175 (&#39;zh-cn&#39;, &#39;Simplified Chinese&#39;),
1176 (&#39;zh-tw&#39;, &#39;Traditional Chinese&#39;))</div></td>
1177 </tr>
1178
1179 <tr>
1180 <td>LANGUAGES_BIDI</td>
1181 <td class="code"><div>(&#39;he&#39;, &#39;ar&#39;)</div></td>
1182 </tr>
1183
1184 <tr>
1185 <td>LANGUAGE_CODE</td>
1186 <td class="code"><div>u&#39;en-us&#39;</div></td>
1187 </tr>
1188
1189 <tr>
1190 <td>LOGIN_REDIRECT_URL</td>
1191 <td class="code"><div>u&#39;/accounts/profile/&#39;</div></td>
1192 </tr>
1193
1194 <tr>
1195 <td>LOGIN_URL</td>
1196 <td class="code"><div>u&#39;/login/&#39;</div></td>
1197 </tr>
1198
1199 <tr>
1200 <td>LOGOUT_URL</td>
1201 <td class="code"><div>u&#39;/accounts/logout/&#39;</div></td>
1202 </tr>
1203
1204 <tr>
1205 <td>MANAGERS</td>
1206 <td class="code"><div>((&#39;Jeff Forcier&#39;, &#39;jeff@bitprophet.org&#39;),)</div></td>
1207 </tr>
1208
1209 <tr>
1210 <td>MEDIA_ROOT</td>
1211 <td class="code"><div>u&#39;&#39;</div></td>
1212 </tr>
1213
1214 <tr>
1215 <td>MEDIA_URL</td>
1216 <td class="code"><div>u&#39;&#39;</div></td>
1217 </tr>
1218
1219 <tr>
1220 <td>MIDDLEWARE_CLASSES</td>
1221 <td class="code"><div>(&#39;django.middleware.common.CommonMiddleware&#39;,
1222 &#39;django.contrib.sessions.middleware.SessionMiddleware&#39;,
1223 &#39;django.contrib.auth.middleware.AuthenticationMiddleware&#39;,
1224 &#39;django.middleware.doc.XViewMiddleware&#39;,
1225 &#39;bitprophet.base.middleware.RequireLoginMiddleware&#39;)</div></td>
1226 </tr>
1227
1228 <tr>
1229 <td>MONTH_DAY_FORMAT</td>
1230 <td class="code"><div>u&#39;F j&#39;</div></td>
1231 </tr>
1232
1233 <tr>
1234 <td>PREPEND_WWW</td>
1235 <td class="code"><div>False</div></td>
1236 </tr>
1237
1238 <tr>
1239 <td>PROFANITIES_LIST</td>
1240 <td class="code"><div>u&#39;********************&#39;</div></td>
1241 </tr>
1242
1243 <tr>
1244 <td>ROOT_URLCONF</td>
1245 <td class="code"><div>u&#39;bitprophet.urls&#39;</div></td>
1246 </tr>
1247
1248 <tr>
1249 <td>SECRET_KEY</td>
1250 <td class="code"><div>u&#39;********************&#39;</div></td>
1251 </tr>
1252
1253 <tr>
1254 <td>SEND_BROKEN_LINK_EMAILS</td>
1255 <td class="code"><div>False</div></td>
1256 </tr>
1257
1258 <tr>
1259 <td>SERVER_EMAIL</td>
1260 <td class="code"><div>u&#39;root@localhost&#39;</div></td>
1261 </tr>
1262
1263 <tr>
1264 <td>SESSION_COOKIE_AGE</td>
1265 <td class="code"><div>1209600</div></td>
1266 </tr>
1267
1268 <tr>
1269 <td>SESSION_COOKIE_DOMAIN</td>
1270 <td class="code"><div>None</div></td>
1271 </tr>
1272
1273 <tr>
1274 <td>SESSION_COOKIE_NAME</td>
1275 <td class="code"><div>u&#39;sessionid&#39;</div></td>
1276 </tr>
1277
1278 <tr>
1279 <td>SESSION_COOKIE_SECURE</td>
1280 <td class="code"><div>False</div></td>
1281 </tr>
1282
1283 <tr>
1284 <td>SESSION_EXPIRE_AT_BROWSER_CLOSE</td>
1285 <td class="code"><div>False</div></td>
1286 </tr>
1287
1288 <tr>
1289 <td>SESSION_SAVE_EVERY_REQUEST</td>
1290 <td class="code"><div>False</div></td>
1291 </tr>
1292
1293 <tr>
1294 <td>SETTINGS_MODULE</td>
1295 <td class="code"><div>u&#39;bitprophet.settings&#39;</div></td>
1296 </tr>
1297
1298 <tr>
1299 <td>SITE_ID</td>
1300 <td class="code"><div>1</div></td>
1301 </tr>
1302
1303 <tr>
1304 <td>TEMPLATE_CONTEXT_PROCESSORS</td>
1305 <td class="code"><div>(&#39;django.core.context_processors.auth&#39;,
1306 &#39;django.core.context_processors.debug&#39;,
1307 &#39;django.core.context_processors.i18n&#39;,
1308 &#39;django.core.context_processors.media&#39;)</div></td>
1309 </tr>
1310
1311 <tr>
1312 <td>TEMPLATE_DEBUG</td>
1313 <td class="code"><div>True</div></td>
1314 </tr>
1315
1316 <tr>
1317 <td>TEMPLATE_DIRS</td>
1318 <td class="code"><div>(&#39;/usr/lib/python2.5/site-packages/bitprophet/templates/&#39;,)</div></td>
1319 </tr>
1320
1321 <tr>
1322 <td>TEMPLATE_LOADERS</td>
1323 <td class="code"><div>(&#39;django.template.loaders.filesystem.load_template_source&#39;,
1324 &#39;django.template.loaders.app_directories.load_template_source&#39;)</div></td>
1325 </tr>
1326
1327 <tr>
1328 <td>TEMPLATE_STRING_IF_INVALID</td>
1329 <td class="code"><div>u&#39;&#39;</div></td>
1330 </tr>
1331
1332 <tr>
1333 <td>TEST_DATABASE_CHARSET</td>
1334 <td class="code"><div>None</div></td>
1335 </tr>
1336
1337 <tr>
1338 <td>TEST_DATABASE_COLLATION</td>
1339 <td class="code"><div>None</div></td>
1340 </tr>
1341
1342 <tr>
1343 <td>TEST_DATABASE_NAME</td>
1344 <td class="code"><div>None</div></td>
1345 </tr>
1346
1347 <tr>
1348 <td>TEST_RUNNER</td>
1349 <td class="code"><div>u&#39;django.test.simple.run_tests&#39;</div></td>
1350 </tr>
1351
1352 <tr>
1353 <td>TIME_FORMAT</td>
1354 <td class="code"><div>u&#39;P&#39;</div></td>
1355 </tr>
1356
1357 <tr>
1358 <td>TIME_ZONE</td>
1359 <td class="code"><div>u&#39;America/New_York&#39;</div></td>
1360 </tr>
1361
1362 <tr>
1363 <td>TRANSACTIONS_MANAGED</td>
1364 <td class="code"><div>False</div></td>
1365 </tr>
1366
1367 <tr>
1368 <td>URL_VALIDATOR_USER_AGENT</td>
1369 <td class="code"><div>u&#39;Django/0.97-pre (http://www.djangoproject.com)&#39;</div></td>
1370 </tr>
1371
1372 <tr>
1373 <td>USE_ETAGS</td>
1374 <td class="code"><div>False</div></td>
1375 </tr>
1376
1377 <tr>
1378 <td>USE_I18N</td>
1379 <td class="code"><div>False</div></td>
1380 </tr>
1381
1382 <tr>
1383 <td>YEAR_MONTH_FORMAT</td>
1384 <td class="code"><div>u&#39;F Y&#39;</div></td>
1385 </tr>
1386
1387 </tbody>
1388 </table>
1389
1390</div>
1391
1392<div id="explanation">
1393 <p>
1394 You're seeing this error because you have <code>DEBUG = True</code> in your
1395 Django settings file. Change that to <code>False</code>, and Django will
1396 display a standard 500 page.
1397 </p>
1398</div>
1399
1400</body>
1401</html>
Back to Top