Ticket #913: AttributeError at _admin_lunchbox_restaurants_.htm

File AttributeError at _admin_lunchbox_restaurants_.htm, 53.5 KB (added by eugene@…, 19 years ago)
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<html lang="en"><head>
3
4
5
6 <meta http-equiv="content-type" content="text/html; charset=utf-8">
7 <meta name="robots" content="NONE,NOARCHIVE"><title>AttributeError at /admin/lunchbox/restaurants/</title>
8
9 <style type="text/css">
10 html * { padding:0; margin:0; }
11 body * { padding:10px 20px; }
12 body * * { padding:0; }
13 body { font:small sans-serif; }
14 body>div { border-bottom:1px solid #ddd; }
15 h1 { font-weight:normal; }
16 h2 { margin-bottom:.8em; }
17 h2 span { font-size:80%; color:#666; font-weight:normal; }
18 h3 { margin:1em 0 .5em 0; }
19 h4 { margin:0 0 .5em 0; font-weight: normal; }
20 table { border:1px solid #ccc; border-collapse: collapse; width:100%; background:white; }
21 tbody td, tbody th { vertical-align:top; padding:2px 3px; }
22 thead th { padding:1px 6px 1px 3px; background:#fefefe; text-align:left; font-weight:normal; font-size:11px; border:1px solid #ddd; }
23 tbody th { width:12em; text-align:right; color:#666; padding-right:.5em; }
24 table.vars { margin:5px 0 2px 40px; }
25 table.vars td, table.req td { font-family:monospace; }
26 table td.code { width:100%; }
27 table td.code div { overflow:hidden; }
28 table.source th { color:#666; }
29 table.source td { font-family:monospace; white-space:pre; border-bottom:1px solid #eee; }
30 ul.traceback { list-style-type:none; }
31 ul.traceback li.frame { margin-bottom:1em; }
32 div.context { margin: 10px 0; }
33 div.context ol { padding-left:30px; margin:0 10px; list-style-position: inside; }
34 div.context ol li { font-family:monospace; white-space:pre; color:#666; cursor:pointer; }
35 div.context ol.context-line li { color:black; background-color:#ccc; }
36 div.context ol.context-line li span { float: right; }
37 div.commands { margin-left: 40px; }
38 div.commands a { color:black; text-decoration:none; }
39 #summary { background: #ffc; }
40 #summary h2 { font-weight: normal; color: #666; }
41 #explanation { background:#eee; }
42 #template, #template-not-exist { background:#f6f6f6; }
43 #template-not-exist ul { margin: 0 0 0 20px; }
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 </style>
52 <script type="text/javascript">
53 //<!--
54 function getElementsByClassName(oElm, strTagName, strClassName){
55 // Written by Jonathan Snook, http://www.snook.ca/jon; Add-ons by Robert Nyman, http://www.robertnyman.com
56 var arrElements = (strTagName == "*" && document.all)? document.all :
57 oElm.getElementsByTagName(strTagName);
58 var arrReturnElements = new Array();
59 strClassName = strClassName.replace(/\-/g, "\-");
60 var oRegExp = new RegExp("(^|\s)" + strClassName + "(\s|$)");
61 var oElement;
62 for(var i=0; i<arrElements.length; i++){
63 oElement = arrElements[i];
64 if(oRegExp.test(oElement.className)){
65 arrReturnElements.push(oElement);
66 }
67 }
68 return (arrReturnElements)
69 }
70 function hideAll(elems) {
71 for (var e = 0; e < elems.length; e++) {
72 elems[e].style.display = 'none';
73 }
74 }
75 window.onload = function() {
76 hideAll(getElementsByClassName(document, 'table', 'vars'));
77 hideAll(getElementsByClassName(document, 'ol', 'pre-context'));
78 hideAll(getElementsByClassName(document, 'ol', 'post-context'));
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 //-->
98 </script></head><body>
99
100<div id="summary">
101 <h1>AttributeError at /admin/lunchbox/restaurants/</h1>
102 <h2>'NoneType' object has no attribute 'has_output'</h2>
103 <table class="meta">
104 <tbody><tr>
105 <th>Request Method:</th>
106 <td>GET</td>
107 </tr>
108 <tr>
109 <th>Request URL:</th>
110 <td>http://lazutkin.com/admin/lunchbox/restaurants/</td>
111 </tr>
112 <tr>
113 <th>Exception Type:</th>
114 <td>AttributeError</td>
115 </tr>
116 <tr>
117 <th>Exception Value:</th>
118 <td>'NoneType' object has no attribute 'has_output'</td>
119 </tr>
120 <tr>
121 <th>Exception Location:</th>
122 <td>/home/elazutkin/djsrc/django/contrib/admin/views/main.py in get_filters, line 75</td>
123 </tr>
124 </tbody></table>
125</div>
126
127
128<div id="traceback">
129 <h2>Traceback <span>(innermost last)</span></h2>
130 <ul class="traceback">
131
132 <li class="frame">
133 <code>/home/elazutkin/djsrc/django/core/handlers/base.py</code> in <code>get_response</code>
134
135
136 <div class="context" id="c1082018388">
137
138 <ol style="display: none;" start="66" class="pre-context" id="pre1082018388"><li onclick="toggle('pre1082018388', 'post1082018388')"> # Apply view middleware</li><li onclick="toggle('pre1082018388', 'post1082018388')"> for middleware_method in self._view_middleware:</li><li onclick="toggle('pre1082018388', 'post1082018388')"> response = middleware_method(request, callback, param_dict)</li><li onclick="toggle('pre1082018388', 'post1082018388')"> if response:</li><li onclick="toggle('pre1082018388', 'post1082018388')"> return response</li><li onclick="toggle('pre1082018388', 'post1082018388')"></li><li onclick="toggle('pre1082018388', 'post1082018388')"> try:</li></ol>
139
140 <ol start="73" class="context-line"><li onclick="toggle('pre1082018388', 'post1082018388')"> response = callback(request, **param_dict) <span>...</span></li></ol>
141
142 <ol style="display: none;" start="74" class="post-context" id="post1082018388"><li onclick="toggle('pre1082018388', 'post1082018388')"> except Exception, e:</li><li onclick="toggle('pre1082018388', 'post1082018388')"> # If the view raised an exception, run it through exception</li><li onclick="toggle('pre1082018388', 'post1082018388')"> # middleware, and if the exception middleware returns a</li><li onclick="toggle('pre1082018388', 'post1082018388')"> # response, use that. Otherwise, reraise the exception.</li><li onclick="toggle('pre1082018388', 'post1082018388')"> for middleware_method in self._exception_middleware:</li><li onclick="toggle('pre1082018388', 'post1082018388')"> response = middleware_method(request, e)</li></ol>
143
144 </div>
145
146
147
148 <div class="commands">
149 <a href="#" onclick="return varToggle(this, '1082018388')"><span></span> Local vars</a>
150 </div>
151 <table style="display: none;" class="vars" id="v1082018388">
152 <thead>
153 <tr>
154 <th>Variable</th>
155 <th>Value</th>
156 </tr>
157 </thead>
158 <tbody>
159
160 <tr>
161 <td>DEBUG</td>
162 <td class="code"><div>True</div></td>
163 </tr>
164
165 <tr>
166 <td>INTERNAL_IPS</td>
167 <td class="code"><div>()</div></td>
168 </tr>
169
170 <tr>
171 <td>ROOT_URLCONF</td>
172 <td class="code"><div>'home.urls'</div></td>
173 </tr>
174
175 <tr>
176 <td>callback</td>
177 <td class="code"><div>&lt;function _checklogin at 0x407de6f4&gt;</div></td>
178 </tr>
179
180 <tr>
181 <td>db</td>
182 <td class="code"><div>&lt;module 'django.core.db' from '/home/elazutkin/djsrc/django/core/db/__init__.pyc'&gt;</div></td>
183 </tr>
184
185 <tr>
186 <td>e</td>
187 <td class="code"><div>&lt;exceptions.AttributeError instance at 0x407ea04c&gt;</div></td>
188 </tr>
189
190 <tr>
191 <td>exceptions</td>
192 <td class="code"><div>&lt;module 'django.core.exceptions' from '/home/elazutkin/djsrc/django/core/exceptions.pyc'&gt;</div></td>
193 </tr>
194
195 <tr>
196 <td>mail_admins</td>
197 <td class="code"><div>&lt;function mail_admins at 0x4076b4c4&gt;</div></td>
198 </tr>
199
200 <tr>
201 <td>middleware_method</td>
202 <td class="code"><div>&lt;bound
203method CommonMiddleware.process_request of
204&lt;django.middleware.common.CommonMiddleware instance at
2050x4056c30c&gt;&gt;</div></td>
206 </tr>
207
208 <tr>
209 <td>param_dict</td>
210 <td class="code"><div>{'module_name': 'restaurants', 'app_label': 'lunchbox'}</div></td>
211 </tr>
212
213 <tr>
214 <td>path</td>
215 <td class="code"><div>'/admin/lunchbox/restaurants/'</div></td>
216 </tr>
217
218 <tr>
219 <td>request</td>
220 <td class="code"><div>&lt;DjangoRequest
221GET:{},
222POST:{},
223COOKIES:{'__utma':
224'199987251.2075077473.1132192348.1132948788.1132956530.51', '__utmb':
225'199987251', '__utmc': '199987251', '__utmz':
226'199987251.1132799165.42.4.utmccn=(organic)|utmcsr=google|utmctr=http://lazutkin.com/blog/|utmcmd=organic',
227'hotclub': '6e6822babf637fe3c6be306e8d4ce4bc', 'mmrepeat1011': 'true',
228'mmsession1011': '7443543', 'mmtmpsess1011': 'true'},
229META:{'DOCUMENT_ROOT': '/home/elazutkin/lazutkin.com',
230'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT':
231'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
232'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
233'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE':
234'en-us,en;q=0.5', 'HTTP_COOKIE':
235'hotclub=6e6822babf637fe3c6be306e8d4ce4bc; mmsession1011=7443543;
236mmrepeat1011=true;
237__utma=199987251.2075077473.1132192348.1132948788.1132956530.51;
238__utmz=199987251.1132799165.42.4.utmccn=(organic)|utmcsr=google|utmctr=http://lazutkin.com/blog/|utmcmd=organic;
239__utmc=199987251; mmtmpsess1011=true; __utmb=199987251', 'HTTP_HOST':
240'lazutkin.com', 'HTTP_REFERER': 'http://lazutkin.com/admin/',
241'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
242rv:1.8) Gecko/20051111 Firefox/1.5', 'HTTP_X_FORWARDED_FOR':
243'24.1.30.243', 'PATH': '/bin:/usr/bin:/sbin:/usr/sbin', 'PATH_INFO':
244'/admin/lunchbox/restaurants/', 'PATH_TRANSLATED':
245'/home/elazutkin/lazutkin.com/admin/lunchbox/restaurants/',
246'QUERY_STRING': '', 'REDIRECT_SCRIPT_URI':
247'http://lazutkin.com/admin/lunchbox/restaurants/',
248'REDIRECT_SCRIPT_URL': '/admin/lunchbox/restaurants/',
249'REDIRECT_STATUS': '200', 'REDIRECT_URL':
250'/admin/lunchbox/restaurants/', 'REMOTE_ADDR': '64.233.173.73',
251'REMOTE_PORT': '46399', 'REQUEST_METHOD': 'GET', 'REQUEST_URI':
252'/admin/lunchbox/restaurants/', 'SCRIPT_FILENAME':
253'/home/elazutkin/lazutkin.com/django.fcgi', 'SCRIPT_NAME':
254'/django.fcgi', 'SCRIPT_URI':
255'http://lazutkin.com/admin/lunchbox/restaurants/', 'SCRIPT_URL':
256'/admin/lunchbox/restaurants/', 'SERVER_ADDR': '64.111.108.128',
257'SERVER_ADMIN': 'webmaster@lazutkin.com', 'SERVER_NAME':
258'lazutkin.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1',
259'SERVER_SIGNATURE': '', 'SERVER_SOFTWARE': 'Apache/1.3.33 (Unix)
260DAV/1.0.3 mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a PHP/4.3.10
261mod_ssl/2.8.22 OpenSSL/0.9.7e', 'wsgi.errors': &lt;fcgi.OutputStream
262object at 0x4063f52c&gt;, 'wsgi.input': &lt;fcgi.InputStream object at
2630x4063f7ec&gt;, 'wsgi.multiprocess': True, 'wsgi.multithread': True,
264'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1,
2650)}&gt;</div></td>
266 </tr>
267
268 <tr>
269 <td>resolver</td>
270 <td class="code"><div>&lt;django.core.urlresolvers.RegexURLResolver object at 0x4045a6cc&gt;</div></td>
271 </tr>
272
273 <tr>
274 <td>response</td>
275 <td class="code"><div>None</div></td>
276 </tr>
277
278 <tr>
279 <td>self</td>
280 <td class="code"><div>&lt;django.core.handlers.wsgi.WSGIHandler instance at 0x40247cac&gt;</div></td>
281 </tr>
282
283 <tr>
284 <td>urlresolvers</td>
285 <td class="code"><div>&lt;module 'django.core.urlresolvers' from '/home/elazutkin/djsrc/django/core/urlresolvers.pyc'&gt;</div></td>
286 </tr>
287
288 </tbody>
289 </table>
290
291 </li>
292
293 <li class="frame">
294 <code>/home/elazutkin/djsrc/django/contrib/admin/views/decorators.py</code> in <code>_checklogin</code>
295
296
297 <div class="context" id="c1082018428">
298
299 <ol style="display: none;" start="41" class="pre-context" id="pre1082018428"><li onclick="toggle('pre1082018428', 'post1082018428')"> """</li><li onclick="toggle('pre1082018428', 'post1082018428')"> Decorator for views that checks that the user is logged in and is a staff</li><li onclick="toggle('pre1082018428', 'post1082018428')"> member, displaying the login page if necessary.</li><li onclick="toggle('pre1082018428', 'post1082018428')"> """</li><li onclick="toggle('pre1082018428', 'post1082018428')"> def _checklogin(request, *args, **kwargs):</li><li onclick="toggle('pre1082018428', 'post1082018428')"> if not request.user.is_anonymous() and request.user.is_staff:</li><li onclick="toggle('pre1082018428', 'post1082018428')"> # The user is valid. Continue to the admin page.</li></ol>
300
301 <ol start="48" class="context-line"><li onclick="toggle('pre1082018428', 'post1082018428')"> return view_func(request, *args, **kwargs) <span>...</span></li></ol>
302
303 <ol style="display: none;" start="49" class="post-context" id="post1082018428"><li onclick="toggle('pre1082018428', 'post1082018428')"></li><li onclick="toggle('pre1082018428', 'post1082018428')">
304assert hasattr(request, 'session'), "The Django admin requires session
305middleware to be installed. Edit your MIDDLEWARE_CLASSES setting to
306insert 'django.middleware.sessions.SessionMiddleware'."</li><li onclick="toggle('pre1082018428', 'post1082018428')"></li><li onclick="toggle('pre1082018428', 'post1082018428')"> # If this isn't already the login page, display it.</li><li onclick="toggle('pre1082018428', 'post1082018428')"> if not request.POST.has_key(LOGIN_FORM_KEY):</li><li onclick="toggle('pre1082018428', 'post1082018428')"> if request.POST:</li></ol>
307
308 </div>
309
310
311
312 <div class="commands">
313 <a href="#" onclick="return varToggle(this, '1082018428')"><span></span> Local vars</a>
314 </div>
315 <table style="display: none;" class="vars" id="v1082018428">
316 <thead>
317 <tr>
318 <th>Variable</th>
319 <th>Value</th>
320 </tr>
321 </thead>
322 <tbody>
323
324 <tr>
325 <td>args</td>
326 <td class="code"><div>()</div></td>
327 </tr>
328
329 <tr>
330 <td>kwargs</td>
331 <td class="code"><div>{'module_name': 'restaurants', 'app_label': 'lunchbox'}</div></td>
332 </tr>
333
334 <tr>
335 <td>request</td>
336 <td class="code"><div>&lt;DjangoRequest
337GET:{},
338POST:{},
339COOKIES:{'__utma':
340'199987251.2075077473.1132192348.1132948788.1132956530.51', '__utmb':
341'199987251', '__utmc': '199987251', '__utmz':
342'199987251.1132799165.42.4.utmccn=(organic)|utmcsr=google|utmctr=http://lazutkin.com/blog/|utmcmd=organic',
343'hotclub': '6e6822babf637fe3c6be306e8d4ce4bc', 'mmrepeat1011': 'true',
344'mmsession1011': '7443543', 'mmtmpsess1011': 'true'},
345META:{'DOCUMENT_ROOT': '/home/elazutkin/lazutkin.com',
346'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT':
347'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
348'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
349'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE':
350'en-us,en;q=0.5', 'HTTP_COOKIE':
351'hotclub=6e6822babf637fe3c6be306e8d4ce4bc; mmsession1011=7443543;
352mmrepeat1011=true;
353__utma=199987251.2075077473.1132192348.1132948788.1132956530.51;
354__utmz=199987251.1132799165.42.4.utmccn=(organic)|utmcsr=google|utmctr=http://lazutkin.com/blog/|utmcmd=organic;
355__utmc=199987251; mmtmpsess1011=true; __utmb=199987251', 'HTTP_HOST':
356'lazutkin.com', 'HTTP_REFERER': 'http://lazutkin.com/admin/',
357'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
358rv:1.8) Gecko/20051111 Firefox/1.5', 'HTTP_X_FORWARDED_FOR':
359'24.1.30.243', 'PATH': '/bin:/usr/bin:/sbin:/usr/sbin', 'PATH_INFO':
360'/admin/lunchbox/restaurants/', 'PATH_TRANSLATED':
361'/home/elazutkin/lazutkin.com/admin/lunchbox/restaurants/',
362'QUERY_STRING': '', 'REDIRECT_SCRIPT_URI':
363'http://lazutkin.com/admin/lunchbox/restaurants/',
364'REDIRECT_SCRIPT_URL': '/admin/lunchbox/restaurants/',
365'REDIRECT_STATUS': '200', 'REDIRECT_URL':
366'/admin/lunchbox/restaurants/', 'REMOTE_ADDR': '64.233.173.73',
367'REMOTE_PORT': '46399', 'REQUEST_METHOD': 'GET', 'REQUEST_URI':
368'/admin/lunchbox/restaurants/', 'SCRIPT_FILENAME':
369'/home/elazutkin/lazutkin.com/django.fcgi', 'SCRIPT_NAME':
370'/django.fcgi', 'SCRIPT_URI':
371'http://lazutkin.com/admin/lunchbox/restaurants/', 'SCRIPT_URL':
372'/admin/lunchbox/restaurants/', 'SERVER_ADDR': '64.111.108.128',
373'SERVER_ADMIN': 'webmaster@lazutkin.com', 'SERVER_NAME':
374'lazutkin.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1',
375'SERVER_SIGNATURE': '', 'SERVER_SOFTWARE': 'Apache/1.3.33 (Unix)
376DAV/1.0.3 mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a PHP/4.3.10
377mod_ssl/2.8.22 OpenSSL/0.9.7e', 'wsgi.errors': &lt;fcgi.OutputStream
378object at 0x4063f52c&gt;, 'wsgi.input': &lt;fcgi.InputStream object at
3790x4063f7ec&gt;, 'wsgi.multiprocess': True, 'wsgi.multithread': True,
380'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1,
3810)}&gt;</div></td>
382 </tr>
383
384 <tr>
385 <td>view_func</td>
386 <td class="code"><div>&lt;function change_list at 0x407de4c4&gt;</div></td>
387 </tr>
388
389 </tbody>
390 </table>
391
392 </li>
393
394 <li class="frame">
395 <code>/home/elazutkin/djsrc/django/contrib/admin/views/main.py</code> in <code>change_list</code>
396
397
398 <div class="context" id="c1082018348">
399
400 <ol style="display: none;" start="227" class="pre-context" id="pre1082018348"><li onclick="toggle('pre1082018348', 'post1082018348')"> if opts.one_to_one_field:</li><li onclick="toggle('pre1082018348', 'post1082018348')"> lookup_params.update(opts.one_to_one_field.rel.limit_choices_to)</li><li onclick="toggle('pre1082018348', 'post1082018348')"> self.lookup_params = lookup_params</li><li onclick="toggle('pre1082018348', 'post1082018348')"></li><li onclick="toggle('pre1082018348', 'post1082018348')"></li><li onclick="toggle('pre1082018348', 'post1082018348')">def change_list(request, app_label, module_name):</li><li onclick="toggle('pre1082018348', 'post1082018348')"> try:</li></ol>
401
402 <ol start="234" class="context-line"><li onclick="toggle('pre1082018348', 'post1082018348')"> cl = ChangeList(request, app_label, module_name) <span>...</span></li></ol>
403
404 <ol style="display: none;" start="235" class="post-context" id="post1082018348"><li onclick="toggle('pre1082018348', 'post1082018348')"> except IncorrectLookupParameters:</li><li onclick="toggle('pre1082018348', 'post1082018348')"> return HttpResponseRedirect(request.path)</li><li onclick="toggle('pre1082018348', 'post1082018348')"></li><li onclick="toggle('pre1082018348', 'post1082018348')"> c = Context(request, {</li><li onclick="toggle('pre1082018348', 'post1082018348')"> 'title': cl.title,</li><li onclick="toggle('pre1082018348', 'post1082018348')"> 'is_popup': cl.is_popup,</li></ol>
405
406 </div>
407
408
409
410 <div class="commands">
411 <a href="#" onclick="return varToggle(this, '1082018348')"><span></span> Local vars</a>
412 </div>
413 <table style="display: none;" class="vars" id="v1082018348">
414 <thead>
415 <tr>
416 <th>Variable</th>
417 <th>Value</th>
418 </tr>
419 </thead>
420 <tbody>
421
422 <tr>
423 <td>app_label</td>
424 <td class="code"><div>'lunchbox'</div></td>
425 </tr>
426
427 <tr>
428 <td>module_name</td>
429 <td class="code"><div>'restaurants'</div></td>
430 </tr>
431
432 <tr>
433 <td>request</td>
434 <td class="code"><div>&lt;DjangoRequest
435GET:{},
436POST:{},
437COOKIES:{'__utma':
438'199987251.2075077473.1132192348.1132948788.1132956530.51', '__utmb':
439'199987251', '__utmc': '199987251', '__utmz':
440'199987251.1132799165.42.4.utmccn=(organic)|utmcsr=google|utmctr=http://lazutkin.com/blog/|utmcmd=organic',
441'hotclub': '6e6822babf637fe3c6be306e8d4ce4bc', 'mmrepeat1011': 'true',
442'mmsession1011': '7443543', 'mmtmpsess1011': 'true'},
443META:{'DOCUMENT_ROOT': '/home/elazutkin/lazutkin.com',
444'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT':
445'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
446'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
447'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE':
448'en-us,en;q=0.5', 'HTTP_COOKIE':
449'hotclub=6e6822babf637fe3c6be306e8d4ce4bc; mmsession1011=7443543;
450mmrepeat1011=true;
451__utma=199987251.2075077473.1132192348.1132948788.1132956530.51;
452__utmz=199987251.1132799165.42.4.utmccn=(organic)|utmcsr=google|utmctr=http://lazutkin.com/blog/|utmcmd=organic;
453__utmc=199987251; mmtmpsess1011=true; __utmb=199987251', 'HTTP_HOST':
454'lazutkin.com', 'HTTP_REFERER': 'http://lazutkin.com/admin/',
455'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
456rv:1.8) Gecko/20051111 Firefox/1.5', 'HTTP_X_FORWARDED_FOR':
457'24.1.30.243', 'PATH': '/bin:/usr/bin:/sbin:/usr/sbin', 'PATH_INFO':
458'/admin/lunchbox/restaurants/', 'PATH_TRANSLATED':
459'/home/elazutkin/lazutkin.com/admin/lunchbox/restaurants/',
460'QUERY_STRING': '', 'REDIRECT_SCRIPT_URI':
461'http://lazutkin.com/admin/lunchbox/restaurants/',
462'REDIRECT_SCRIPT_URL': '/admin/lunchbox/restaurants/',
463'REDIRECT_STATUS': '200', 'REDIRECT_URL':
464'/admin/lunchbox/restaurants/', 'REMOTE_ADDR': '64.233.173.73',
465'REMOTE_PORT': '46399', 'REQUEST_METHOD': 'GET', 'REQUEST_URI':
466'/admin/lunchbox/restaurants/', 'SCRIPT_FILENAME':
467'/home/elazutkin/lazutkin.com/django.fcgi', 'SCRIPT_NAME':
468'/django.fcgi', 'SCRIPT_URI':
469'http://lazutkin.com/admin/lunchbox/restaurants/', 'SCRIPT_URL':
470'/admin/lunchbox/restaurants/', 'SERVER_ADDR': '64.111.108.128',
471'SERVER_ADMIN': 'webmaster@lazutkin.com', 'SERVER_NAME':
472'lazutkin.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1',
473'SERVER_SIGNATURE': '', 'SERVER_SOFTWARE': 'Apache/1.3.33 (Unix)
474DAV/1.0.3 mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a PHP/4.3.10
475mod_ssl/2.8.22 OpenSSL/0.9.7e', 'wsgi.errors': &lt;fcgi.OutputStream
476object at 0x4063f52c&gt;, 'wsgi.input': &lt;fcgi.InputStream object at
4770x4063f7ec&gt;, 'wsgi.multiprocess': True, 'wsgi.multithread': True,
478'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1,
4790)}&gt;</div></td>
480 </tr>
481
482 </tbody>
483 </table>
484
485 </li>
486
487 <li class="frame">
488 <code>/home/elazutkin/djsrc/django/contrib/admin/views/main.py</code> in <code>__init__</code>
489
490
491 <div class="context" id="c1081577100">
492
493 <ol style="display: none;" start="58" class="pre-context" id="pre1081577100"><li onclick="toggle('pre1081577100', 'post1081577100')"> self.get_ordering()</li><li onclick="toggle('pre1081577100', 'post1081577100')"> self.query = request.GET.get(SEARCH_VAR,'')</li><li onclick="toggle('pre1081577100', 'post1081577100')"> self.get_lookup_params()</li><li onclick="toggle('pre1081577100', 'post1081577100')"> self.get_results(request)</li><li onclick="toggle('pre1081577100', 'post1081577100')"> self.title = (self.is_popup</li><li onclick="toggle('pre1081577100', 'post1081577100')"> and _('Select %s') % self.opts.verbose_name</li><li onclick="toggle('pre1081577100', 'post1081577100')"> or _('Select %s to change') % self.opts.verbose_name)</li></ol>
494
495 <ol start="65" class="context-line"><li onclick="toggle('pre1081577100', 'post1081577100')"> self.get_filters(request) <span>...</span></li></ol>
496
497 <ol style="display: none;" start="66" class="post-context" id="post1081577100"><li onclick="toggle('pre1081577100', 'post1081577100')"> self.pk_attname = self.lookup_opts.pk.attname</li><li onclick="toggle('pre1081577100', 'post1081577100')"></li><li onclick="toggle('pre1081577100', 'post1081577100')"> def get_filters(self, request):</li><li onclick="toggle('pre1081577100', 'post1081577100')"> self.filter_specs = []</li><li onclick="toggle('pre1081577100', 'post1081577100')"> if self.lookup_opts.admin.list_filter and not self.opts.one_to_one_field:</li><li onclick="toggle('pre1081577100', 'post1081577100')"> filter_fields = [self.lookup_opts.get_field(field_name) \</li></ol>
498
499 </div>
500
501
502
503 <div class="commands">
504 <a href="#" onclick="return varToggle(this, '1081577100')"><span></span> Local vars</a>
505 </div>
506 <table style="display: none;" class="vars" id="v1081577100">
507 <thead>
508 <tr>
509 <th>Variable</th>
510 <th>Value</th>
511 </tr>
512 </thead>
513 <tbody>
514
515 <tr>
516 <td>app_label</td>
517 <td class="code"><div>'lunchbox'</div></td>
518 </tr>
519
520 <tr>
521 <td>module_name</td>
522 <td class="code"><div>'restaurants'</div></td>
523 </tr>
524
525 <tr>
526 <td>request</td>
527 <td class="code"><div>&lt;DjangoRequest
528GET:{},
529POST:{},
530COOKIES:{'__utma':
531'199987251.2075077473.1132192348.1132948788.1132956530.51', '__utmb':
532'199987251', '__utmc': '199987251', '__utmz':
533'199987251.1132799165.42.4.utmccn=(organic)|utmcsr=google|utmctr=http://lazutkin.com/blog/|utmcmd=organic',
534'hotclub': '6e6822babf637fe3c6be306e8d4ce4bc', 'mmrepeat1011': 'true',
535'mmsession1011': '7443543', 'mmtmpsess1011': 'true'},
536META:{'DOCUMENT_ROOT': '/home/elazutkin/lazutkin.com',
537'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT':
538'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
539'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
540'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE':
541'en-us,en;q=0.5', 'HTTP_COOKIE':
542'hotclub=6e6822babf637fe3c6be306e8d4ce4bc; mmsession1011=7443543;
543mmrepeat1011=true;
544__utma=199987251.2075077473.1132192348.1132948788.1132956530.51;
545__utmz=199987251.1132799165.42.4.utmccn=(organic)|utmcsr=google|utmctr=http://lazutkin.com/blog/|utmcmd=organic;
546__utmc=199987251; mmtmpsess1011=true; __utmb=199987251', 'HTTP_HOST':
547'lazutkin.com', 'HTTP_REFERER': 'http://lazutkin.com/admin/',
548'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
549rv:1.8) Gecko/20051111 Firefox/1.5', 'HTTP_X_FORWARDED_FOR':
550'24.1.30.243', 'PATH': '/bin:/usr/bin:/sbin:/usr/sbin', 'PATH_INFO':
551'/admin/lunchbox/restaurants/', 'PATH_TRANSLATED':
552'/home/elazutkin/lazutkin.com/admin/lunchbox/restaurants/',
553'QUERY_STRING': '', 'REDIRECT_SCRIPT_URI':
554'http://lazutkin.com/admin/lunchbox/restaurants/',
555'REDIRECT_SCRIPT_URL': '/admin/lunchbox/restaurants/',
556'REDIRECT_STATUS': '200', 'REDIRECT_URL':
557'/admin/lunchbox/restaurants/', 'REMOTE_ADDR': '64.233.173.73',
558'REMOTE_PORT': '46399', 'REQUEST_METHOD': 'GET', 'REQUEST_URI':
559'/admin/lunchbox/restaurants/', 'SCRIPT_FILENAME':
560'/home/elazutkin/lazutkin.com/django.fcgi', 'SCRIPT_NAME':
561'/django.fcgi', 'SCRIPT_URI':
562'http://lazutkin.com/admin/lunchbox/restaurants/', 'SCRIPT_URL':
563'/admin/lunchbox/restaurants/', 'SERVER_ADDR': '64.111.108.128',
564'SERVER_ADMIN': 'webmaster@lazutkin.com', 'SERVER_NAME':
565'lazutkin.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1',
566'SERVER_SIGNATURE': '', 'SERVER_SOFTWARE': 'Apache/1.3.33 (Unix)
567DAV/1.0.3 mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a PHP/4.3.10
568mod_ssl/2.8.22 OpenSSL/0.9.7e', 'wsgi.errors': &lt;fcgi.OutputStream
569object at 0x4063f52c&gt;, 'wsgi.input': &lt;fcgi.InputStream object at
5700x4063f7ec&gt;, 'wsgi.multiprocess': True, 'wsgi.multithread': True,
571'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1,
5720)}&gt;</div></td>
573 </tr>
574
575 <tr>
576 <td>self</td>
577 <td class="code"><div>&lt;django.contrib.admin.views.main.ChangeList object at 0x40777d4c&gt;</div></td>
578 </tr>
579
580 </tbody>
581 </table>
582
583 </li>
584
585 <li class="frame">
586 <code>/home/elazutkin/djsrc/django/contrib/admin/views/main.py</code> in <code>get_filters</code>
587
588
589 <div class="context" id="c1081575580">
590
591 <ol style="display: block;" start="68" class="pre-context" id="pre1081575580"><li onclick="toggle('pre1081575580', 'post1081575580')"> def get_filters(self, request):</li><li onclick="toggle('pre1081575580', 'post1081575580')"> self.filter_specs = []</li><li onclick="toggle('pre1081575580', 'post1081575580')"> if self.lookup_opts.admin.list_filter and not self.opts.one_to_one_field:</li><li onclick="toggle('pre1081575580', 'post1081575580')"> filter_fields = [self.lookup_opts.get_field(field_name) \</li><li onclick="toggle('pre1081575580', 'post1081575580')"> for field_name in self.lookup_opts.admin.list_filter]</li><li onclick="toggle('pre1081575580', 'post1081575580')"> for f in filter_fields:</li><li onclick="toggle('pre1081575580', 'post1081575580')"> spec = FilterSpec.create(f, request, self.params)</li></ol>
592
593 <ol start="75" class="context-line"><li onclick="toggle('pre1081575580', 'post1081575580')"> if spec.has_output(): <span>...</span></li></ol>
594
595 <ol style="display: block;" start="76" class="post-context" id="post1081575580"><li onclick="toggle('pre1081575580', 'post1081575580')"> self.filter_specs.append(spec)</li><li onclick="toggle('pre1081575580', 'post1081575580')"> self.has_filters = bool(self.filter_specs)</li><li onclick="toggle('pre1081575580', 'post1081575580')"></li><li onclick="toggle('pre1081575580', 'post1081575580')"> def get_query_string(self, new_params={}, remove=[]):</li><li onclick="toggle('pre1081575580', 'post1081575580')"> p = self.params.copy()</li><li onclick="toggle('pre1081575580', 'post1081575580')"> for r in remove:</li></ol>
596
597 </div>
598
599
600
601 <div class="commands">
602 <a href="#" onclick="return varToggle(this, '1081575580')"><span></span> Local vars</a>
603 </div>
604 <table style="display: none;" class="vars" id="v1081575580">
605 <thead>
606 <tr>
607 <th>Variable</th>
608 <th>Value</th>
609 </tr>
610 </thead>
611 <tbody>
612
613 <tr>
614 <td>f</td>
615 <td class="code"><div>&lt;django.core.meta.fields.CharField object at 0x406f816c&gt;</div></td>
616 </tr>
617
618 <tr>
619 <td>field_name</td>
620 <td class="code"><div>'zip'</div></td>
621 </tr>
622
623 <tr>
624 <td>filter_fields</td>
625 <td class="code"><div>[&lt;django.core.meta.fields.CharField object at 0x406f816c&gt;,
626 &lt;django.core.meta.fields.USStateField object at 0x406f81cc&gt;,
627 &lt;django.core.meta.fields.PositiveIntegerField object at 0x406f822c&gt;]</div></td>
628 </tr>
629
630 <tr>
631 <td>request</td>
632 <td class="code"><div>&lt;DjangoRequest
633GET:{},
634POST:{},
635COOKIES:{'__utma':
636'199987251.2075077473.1132192348.1132948788.1132956530.51', '__utmb':
637'199987251', '__utmc': '199987251', '__utmz':
638'199987251.1132799165.42.4.utmccn=(organic)|utmcsr=google|utmctr=http://lazutkin.com/blog/|utmcmd=organic',
639'hotclub': '6e6822babf637fe3c6be306e8d4ce4bc', 'mmrepeat1011': 'true',
640'mmsession1011': '7443543', 'mmtmpsess1011': 'true'},
641META:{'DOCUMENT_ROOT': '/home/elazutkin/lazutkin.com',
642'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT':
643'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
644'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
645'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE':
646'en-us,en;q=0.5', 'HTTP_COOKIE':
647'hotclub=6e6822babf637fe3c6be306e8d4ce4bc; mmsession1011=7443543;
648mmrepeat1011=true;
649__utma=199987251.2075077473.1132192348.1132948788.1132956530.51;
650__utmz=199987251.1132799165.42.4.utmccn=(organic)|utmcsr=google|utmctr=http://lazutkin.com/blog/|utmcmd=organic;
651__utmc=199987251; mmtmpsess1011=true; __utmb=199987251', 'HTTP_HOST':
652'lazutkin.com', 'HTTP_REFERER': 'http://lazutkin.com/admin/',
653'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
654rv:1.8) Gecko/20051111 Firefox/1.5', 'HTTP_X_FORWARDED_FOR':
655'24.1.30.243', 'PATH': '/bin:/usr/bin:/sbin:/usr/sbin', 'PATH_INFO':
656'/admin/lunchbox/restaurants/', 'PATH_TRANSLATED':
657'/home/elazutkin/lazutkin.com/admin/lunchbox/restaurants/',
658'QUERY_STRING': '', 'REDIRECT_SCRIPT_URI':
659'http://lazutkin.com/admin/lunchbox/restaurants/',
660'REDIRECT_SCRIPT_URL': '/admin/lunchbox/restaurants/',
661'REDIRECT_STATUS': '200', 'REDIRECT_URL':
662'/admin/lunchbox/restaurants/', 'REMOTE_ADDR': '64.233.173.73',
663'REMOTE_PORT': '46399', 'REQUEST_METHOD': 'GET', 'REQUEST_URI':
664'/admin/lunchbox/restaurants/', 'SCRIPT_FILENAME':
665'/home/elazutkin/lazutkin.com/django.fcgi', 'SCRIPT_NAME':
666'/django.fcgi', 'SCRIPT_URI':
667'http://lazutkin.com/admin/lunchbox/restaurants/', 'SCRIPT_URL':
668'/admin/lunchbox/restaurants/', 'SERVER_ADDR': '64.111.108.128',
669'SERVER_ADMIN': 'webmaster@lazutkin.com', 'SERVER_NAME':
670'lazutkin.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1',
671'SERVER_SIGNATURE': '', 'SERVER_SOFTWARE': 'Apache/1.3.33 (Unix)
672DAV/1.0.3 mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a PHP/4.3.10
673mod_ssl/2.8.22 OpenSSL/0.9.7e', 'wsgi.errors': &lt;fcgi.OutputStream
674object at 0x4063f52c&gt;, 'wsgi.input': &lt;fcgi.InputStream object at
6750x4063f7ec&gt;, 'wsgi.multiprocess': True, 'wsgi.multithread': True,
676'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1,
6770)}&gt;</div></td>
678 </tr>
679
680 <tr>
681 <td>self</td>
682 <td class="code"><div>&lt;django.contrib.admin.views.main.ChangeList object at 0x40777d4c&gt;</div></td>
683 </tr>
684
685 <tr>
686 <td>spec</td>
687 <td class="code"><div>None</div></td>
688 </tr>
689
690 </tbody>
691 </table>
692
693 </li>
694
695 </ul>
696</div>
697
698<div id="requestinfo">
699 <h2>Request information</h2>
700
701 <h3 id="get-info">GET</h3>
702
703 <p>No GET data</p>
704
705
706 <h3 id="post-info">POST</h3>
707
708 <p>No POST data</p>
709
710
711 <h3 id="cookie-info">COOKIES</h3>
712
713 <table class="req">
714 <thead>
715 <tr>
716 <th>Variable</th>
717 <th>Value</th>
718 </tr>
719 </thead>
720 <tbody>
721
722 <tr>
723 <td>__utmz</td>
724 <td class="code"><div>'199987251.1132799165.42.4.utmccn=(organic)|utmcsr=google|utmctr=http://lazutkin.com/blog/|utmcmd=organic'</div></td>
725 </tr>
726
727 <tr>
728 <td>__utmc</td>
729 <td class="code"><div>'199987251'</div></td>
730 </tr>
731
732 <tr>
733 <td>hotclub</td>
734 <td class="code"><div>'6e6822babf637fe3c6be306e8d4ce4bc'</div></td>
735 </tr>
736
737 <tr>
738 <td>mmsession1011</td>
739 <td class="code"><div>'7443543'</div></td>
740 </tr>
741
742 <tr>
743 <td>mmrepeat1011</td>
744 <td class="code"><div>'true'</div></td>
745 </tr>
746
747 <tr>
748 <td>__utma</td>
749 <td class="code"><div>'199987251.2075077473.1132192348.1132948788.1132956530.51'</div></td>
750 </tr>
751
752 <tr>
753 <td>__utmb</td>
754 <td class="code"><div>'199987251'</div></td>
755 </tr>
756
757 <tr>
758 <td>mmtmpsess1011</td>
759 <td class="code"><div>'true'</div></td>
760 </tr>
761
762 </tbody>
763 </table>
764
765
766 <h3 id="meta-info">META</h3>
767 <table class="req">
768 <thead>
769 <tr>
770 <th>Variable</th>
771 <th>Value</th>
772 </tr>
773 </thead>
774 <tbody>
775
776 <tr>
777 <td>DOCUMENT_ROOT</td>
778 <td class="code"><div>'/home/elazutkin/lazutkin.com'</div></td>
779 </tr>
780
781 <tr>
782 <td>GATEWAY_INTERFACE</td>
783 <td class="code"><div>'CGI/1.1'</div></td>
784 </tr>
785
786 <tr>
787 <td>HTTP_ACCEPT</td>
788 <td class="code"><div>'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5'</div></td>
789 </tr>
790
791 <tr>
792 <td>HTTP_ACCEPT_CHARSET</td>
793 <td class="code"><div>'ISO-8859-1,utf-8;q=0.7,*;q=0.7'</div></td>
794 </tr>
795
796 <tr>
797 <td>HTTP_ACCEPT_ENCODING</td>
798 <td class="code"><div>'gzip'</div></td>
799 </tr>
800
801 <tr>
802 <td>HTTP_ACCEPT_LANGUAGE</td>
803 <td class="code"><div>'en-us,en;q=0.5'</div></td>
804 </tr>
805
806 <tr>
807 <td>HTTP_COOKIE</td>
808 <td class="code"><div>'hotclub=6e6822babf637fe3c6be306e8d4ce4bc;
809mmsession1011=7443543; mmrepeat1011=true;
810__utma=199987251.2075077473.1132192348.1132948788.1132956530.51;
811__utmz=199987251.1132799165.42.4.utmccn=(organic)|utmcsr=google|utmctr=http://lazutkin.com/blog/|utmcmd=organic;
812__utmc=199987251; mmtmpsess1011=true; __utmb=199987251'</div></td>
813 </tr>
814
815 <tr>
816 <td>HTTP_HOST</td>
817 <td class="code"><div>'lazutkin.com'</div></td>
818 </tr>
819
820 <tr>
821 <td>HTTP_REFERER</td>
822 <td class="code"><div>'http://lazutkin.com/admin/'</div></td>
823 </tr>
824
825 <tr>
826 <td>HTTP_USER_AGENT</td>
827 <td class="code"><div>'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5'</div></td>
828 </tr>
829
830 <tr>
831 <td>HTTP_X_FORWARDED_FOR</td>
832 <td class="code"><div>'24.1.30.243'</div></td>
833 </tr>
834
835 <tr>
836 <td>PATH</td>
837 <td class="code"><div>'/bin:/usr/bin:/sbin:/usr/sbin'</div></td>
838 </tr>
839
840 <tr>
841 <td>PATH_INFO</td>
842 <td class="code"><div>'/admin/lunchbox/restaurants/'</div></td>
843 </tr>
844
845 <tr>
846 <td>PATH_TRANSLATED</td>
847 <td class="code"><div>'/home/elazutkin/lazutkin.com/admin/lunchbox/restaurants/'</div></td>
848 </tr>
849
850 <tr>
851 <td>QUERY_STRING</td>
852 <td class="code"><div>''</div></td>
853 </tr>
854
855 <tr>
856 <td>REDIRECT_SCRIPT_URI</td>
857 <td class="code"><div>'http://lazutkin.com/admin/lunchbox/restaurants/'</div></td>
858 </tr>
859
860 <tr>
861 <td>REDIRECT_SCRIPT_URL</td>
862 <td class="code"><div>'/admin/lunchbox/restaurants/'</div></td>
863 </tr>
864
865 <tr>
866 <td>REDIRECT_STATUS</td>
867 <td class="code"><div>'200'</div></td>
868 </tr>
869
870 <tr>
871 <td>REDIRECT_URL</td>
872 <td class="code"><div>'/admin/lunchbox/restaurants/'</div></td>
873 </tr>
874
875 <tr>
876 <td>REMOTE_ADDR</td>
877 <td class="code"><div>'64.233.173.73'</div></td>
878 </tr>
879
880 <tr>
881 <td>REMOTE_PORT</td>
882 <td class="code"><div>'46399'</div></td>
883 </tr>
884
885 <tr>
886 <td>REQUEST_METHOD</td>
887 <td class="code"><div>'GET'</div></td>
888 </tr>
889
890 <tr>
891 <td>REQUEST_URI</td>
892 <td class="code"><div>'/admin/lunchbox/restaurants/'</div></td>
893 </tr>
894
895 <tr>
896 <td>SCRIPT_FILENAME</td>
897 <td class="code"><div>'/home/elazutkin/lazutkin.com/django.fcgi'</div></td>
898 </tr>
899
900 <tr>
901 <td>SCRIPT_NAME</td>
902 <td class="code"><div>'/django.fcgi'</div></td>
903 </tr>
904
905 <tr>
906 <td>SCRIPT_URI</td>
907 <td class="code"><div>'http://lazutkin.com/admin/lunchbox/restaurants/'</div></td>
908 </tr>
909
910 <tr>
911 <td>SCRIPT_URL</td>
912 <td class="code"><div>'/admin/lunchbox/restaurants/'</div></td>
913 </tr>
914
915 <tr>
916 <td>SERVER_ADDR</td>
917 <td class="code"><div>'64.111.108.128'</div></td>
918 </tr>
919
920 <tr>
921 <td>SERVER_ADMIN</td>
922 <td class="code"><div>'webmaster@lazutkin.com'</div></td>
923 </tr>
924
925 <tr>
926 <td>SERVER_NAME</td>
927 <td class="code"><div>'lazutkin.com'</div></td>
928 </tr>
929
930 <tr>
931 <td>SERVER_PORT</td>
932 <td class="code"><div>'80'</div></td>
933 </tr>
934
935 <tr>
936 <td>SERVER_PROTOCOL</td>
937 <td class="code"><div>'HTTP/1.1'</div></td>
938 </tr>
939
940 <tr>
941 <td>SERVER_SIGNATURE</td>
942 <td class="code"><div>''</div></td>
943 </tr>
944
945 <tr>
946 <td>SERVER_SOFTWARE</td>
947 <td class="code"><div>'Apache/1.3.33 (Unix) DAV/1.0.3 mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a PHP/4.3.10 mod_ssl/2.8.22 OpenSSL/0.9.7e'</div></td>
948 </tr>
949
950 <tr>
951 <td>wsgi.errors</td>
952 <td class="code"><div>&lt;fcgi.OutputStream object at 0x4063f52c&gt;</div></td>
953 </tr>
954
955 <tr>
956 <td>wsgi.input</td>
957 <td class="code"><div>&lt;fcgi.InputStream object at 0x4063f7ec&gt;</div></td>
958 </tr>
959
960 <tr>
961 <td>wsgi.multiprocess</td>
962 <td class="code"><div>True</div></td>
963 </tr>
964
965 <tr>
966 <td>wsgi.multithread</td>
967 <td class="code"><div>True</div></td>
968 </tr>
969
970 <tr>
971 <td>wsgi.run_once</td>
972 <td class="code"><div>False</div></td>
973 </tr>
974
975 <tr>
976 <td>wsgi.url_scheme</td>
977 <td class="code"><div>'http'</div></td>
978 </tr>
979
980 <tr>
981 <td>wsgi.version</td>
982 <td class="code"><div>(1, 0)</div></td>
983 </tr>
984
985 </tbody>
986 </table>
987
988 <h3 id="settings-info">Settings</h3>
989 <h4>Using settings module <code>home.settings</code></h4>
990 <table class="req">
991 <thead>
992 <tr>
993 <th>Setting</th>
994 <th>Value</th>
995 </tr>
996 </thead>
997 <tbody>
998
999 <tr>
1000 <td>ABSOLUTE_URL_OVERRIDES</td>
1001 <td class="code"><div>{}</div></td>
1002 </tr>
1003
1004 <tr>
1005 <td>ADMINS</td>
1006 <td class="code"><div>(('Eugene Lazutkin', 'eugene@lazutkin.com'),)</div></td>
1007 </tr>
1008
1009 <tr>
1010 <td>ADMIN_FOR</td>
1011 <td class="code"><div>()</div></td>
1012 </tr>
1013
1014 <tr>
1015 <td>ADMIN_MEDIA_PREFIX</td>
1016 <td class="code"><div>'/media/'</div></td>
1017 </tr>
1018
1019 <tr>
1020 <td>ALLOWED_INCLUDE_ROOTS</td>
1021 <td class="code"><div>()</div></td>
1022 </tr>
1023
1024 <tr>
1025 <td>APPEND_SLASH</td>
1026 <td class="code"><div>True</div></td>
1027 </tr>
1028
1029 <tr>
1030 <td>BANNED_IPS</td>
1031 <td class="code"><div>()</div></td>
1032 </tr>
1033
1034 <tr>
1035 <td>CACHE_BACKEND</td>
1036 <td class="code"><div>'file:///tmp/django.cache/lazutkin.com/'</div></td>
1037 </tr>
1038
1039 <tr>
1040 <td>CACHE_MIDDLEWARE_KEY_PREFIX</td>
1041 <td class="code"><div>''</div></td>
1042 </tr>
1043
1044 <tr>
1045 <td>CACHE_MIDDLEWARE_SECONDS</td>
1046 <td class="code"><div>900</div></td>
1047 </tr>
1048
1049 <tr>
1050 <td>COMMENTS_ALLOW_PROFANITIES</td>
1051 <td class="code"><div>False</div></td>
1052 </tr>
1053
1054 <tr>
1055 <td>COMMENTS_BANNED_USERS_GROUP</td>
1056 <td class="code"><div>None</div></td>
1057 </tr>
1058
1059 <tr>
1060 <td>COMMENTS_FIRST_FEW</td>
1061 <td class="code"><div>0</div></td>
1062 </tr>
1063
1064 <tr>
1065 <td>COMMENTS_MODERATORS_GROUP</td>
1066 <td class="code"><div>None</div></td>
1067 </tr>
1068
1069 <tr>
1070 <td>COMMENTS_SKETCHY_USERS_GROUP</td>
1071 <td class="code"><div>None</div></td>
1072 </tr>
1073
1074 <tr>
1075 <td>DATABASE_ENGINE</td>
1076 <td class="code"><div>'mysql'</div></td>
1077 </tr>
1078
1079 <tr>
1080 <td>DATABASE_HOST</td>
1081 <td class="code"><div>'innodb.lazutkin.com'</div></td>
1082 </tr>
1083
1084 <tr>
1085 <td>DATABASE_NAME</td>
1086 <td class="code"><div>'lazutkin'</div></td>
1087 </tr>
1088
1089 <tr>
1090 <td>DATABASE_PASSWORD</td>
1091 <td class="code"><div>'********************'</div></td>
1092 </tr>
1093
1094 <tr>
1095 <td>DATABASE_PORT</td>
1096 <td class="code"><div>''</div></td>
1097 </tr>
1098
1099 <tr>
1100 <td>DATABASE_USER</td>
1101 <td class="code"><div>'dblazutkin'</div></td>
1102 </tr>
1103
1104 <tr>
1105 <td>DATETIME_FORMAT</td>
1106 <td class="code"><div>'N j, Y, P'</div></td>
1107 </tr>
1108
1109 <tr>
1110 <td>DATE_FORMAT</td>
1111 <td class="code"><div>'N j, Y'</div></td>
1112 </tr>
1113
1114 <tr>
1115 <td>DEBUG</td>
1116 <td class="code"><div>True</div></td>
1117 </tr>
1118
1119 <tr>
1120 <td>DEFAULT_CHARSET</td>
1121 <td class="code"><div>'utf-8'</div></td>
1122 </tr>
1123
1124 <tr>
1125 <td>DEFAULT_CONTENT_TYPE</td>
1126 <td class="code"><div>'text/html'</div></td>
1127 </tr>
1128
1129 <tr>
1130 <td>DEFAULT_FROM_EMAIL</td>
1131 <td class="code"><div>'webmaster@localhost'</div></td>
1132 </tr>
1133
1134 <tr>
1135 <td>DISALLOWED_USER_AGENTS</td>
1136 <td class="code"><div>()</div></td>
1137 </tr>
1138
1139 <tr>
1140 <td>EMAIL_HOST</td>
1141 <td class="code"><div>'localhost'</div></td>
1142 </tr>
1143
1144 <tr>
1145 <td>EMAIL_SUBJECT_PREFIX</td>
1146 <td class="code"><div>'[Django] '</div></td>
1147 </tr>
1148
1149 <tr>
1150 <td>ENVIRONMENT_VARIABLE</td>
1151 <td class="code"><div>'DJANGO_SETTINGS_MODULE'</div></td>
1152 </tr>
1153
1154 <tr>
1155 <td>IGNORABLE_404_ENDS</td>
1156 <td class="code"><div>('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php')</div></td>
1157 </tr>
1158
1159 <tr>
1160 <td>IGNORABLE_404_STARTS</td>
1161 <td class="code"><div>('/cgi-bin/', '/_vti_bin', '/_vti_inf')</div></td>
1162 </tr>
1163
1164 <tr>
1165 <td>INSTALLED_APPS</td>
1166 <td class="code"><div>['home.apps.portal',
1167 'home.apps.blog',
1168 'home.apps.lunchbox',
1169 'django.contrib.admin',
1170 'django.contrib.flatpages',
1171 'django.contrib.redirects']</div></td>
1172 </tr>
1173
1174 <tr>
1175 <td>INTERNAL_IPS</td>
1176 <td class="code"><div>()</div></td>
1177 </tr>
1178
1179 <tr>
1180 <td>JING_PATH</td>
1181 <td class="code"><div>'/usr/bin/jing'</div></td>
1182 </tr>
1183
1184 <tr>
1185 <td>LANGUAGES</td>
1186 <td class="code"><div>(('bn', 'Bengali'),
1187 ('cs', 'Czech'),
1188 ('cy', 'Welsh'),
1189 ('da', 'Danish'),
1190 ('de', 'German'),
1191 ('en', 'English'),
1192 ('es', 'Spanish'),
1193 ('fr', 'French'),
1194 ('gl', 'Galician'),
1195 ('is', 'Icelandic'),
1196 ('it', 'Italian'),
1197 ('no', 'Norwegian'),
1198 ('pt-br', 'Brazilian'),
1199 ('ro', 'Romanian'),
1200 ('ru', 'Russian'),
1201 ('sk', 'Slovak'),
1202 ('sr', 'Serbian'),
1203 ('sv', 'Swedish'),
1204 ('zh-cn', 'Simplified Chinese'))</div></td>
1205 </tr>
1206
1207 <tr>
1208 <td>LANGUAGE_CODE</td>
1209 <td class="code"><div>'en-us'</div></td>
1210 </tr>
1211
1212 <tr>
1213 <td>MANAGERS</td>
1214 <td class="code"><div>(('Eugene Lazutkin', 'eugene@lazutkin.com'),)</div></td>
1215 </tr>
1216
1217 <tr>
1218 <td>MEDIA_ROOT</td>
1219 <td class="code"><div>'/home/elazutkin/webuploads/'</div></td>
1220 </tr>
1221
1222 <tr>
1223 <td>MEDIA_URL</td>
1224 <td class="code"><div>'http://lazutkin.com/upload/'</div></td>
1225 </tr>
1226
1227 <tr>
1228 <td>MIDDLEWARE_CLASSES</td>
1229 <td class="code"><div>('django.middleware.cache.CacheMiddleware',
1230 'django.middleware.sessions.SessionMiddleware',
1231 'django.middleware.http.ConditionalGetMiddleware',
1232 'django.middleware.common.CommonMiddleware',
1233 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware',
1234 'django.contrib.redirects.middleware.RedirectFallbackMiddleware')</div></td>
1235 </tr>
1236
1237 <tr>
1238 <td>PREPEND_WWW</td>
1239 <td class="code"><div>False</div></td>
1240 </tr>
1241
1242 <tr>
1243 <td>ROOT_URLCONF</td>
1244 <td class="code"><div>'home.urls'</div></td>
1245 </tr>
1246
1247 <tr>
1248 <td>SECRET_KEY</td>
1249 <td class="code"><div>'********************'</div></td>
1250 </tr>
1251
1252 <tr>
1253 <td>SEND_BROKEN_LINK_EMAILS</td>
1254 <td class="code"><div>False</div></td>
1255 </tr>
1256
1257 <tr>
1258 <td>SERVER_EMAIL</td>
1259 <td class="code"><div>'root@localhost'</div></td>
1260 </tr>
1261
1262 <tr>
1263 <td>SESSION_COOKIE_AGE</td>
1264 <td class="code"><div>1209600</div></td>
1265 </tr>
1266
1267 <tr>
1268 <td>SESSION_COOKIE_DOMAIN</td>
1269 <td class="code"><div>None</div></td>
1270 </tr>
1271
1272 <tr>
1273 <td>SESSION_COOKIE_NAME</td>
1274 <td class="code"><div>'hotclub'</div></td>
1275 </tr>
1276
1277 <tr>
1278 <td>SESSION_SAVE_EVERY_REQUEST</td>
1279 <td class="code"><div>False</div></td>
1280 </tr>
1281
1282 <tr>
1283 <td>SETTINGS_MODULE</td>
1284 <td class="code"><div>'home.settings'</div></td>
1285 </tr>
1286
1287 <tr>
1288 <td>SITE_ID</td>
1289 <td class="code"><div>1</div></td>
1290 </tr>
1291
1292 <tr>
1293 <td>TEMPLATE_DEBUG</td>
1294 <td class="code"><div>False</div></td>
1295 </tr>
1296
1297 <tr>
1298 <td>TEMPLATE_DIRS</td>
1299 <td class="code"><div>('/home/elazutkin/djp/home/templates/',)</div></td>
1300 </tr>
1301
1302 <tr>
1303 <td>TEMPLATE_FILE_EXTENSION</td>
1304 <td class="code"><div>'.html'</div></td>
1305 </tr>
1306
1307 <tr>
1308 <td>TEMPLATE_LOADERS</td>
1309 <td class="code"><div>('django.core.template.loaders.filesystem.load_template_source',
1310 'django.core.template.loaders.app_directories.load_template_source')</div></td>
1311 </tr>
1312
1313 <tr>
1314 <td>TIME_FORMAT</td>
1315 <td class="code"><div>'P'</div></td>
1316 </tr>
1317
1318 <tr>
1319 <td>TIME_ZONE</td>
1320 <td class="code"><div>'America/Chicago'</div></td>
1321 </tr>
1322
1323 <tr>
1324 <td>USE_ETAGS</td>
1325 <td class="code"><div>False</div></td>
1326 </tr>
1327
1328 </tbody>
1329 </table>
1330
1331</div>
1332
1333<div id="explanation">
1334 <p>
1335 You're seeing this error because you have <code>DEBUG = True</code> in your
1336 Django settings file. Change that to <code>False</code>, and Django will
1337 display a standard 500 page.
1338 </p>
1339</div>
1340
1341
1342</body></html>
Back to Top