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 /polls/5/</title>
|
---|
8 | <style type="text/css">
|
---|
9 | html * { padding:0; margin:0; }
|
---|
10 | body * { padding:10px 20px; }
|
---|
11 | body * * { padding:0; }
|
---|
12 | body { font:small sans-serif; }
|
---|
13 | body>div { border-bottom:1px solid #ddd; }
|
---|
14 | h1 { font-weight:normal; }
|
---|
15 | h2 { margin-bottom:.8em; }
|
---|
16 | h2 span { font-size:80%; color:#666; font-weight:normal; }
|
---|
17 | h3 { margin:1em 0 .5em 0; }
|
---|
18 | h4 { margin:0 0 .5em 0; font-weight: normal; }
|
---|
19 | table { border:1px solid #ccc; border-collapse: collapse; width:100%; background:white; }
|
---|
20 | tbody td, tbody th { vertical-align:top; padding:2px 3px; }
|
---|
21 | thead th { padding:1px 6px 1px 3px; background:#fefefe; text-align:left; font-weight:normal; font-size:11px; border:1px solid #ddd; }
|
---|
22 | tbody th { width:12em; text-align:right; color:#666; padding-right:.5em; }
|
---|
23 | table.vars { margin:5px 0 2px 40px; }
|
---|
24 | table.vars td, table.req td { font-family:monospace; }
|
---|
25 | table td.code { width:100%; }
|
---|
26 | table td.code div { overflow:hidden; }
|
---|
27 | table.source th { color:#666; }
|
---|
28 | table.source td { font-family:monospace; white-space:pre; border-bottom:1px solid #eee; }
|
---|
29 | ul.traceback { list-style-type:none; }
|
---|
30 | ul.traceback li.frame { margin-bottom:1em; }
|
---|
31 | div.context { margin: 10px 0; }
|
---|
32 | div.context ol { padding-left:30px; margin:0 10px; list-style-position: inside; }
|
---|
33 | div.context ol li { font-family:monospace; white-space:pre; color:#666; cursor:pointer; }
|
---|
34 | div.context ol.context-line li { color:black; background-color:#ccc; }
|
---|
35 | div.context ol.context-line li span { float: right; }
|
---|
36 | div.commands { margin-left: 40px; }
|
---|
37 | div.commands a { color:black; text-decoration:none; }
|
---|
38 | #summary { background: #ffc; }
|
---|
39 | #summary h2 { font-weight: normal; color: #666; }
|
---|
40 | #explanation { background:#eee; }
|
---|
41 | #template, #template-not-exist { background:#f6f6f6; }
|
---|
42 | #template-not-exist ul { margin: 0 0 0 20px; }
|
---|
43 | #unicode-hint { background:#eee; }
|
---|
44 | #traceback { background:#eee; }
|
---|
45 | #requestinfo { background:#f6f6f6; padding-left:120px; }
|
---|
46 | #summary table { border:none; background:transparent; }
|
---|
47 | #requestinfo h2, #requestinfo h3 { position:relative; margin-left:-100px; }
|
---|
48 | #requestinfo h3 { margin-bottom:-1em; }
|
---|
49 | .error { background: #ffc; }
|
---|
50 | .specific { color:#cc3300; font-weight:bold; }
|
---|
51 | h2 span.commands { font-size:.7em;}
|
---|
52 | span.commands a:link {color:#5E5694;}
|
---|
53 | pre.exception_value { font-family: sans-serif; color: #666; font-size: 1.5em; margin: 10px 0 10px 0; }
|
---|
54 | </style>
|
---|
55 | <script type="text/javascript">
|
---|
56 | //<!--
|
---|
57 | function getElementsByClassName(oElm, strTagName, strClassName){
|
---|
58 | // Written by Jonathan Snook, http://www.snook.ca/jon; Add-ons by Robert Nyman, http://www.robertnyman.com
|
---|
59 | var arrElements = (strTagName == "*" && document.all)? document.all :
|
---|
60 | oElm.getElementsByTagName(strTagName);
|
---|
61 | var arrReturnElements = new Array();
|
---|
62 | strClassName = strClassName.replace(/\-/g, "\-");
|
---|
63 | var oRegExp = new RegExp("(^|\s)" + strClassName + "(\s|$)");
|
---|
64 | var oElement;
|
---|
65 | for(var i=0; i<arrElements.length; i++){
|
---|
66 | oElement = arrElements[i];
|
---|
67 | if(oRegExp.test(oElement.className)){
|
---|
68 | arrReturnElements.push(oElement);
|
---|
69 | }
|
---|
70 | }
|
---|
71 | return (arrReturnElements)
|
---|
72 | }
|
---|
73 | function hideAll(elems) {
|
---|
74 | for (var e = 0; e < elems.length; e++) {
|
---|
75 | elems[e].style.display = 'none';
|
---|
76 | }
|
---|
77 | }
|
---|
78 | window.onload = function() {
|
---|
79 | hideAll(getElementsByClassName(document, 'table', 'vars'));
|
---|
80 | hideAll(getElementsByClassName(document, 'ol', 'pre-context'));
|
---|
81 | hideAll(getElementsByClassName(document, 'ol', 'post-context'));
|
---|
82 | hideAll(getElementsByClassName(document, 'div', 'pastebin'));
|
---|
83 | }
|
---|
84 | function toggle() {
|
---|
85 | for (var i = 0; i < arguments.length; i++) {
|
---|
86 | var e = document.getElementById(arguments[i]);
|
---|
87 | if (e) {
|
---|
88 | e.style.display = e.style.display == 'none' ? 'block' : 'none';
|
---|
89 | }
|
---|
90 | }
|
---|
91 | return false;
|
---|
92 | }
|
---|
93 | function varToggle(link, id) {
|
---|
94 | toggle('v' + id);
|
---|
95 | var s = link.getElementsByTagName('span')[0];
|
---|
96 | var uarr = String.fromCharCode(0x25b6);
|
---|
97 | var darr = String.fromCharCode(0x25bc);
|
---|
98 | s.innerHTML = s.innerHTML == uarr ? darr : uarr;
|
---|
99 | return false;
|
---|
100 | }
|
---|
101 | function switchPastebinFriendly(link) {
|
---|
102 | s1 = "Switch to copy-and-paste view";
|
---|
103 | s2 = "Switch back to interactive view";
|
---|
104 | link.innerHTML = link.innerHTML == s1 ? s2 : s1;
|
---|
105 | toggle('browserTraceback', 'pastebinTraceback');
|
---|
106 | return false;
|
---|
107 | }
|
---|
108 | //-->
|
---|
109 | </script>
|
---|
110 | </head>
|
---|
111 | <body>
|
---|
112 | <div id="summary">
|
---|
113 | <h1>TypeError at /polls/5/</h1>
|
---|
114 | <pre class="exception_value">'str' object is not callable</pre>
|
---|
115 | <table class="meta">
|
---|
116 | <tr>
|
---|
117 | <th>Request Method:</th>
|
---|
118 | <td>GET</td>
|
---|
119 | </tr>
|
---|
120 | <tr>
|
---|
121 | <th>Request URL:</th>
|
---|
122 | <td>http://localhost:8000/polls/5/</td>
|
---|
123 | </tr>
|
---|
124 | <tr>
|
---|
125 | <th>Django Version:</th>
|
---|
126 | <td>1.2.3</td>
|
---|
127 | </tr>
|
---|
128 | <tr>
|
---|
129 | <th>Exception Type:</th>
|
---|
130 | <td>TypeError</td>
|
---|
131 | </tr>
|
---|
132 | <tr>
|
---|
133 | <th>Exception Value:</th>
|
---|
134 | <td><pre>'str' object is not callable</pre></td>
|
---|
135 | </tr>
|
---|
136 | <tr>
|
---|
137 | <th>Exception Location:</th>
|
---|
138 | <td>C:\Python26\lib\site-packages\django\core\handlers\base.py in get_response, line 100</td>
|
---|
139 | </tr>
|
---|
140 | <tr>
|
---|
141 | <th>Python Executable:</th>
|
---|
142 | <td>C:\Python26\python.exe</td>
|
---|
143 | </tr>
|
---|
144 | <tr>
|
---|
145 | <th>Python Version:</th>
|
---|
146 | <td>2.6.4</td>
|
---|
147 | </tr>
|
---|
148 | <tr>
|
---|
149 | <th>Python Path:</th>
|
---|
150 | <td>['C:\\Users\\srulix\\My Documents\\Aptana Studio 3 Workspace\\django_test\\src\\django_test', 'C:\\Users\\srulix\\My Documents\\Aptana Studio 3 Workspace\\django_test\\src', 'C:\\Python26', 'C:\\Python26\\DLLs', 'C:\\Python26\\lib', 'C:\\Python26\\lib\\lib-tk', 'C:\\Python26\\lib\\plat-win', 'C:\\Python26\\lib\\site-packages', 'C:\\Users\\srulix\\AppData\\Local\\Aptana Studio 3\\plugins\\org.python.pydev_1.6.3.2010100422\\PySrc', 'C:\\Windows\\system32\\python26.zip']</td>
|
---|
151 | </tr>
|
---|
152 | <tr>
|
---|
153 | <th>Server time:</th>
|
---|
154 | <td>Fri, 5 Nov 2010 13:46:26 +0200</td>
|
---|
155 | </tr>
|
---|
156 | </table>
|
---|
157 | </div>
|
---|
158 |
|
---|
159 |
|
---|
160 |
|
---|
161 | <div id="traceback">
|
---|
162 | <h2>Traceback <span class="commands"><a href="#" onclick="return switchPastebinFriendly(this);">Switch to copy-and-paste view</a></span></h2>
|
---|
163 |
|
---|
164 | <div id="browserTraceback">
|
---|
165 | <ul class="traceback">
|
---|
166 |
|
---|
167 | <li class="frame">
|
---|
168 | <code>C:\Python26\lib\site-packages\django\core\handlers\base.py</code> in <code>get_response</code>
|
---|
169 |
|
---|
170 |
|
---|
171 | <div class="context" id="c48761992">
|
---|
172 |
|
---|
173 | <ol start="93" class="pre-context" id="pre48761992"><li onclick="toggle('pre48761992', 'post48761992')"> # Apply view middleware</li><li onclick="toggle('pre48761992', 'post48761992')"> for middleware_method in self._view_middleware:</li><li onclick="toggle('pre48761992', 'post48761992')"> response = middleware_method(request, callback, callback_args, callback_kwargs)</li><li onclick="toggle('pre48761992', 'post48761992')"> if response:</li><li onclick="toggle('pre48761992', 'post48761992')"> return response</li><li onclick="toggle('pre48761992', 'post48761992')"></li><li onclick="toggle('pre48761992', 'post48761992')"> try:</li></ol>
|
---|
174 |
|
---|
175 | <ol start="100" class="context-line"><li onclick="toggle('pre48761992', 'post48761992')"> response = callback(request, *callback_args, **callback_kwargs) <span>...</span></li></ol>
|
---|
176 |
|
---|
177 | <ol start='101' class="post-context" id="post48761992"><li onclick="toggle('pre48761992', 'post48761992')"> except Exception, e:</li><li onclick="toggle('pre48761992', 'post48761992')"> # If the view raised an exception, run it through exception</li><li onclick="toggle('pre48761992', 'post48761992')"> # middleware, and if the exception middleware returns a</li><li onclick="toggle('pre48761992', 'post48761992')"> # response, use that. Otherwise, reraise the exception.</li><li onclick="toggle('pre48761992', 'post48761992')"> for middleware_method in self._exception_middleware:</li><li onclick="toggle('pre48761992', 'post48761992')"> response = middleware_method(request, e)</li></ol>
|
---|
178 |
|
---|
179 | </div>
|
---|
180 |
|
---|
181 |
|
---|
182 |
|
---|
183 | <div class="commands">
|
---|
184 | <a href="#" onclick="return varToggle(this, '48761992')"><span>▶</span> Local vars</a>
|
---|
185 | </div>
|
---|
186 | <table class="vars" id="v48761992">
|
---|
187 | <thead>
|
---|
188 | <tr>
|
---|
189 | <th>Variable</th>
|
---|
190 | <th>Value</th>
|
---|
191 | </tr>
|
---|
192 | </thead>
|
---|
193 | <tbody>
|
---|
194 |
|
---|
195 | <tr>
|
---|
196 | <td>callback</td>
|
---|
197 | <td class="code"><div>'detail'</div></td>
|
---|
198 | </tr>
|
---|
199 |
|
---|
200 | <tr>
|
---|
201 | <td>callback_args</td>
|
---|
202 | <td class="code"><div>()</div></td>
|
---|
203 | </tr>
|
---|
204 |
|
---|
205 | <tr>
|
---|
206 | <td>callback_kwargs</td>
|
---|
207 | <td class="code"><div>{'poll_id': u'5'}</div></td>
|
---|
208 | </tr>
|
---|
209 |
|
---|
210 | <tr>
|
---|
211 | <td>e</td>
|
---|
212 | <td class="code"><div>TypeError("'str' object is not callable",)</div></td>
|
---|
213 | </tr>
|
---|
214 |
|
---|
215 | <tr>
|
---|
216 | <td>exceptions</td>
|
---|
217 | <td class="code"><div><module 'django.core.exceptions' from 'C:\Python26\lib\site-packages\django\core\exceptions.pyc'></div></td>
|
---|
218 | </tr>
|
---|
219 |
|
---|
220 | <tr>
|
---|
221 | <td>middleware_method</td>
|
---|
222 | <td class="code"><div><bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x02DA4090>></div></td>
|
---|
223 | </tr>
|
---|
224 |
|
---|
225 | <tr>
|
---|
226 | <td>receivers</td>
|
---|
227 | <td class="code"><div>[(<function _rollback_on_exception at 0x028BFAB0>, None)]</div></td>
|
---|
228 | </tr>
|
---|
229 |
|
---|
230 | <tr>
|
---|
231 | <td>request</td>
|
---|
232 | <td class="code"><div><WSGIRequest
|
---|
233 | GET:<QueryDict: {}>,
|
---|
234 | POST:<QueryDict: {}>,
|
---|
235 | COOKIES:{'csrftoken': '8a060413d948335fefeecc500e7e74ea',
|
---|
236 | 'sessionid': 'b62efd26c86b7b495c284323c313bbae'},
|
---|
237 | META:{'ALLUSERSPROFILE': 'C:\\ProgramData',
|
---|
238 | 'APPDATA': 'C:\\Users\\srulix\\AppData\\Roaming',
|
---|
239 | 'ASL.LOG': 'Destination=file',
|
---|
240 | 'CLASSPATH': '.;C:\\Program Files (x86)\\Java\\jre6\\lib\\ext\\QTJava.zip',
|
---|
241 | 'COMMONPROGRAMFILES': 'C:\\Program Files (x86)\\Common Files',
|
---|
242 | 'COMMONPROGRAMFILES(X86)': 'C:\\Program Files (x86)\\Common Files',
|
---|
243 | 'COMMONPROGRAMW6432': 'C:\\Program Files\\Common Files',
|
---|
244 | 'COMPUTERNAME': 'FRYLOCK',
|
---|
245 | 'COMSPEC': 'C:\\Windows\\system32\\cmd.exe',
|
---|
246 | 'CONTENT_LENGTH': '',
|
---|
247 | 'CONTENT_TYPE': 'text/plain',
|
---|
248 | 'CSRF_COOKIE': '8a060413d948335fefeecc500e7e74ea',
|
---|
249 | 'DJANGO_SETTINGS_MODULE': 'django_test.settings',
|
---|
250 | 'FP_NO_HOST_CHECK': 'NO',
|
---|
251 | 'GATEWAY_INTERFACE': 'CGI/1.1',
|
---|
252 | 'HOMEDRIVE': 'C:',
|
---|
253 | 'HOMEPATH': '\\Users\\srulix',
|
---|
254 | 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
|
---|
255 | 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
|
---|
256 | 'HTTP_ACCEPT_ENCODING': 'gzip,deflate',
|
---|
257 | 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5',
|
---|
258 | 'HTTP_CONNECTION': 'keep-alive',
|
---|
259 | 'HTTP_COOKIE': 'csrftoken=8a060413d948335fefeecc500e7e74ea; sessionid=b62efd26c86b7b495c284323c313bbae',
|
---|
260 | 'HTTP_HOST': 'localhost:8000',
|
---|
261 | 'HTTP_KEEP_ALIVE': '115',
|
---|
262 | 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12',
|
---|
263 | 'LOCALAPPDATA': 'C:\\Users\\srulix\\AppData\\Local',
|
---|
264 | 'LOGONSERVER': '\\\\FRYLOCK',
|
---|
265 | 'NUMBER_OF_PROCESSORS': '2',
|
---|
266 | 'OS': 'Windows_NT',
|
---|
267 | 'PATH': 'C:/Users/srulix/AppData/Local/Aptana Studio 3/jre/bin/client;C:/Users/srulix/AppData/Local/Aptana Studio 3/jre/bin;C:/Users/srulix/AppData/Local/Aptana Studio 3/jre/lib/i386;C:\\Program Files (x86)\\ActiveState Komodo Edit 6\\;C:\\Program Files (x86)\\MiKTeX 2.8\\miktex\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\QuickTime\\QTSystem\\;c:\\Python26\\;C:\\Program Files (x86)\\SSH Communications Security\\SSH Secure Shell',
|
---|
268 | 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC',
|
---|
269 | 'PATH_INFO': u'/polls/5/',
|
---|
270 | 'PROCESSOR_ARCHITECTURE': 'x86',
|
---|
271 | 'PROCESSOR_ARCHITEW6432': 'AMD64',
|
---|
272 | 'PROCESSOR_IDENTIFIER': 'Intel64 Family 6 Model 23 Stepping 10, GenuineIntel',
|
---|
273 | 'PROCESSOR_LEVEL': '6',
|
---|
274 | 'PROCESSOR_REVISION': '170a',
|
---|
275 | 'PROGRAMDATA': 'C:\\ProgramData',
|
---|
276 | 'PROGRAMFILES': 'C:\\Program Files (x86)',
|
---|
277 | 'PROGRAMFILES(X86)': 'C:\\Program Files (x86)',
|
---|
278 | 'PROGRAMW6432': 'C:\\Program Files',
|
---|
279 | 'PROMPT': '$P$G',
|
---|
280 | 'PSMODULEPATH': 'C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\',
|
---|
281 | 'PUBLIC': 'C:\\Users\\Public',
|
---|
282 | 'PYDEV_COMPLETER_PYTHONPATH': 'C:\\Users\\srulix\\AppData\\Local\\Aptana Studio 3\\plugins\\org.python.pydev_1.6.3.2010100422\\PySrc',
|
---|
283 | 'PYDEV_CONSOLE_ENCODING': 'UTF-8',
|
---|
284 | 'PYTHONIOENCODING': 'UTF-8',
|
---|
285 | 'PYTHONPATH': 'C:\\Users\\srulix\\AppData\\Local\\Aptana Studio 3\\plugins\\org.python.pydev_1.6.3.2010100422\\PySrc\\pydev_sitecustomize;C:\\Users\\srulix\\My Documents\\Aptana Studio 3 Workspace\\django_test\\src;C:\\Python26;C:\\Python26\\DLLs;C:\\Python26\\lib;C:\\Python26\\lib\\lib-tk;C:\\Python26\\lib\\plat-win;C:\\Python26\\lib\\site-packages;C:\\Users\\srulix\\AppData\\Local\\Aptana Studio 3\\plugins\\org.python.pydev_1.6.3.2010100422\\PySrc',
|
---|
286 | 'QTJAVA': 'C:\\Program Files (x86)\\Java\\jre6\\lib\\ext\\QTJava.zip',
|
---|
287 | 'QUERY_STRING': '',
|
---|
288 | 'REMOTE_ADDR': '127.0.0.1',
|
---|
289 | 'REMOTE_HOST': '',
|
---|
290 | 'REQUEST_METHOD': 'GET',
|
---|
291 | 'SCRIPT_NAME': u'',
|
---|
292 | 'SERVER_NAME': 'frylock',
|
---|
293 | 'SERVER_PORT': '8000',
|
---|
294 | 'SERVER_PROTOCOL': 'HTTP/1.1',
|
---|
295 | 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.6.4',
|
---|
296 | 'SESSIONNAME': 'Console',
|
---|
297 | 'SYSTEMDRIVE': 'C:',
|
---|
298 | 'SYSTEMROOT': 'C:\\Windows',
|
---|
299 | 'TEMP': 'C:\\Users\\srulix\\AppData\\Local\\Temp',
|
---|
300 | 'TMP': 'C:\\Users\\srulix\\AppData\\Local\\Temp',
|
---|
301 | 'USERDOMAIN': 'frylock',
|
---|
302 | 'USERNAME': 'srulix',
|
---|
303 | 'USERPROFILE': 'C:\\Users\\srulix',
|
---|
304 | 'VBOX_INSTALL_PATH': 'C:\\Program Files\\Oracle\\VirtualBox\\',
|
---|
305 | 'WINDIR': 'C:\\Windows',
|
---|
306 | 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x004F40C0>,
|
---|
307 | 'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>,
|
---|
308 | 'wsgi.input': <socket._fileobject object at 0x02D422B0>,
|
---|
309 | 'wsgi.multiprocess': False,
|
---|
310 | 'wsgi.multithread': True,
|
---|
311 | 'wsgi.run_once': False,
|
---|
312 | 'wsgi.url_scheme': 'http',
|
---|
313 | 'wsgi.version': (1, 0)}></div></td>
|
---|
314 | </tr>
|
---|
315 |
|
---|
316 | <tr>
|
---|
317 | <td>resolver</td>
|
---|
318 | <td class="code"><div><RegexURLResolver django_test.urls (None:None) ^/></div></td>
|
---|
319 | </tr>
|
---|
320 |
|
---|
321 | <tr>
|
---|
322 | <td>response</td>
|
---|
323 | <td class="code"><div>None</div></td>
|
---|
324 | </tr>
|
---|
325 |
|
---|
326 | <tr>
|
---|
327 | <td>self</td>
|
---|
328 | <td class="code"><div><django.core.handlers.wsgi.WSGIHandler object at 0x02D1C670></div></td>
|
---|
329 | </tr>
|
---|
330 |
|
---|
331 | <tr>
|
---|
332 | <td>settings</td>
|
---|
333 | <td class="code"><div><django.conf.LazySettings object at 0x023319B0></div></td>
|
---|
334 | </tr>
|
---|
335 |
|
---|
336 | <tr>
|
---|
337 | <td>urlconf</td>
|
---|
338 | <td class="code"><div>'django_test.urls'</div></td>
|
---|
339 | </tr>
|
---|
340 |
|
---|
341 | <tr>
|
---|
342 | <td>urlresolvers</td>
|
---|
343 | <td class="code"><div><module 'django.core.urlresolvers' from 'C:\Python26\lib\site-packages\django\core\urlresolvers.pyc'></div></td>
|
---|
344 | </tr>
|
---|
345 |
|
---|
346 | </tbody>
|
---|
347 | </table>
|
---|
348 |
|
---|
349 | </li>
|
---|
350 |
|
---|
351 | </ul>
|
---|
352 | </div>
|
---|
353 |
|
---|
354 | <form action="http://dpaste.com/" name="pasteform" id="pasteform" method="post">
|
---|
355 | <div id="pastebinTraceback" class="pastebin">
|
---|
356 | <input type="hidden" name="language" value="PythonConsole">
|
---|
357 | <input type="hidden" name="title" value="TypeError at /polls/5/">
|
---|
358 | <input type="hidden" name="source" value="Django Dpaste Agent">
|
---|
359 | <input type="hidden" name="poster" value="Django">
|
---|
360 | <textarea name="content" id="traceback_area" cols="140" rows="25">
|
---|
361 | Environment:
|
---|
362 |
|
---|
363 | Request Method: GET
|
---|
364 | Request URL: http://localhost:8000/polls/5/
|
---|
365 | Django Version: 1.2.3
|
---|
366 | Python Version: 2.6.4
|
---|
367 | Installed Applications:
|
---|
368 | ['django.contrib.auth',
|
---|
369 | 'django.contrib.contenttypes',
|
---|
370 | 'django.contrib.sessions',
|
---|
371 | 'django.contrib.sites',
|
---|
372 | 'django.contrib.messages',
|
---|
373 | 'polls',
|
---|
374 | 'django.contrib.admin',
|
---|
375 | 'django.contrib.admindocs']
|
---|
376 | Installed Middleware:
|
---|
377 | ('django.middleware.common.CommonMiddleware',
|
---|
378 | 'django.contrib.sessions.middleware.SessionMiddleware',
|
---|
379 | 'django.middleware.csrf.CsrfViewMiddleware',
|
---|
380 | 'django.contrib.auth.middleware.AuthenticationMiddleware',
|
---|
381 | 'django.contrib.messages.middleware.MessageMiddleware')
|
---|
382 |
|
---|
383 |
|
---|
384 | Traceback:
|
---|
385 | File "C:\Python26\lib\site-packages\django\core\handlers\base.py" in get_response
|
---|
386 | 100. response = callback(request, *callback_args, **callback_kwargs)
|
---|
387 |
|
---|
388 | Exception Type: TypeError at /polls/5/
|
---|
389 | Exception Value: 'str' object is not callable
|
---|
390 | </textarea>
|
---|
391 | <br><br>
|
---|
392 | <input type="submit" value="Share this traceback on a public Web site">
|
---|
393 | </div>
|
---|
394 | </form>
|
---|
395 | </div>
|
---|
396 |
|
---|
397 | <div id="requestinfo">
|
---|
398 | <h2>Request information</h2>
|
---|
399 |
|
---|
400 | <h3 id="get-info">GET</h3>
|
---|
401 |
|
---|
402 | <p>No GET data</p>
|
---|
403 |
|
---|
404 |
|
---|
405 | <h3 id="post-info">POST</h3>
|
---|
406 |
|
---|
407 | <p>No POST data</p>
|
---|
408 |
|
---|
409 | <h3 id="files-info">FILES</h3>
|
---|
410 |
|
---|
411 | <p>No FILES data</p>
|
---|
412 |
|
---|
413 |
|
---|
414 |
|
---|
415 | <h3 id="cookie-info">COOKIES</h3>
|
---|
416 |
|
---|
417 | <table class="req">
|
---|
418 | <thead>
|
---|
419 | <tr>
|
---|
420 | <th>Variable</th>
|
---|
421 | <th>Value</th>
|
---|
422 | </tr>
|
---|
423 | </thead>
|
---|
424 | <tbody>
|
---|
425 |
|
---|
426 | <tr>
|
---|
427 | <td>csrftoken</td>
|
---|
428 | <td class="code"><div>'8a060413d948335fefeecc500e7e74ea'</div></td>
|
---|
429 | </tr>
|
---|
430 |
|
---|
431 | <tr>
|
---|
432 | <td>sessionid</td>
|
---|
433 | <td class="code"><div>'b62efd26c86b7b495c284323c313bbae'</div></td>
|
---|
434 | </tr>
|
---|
435 |
|
---|
436 | </tbody>
|
---|
437 | </table>
|
---|
438 |
|
---|
439 |
|
---|
440 | <h3 id="meta-info">META</h3>
|
---|
441 | <table class="req">
|
---|
442 | <thead>
|
---|
443 | <tr>
|
---|
444 | <th>Variable</th>
|
---|
445 | <th>Value</th>
|
---|
446 | </tr>
|
---|
447 | </thead>
|
---|
448 | <tbody>
|
---|
449 |
|
---|
450 | <tr>
|
---|
451 | <td>ALLUSERSPROFILE</td>
|
---|
452 | <td class="code"><div>'C:\\ProgramData'</div></td>
|
---|
453 | </tr>
|
---|
454 |
|
---|
455 | <tr>
|
---|
456 | <td>APPDATA</td>
|
---|
457 | <td class="code"><div>'C:\\Users\\srulix\\AppData\\Roaming'</div></td>
|
---|
458 | </tr>
|
---|
459 |
|
---|
460 | <tr>
|
---|
461 | <td>ASL.LOG</td>
|
---|
462 | <td class="code"><div>'Destination=file'</div></td>
|
---|
463 | </tr>
|
---|
464 |
|
---|
465 | <tr>
|
---|
466 | <td>CLASSPATH</td>
|
---|
467 | <td class="code"><div>'.;C:\\Program Files (x86)\\Java\\jre6\\lib\\ext\\QTJava.zip'</div></td>
|
---|
468 | </tr>
|
---|
469 |
|
---|
470 | <tr>
|
---|
471 | <td>COMMONPROGRAMFILES</td>
|
---|
472 | <td class="code"><div>'C:\\Program Files (x86)\\Common Files'</div></td>
|
---|
473 | </tr>
|
---|
474 |
|
---|
475 | <tr>
|
---|
476 | <td>COMMONPROGRAMFILES(X86)</td>
|
---|
477 | <td class="code"><div>'C:\\Program Files (x86)\\Common Files'</div></td>
|
---|
478 | </tr>
|
---|
479 |
|
---|
480 | <tr>
|
---|
481 | <td>COMMONPROGRAMW6432</td>
|
---|
482 | <td class="code"><div>'C:\\Program Files\\Common Files'</div></td>
|
---|
483 | </tr>
|
---|
484 |
|
---|
485 | <tr>
|
---|
486 | <td>COMPUTERNAME</td>
|
---|
487 | <td class="code"><div>'FRYLOCK'</div></td>
|
---|
488 | </tr>
|
---|
489 |
|
---|
490 | <tr>
|
---|
491 | <td>COMSPEC</td>
|
---|
492 | <td class="code"><div>'C:\\Windows\\system32\\cmd.exe'</div></td>
|
---|
493 | </tr>
|
---|
494 |
|
---|
495 | <tr>
|
---|
496 | <td>CONTENT_LENGTH</td>
|
---|
497 | <td class="code"><div>''</div></td>
|
---|
498 | </tr>
|
---|
499 |
|
---|
500 | <tr>
|
---|
501 | <td>CONTENT_TYPE</td>
|
---|
502 | <td class="code"><div>'text/plain'</div></td>
|
---|
503 | </tr>
|
---|
504 |
|
---|
505 | <tr>
|
---|
506 | <td>CSRF_COOKIE</td>
|
---|
507 | <td class="code"><div>'8a060413d948335fefeecc500e7e74ea'</div></td>
|
---|
508 | </tr>
|
---|
509 |
|
---|
510 | <tr>
|
---|
511 | <td>DJANGO_SETTINGS_MODULE</td>
|
---|
512 | <td class="code"><div>'django_test.settings'</div></td>
|
---|
513 | </tr>
|
---|
514 |
|
---|
515 | <tr>
|
---|
516 | <td>FP_NO_HOST_CHECK</td>
|
---|
517 | <td class="code"><div>'NO'</div></td>
|
---|
518 | </tr>
|
---|
519 |
|
---|
520 | <tr>
|
---|
521 | <td>GATEWAY_INTERFACE</td>
|
---|
522 | <td class="code"><div>'CGI/1.1'</div></td>
|
---|
523 | </tr>
|
---|
524 |
|
---|
525 | <tr>
|
---|
526 | <td>HOMEDRIVE</td>
|
---|
527 | <td class="code"><div>'C:'</div></td>
|
---|
528 | </tr>
|
---|
529 |
|
---|
530 | <tr>
|
---|
531 | <td>HOMEPATH</td>
|
---|
532 | <td class="code"><div>'\\Users\\srulix'</div></td>
|
---|
533 | </tr>
|
---|
534 |
|
---|
535 | <tr>
|
---|
536 | <td>HTTP_ACCEPT</td>
|
---|
537 | <td class="code"><div>'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'</div></td>
|
---|
538 | </tr>
|
---|
539 |
|
---|
540 | <tr>
|
---|
541 | <td>HTTP_ACCEPT_CHARSET</td>
|
---|
542 | <td class="code"><div>'ISO-8859-1,utf-8;q=0.7,*;q=0.7'</div></td>
|
---|
543 | </tr>
|
---|
544 |
|
---|
545 | <tr>
|
---|
546 | <td>HTTP_ACCEPT_ENCODING</td>
|
---|
547 | <td class="code"><div>'gzip,deflate'</div></td>
|
---|
548 | </tr>
|
---|
549 |
|
---|
550 | <tr>
|
---|
551 | <td>HTTP_ACCEPT_LANGUAGE</td>
|
---|
552 | <td class="code"><div>'en-us,en;q=0.5'</div></td>
|
---|
553 | </tr>
|
---|
554 |
|
---|
555 | <tr>
|
---|
556 | <td>HTTP_CONNECTION</td>
|
---|
557 | <td class="code"><div>'keep-alive'</div></td>
|
---|
558 | </tr>
|
---|
559 |
|
---|
560 | <tr>
|
---|
561 | <td>HTTP_COOKIE</td>
|
---|
562 | <td class="code"><div>'csrftoken=8a060413d948335fefeecc500e7e74ea; sessionid=b62efd26c86b7b495c284323c313bbae'</div></td>
|
---|
563 | </tr>
|
---|
564 |
|
---|
565 | <tr>
|
---|
566 | <td>HTTP_HOST</td>
|
---|
567 | <td class="code"><div>'localhost:8000'</div></td>
|
---|
568 | </tr>
|
---|
569 |
|
---|
570 | <tr>
|
---|
571 | <td>HTTP_KEEP_ALIVE</td>
|
---|
572 | <td class="code"><div>'115'</div></td>
|
---|
573 | </tr>
|
---|
574 |
|
---|
575 | <tr>
|
---|
576 | <td>HTTP_USER_AGENT</td>
|
---|
577 | <td class="code"><div>'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12'</div></td>
|
---|
578 | </tr>
|
---|
579 |
|
---|
580 | <tr>
|
---|
581 | <td>LOCALAPPDATA</td>
|
---|
582 | <td class="code"><div>'C:\\Users\\srulix\\AppData\\Local'</div></td>
|
---|
583 | </tr>
|
---|
584 |
|
---|
585 | <tr>
|
---|
586 | <td>LOGONSERVER</td>
|
---|
587 | <td class="code"><div>'\\\\FRYLOCK'</div></td>
|
---|
588 | </tr>
|
---|
589 |
|
---|
590 | <tr>
|
---|
591 | <td>NUMBER_OF_PROCESSORS</td>
|
---|
592 | <td class="code"><div>'2'</div></td>
|
---|
593 | </tr>
|
---|
594 |
|
---|
595 | <tr>
|
---|
596 | <td>OS</td>
|
---|
597 | <td class="code"><div>'Windows_NT'</div></td>
|
---|
598 | </tr>
|
---|
599 |
|
---|
600 | <tr>
|
---|
601 | <td>PATH</td>
|
---|
602 | <td class="code"><div>'C:/Users/srulix/AppData/Local/Aptana Studio 3/jre/bin/client;C:/Users/srulix/AppData/Local/Aptana Studio 3/jre/bin;C:/Users/srulix/AppData/Local/Aptana Studio 3/jre/lib/i386;C:\\Program Files (x86)\\ActiveState Komodo Edit 6\\;C:\\Program Files (x86)\\MiKTeX 2.8\\miktex\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\QuickTime\\QTSystem\\;c:\\Python26\\;C:\\Program Files (x86)\\SSH Communications Security\\SSH Secure Shell'</div></td>
|
---|
603 | </tr>
|
---|
604 |
|
---|
605 | <tr>
|
---|
606 | <td>PATHEXT</td>
|
---|
607 | <td class="code"><div>'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'</div></td>
|
---|
608 | </tr>
|
---|
609 |
|
---|
610 | <tr>
|
---|
611 | <td>PATH_INFO</td>
|
---|
612 | <td class="code"><div>u'/polls/5/'</div></td>
|
---|
613 | </tr>
|
---|
614 |
|
---|
615 | <tr>
|
---|
616 | <td>PROCESSOR_ARCHITECTURE</td>
|
---|
617 | <td class="code"><div>'x86'</div></td>
|
---|
618 | </tr>
|
---|
619 |
|
---|
620 | <tr>
|
---|
621 | <td>PROCESSOR_ARCHITEW6432</td>
|
---|
622 | <td class="code"><div>'AMD64'</div></td>
|
---|
623 | </tr>
|
---|
624 |
|
---|
625 | <tr>
|
---|
626 | <td>PROCESSOR_IDENTIFIER</td>
|
---|
627 | <td class="code"><div>'Intel64 Family 6 Model 23 Stepping 10, GenuineIntel'</div></td>
|
---|
628 | </tr>
|
---|
629 |
|
---|
630 | <tr>
|
---|
631 | <td>PROCESSOR_LEVEL</td>
|
---|
632 | <td class="code"><div>'6'</div></td>
|
---|
633 | </tr>
|
---|
634 |
|
---|
635 | <tr>
|
---|
636 | <td>PROCESSOR_REVISION</td>
|
---|
637 | <td class="code"><div>'170a'</div></td>
|
---|
638 | </tr>
|
---|
639 |
|
---|
640 | <tr>
|
---|
641 | <td>PROGRAMDATA</td>
|
---|
642 | <td class="code"><div>'C:\\ProgramData'</div></td>
|
---|
643 | </tr>
|
---|
644 |
|
---|
645 | <tr>
|
---|
646 | <td>PROGRAMFILES</td>
|
---|
647 | <td class="code"><div>'C:\\Program Files (x86)'</div></td>
|
---|
648 | </tr>
|
---|
649 |
|
---|
650 | <tr>
|
---|
651 | <td>PROGRAMFILES(X86)</td>
|
---|
652 | <td class="code"><div>'C:\\Program Files (x86)'</div></td>
|
---|
653 | </tr>
|
---|
654 |
|
---|
655 | <tr>
|
---|
656 | <td>PROGRAMW6432</td>
|
---|
657 | <td class="code"><div>'C:\\Program Files'</div></td>
|
---|
658 | </tr>
|
---|
659 |
|
---|
660 | <tr>
|
---|
661 | <td>PROMPT</td>
|
---|
662 | <td class="code"><div>'$P$G'</div></td>
|
---|
663 | </tr>
|
---|
664 |
|
---|
665 | <tr>
|
---|
666 | <td>PSMODULEPATH</td>
|
---|
667 | <td class="code"><div>'C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\'</div></td>
|
---|
668 | </tr>
|
---|
669 |
|
---|
670 | <tr>
|
---|
671 | <td>PUBLIC</td>
|
---|
672 | <td class="code"><div>'C:\\Users\\Public'</div></td>
|
---|
673 | </tr>
|
---|
674 |
|
---|
675 | <tr>
|
---|
676 | <td>PYDEV_COMPLETER_PYTHONPATH</td>
|
---|
677 | <td class="code"><div>'C:\\Users\\srulix\\AppData\\Local\\Aptana Studio 3\\plugins\\org.python.pydev_1.6.3.2010100422\\PySrc'</div></td>
|
---|
678 | </tr>
|
---|
679 |
|
---|
680 | <tr>
|
---|
681 | <td>PYDEV_CONSOLE_ENCODING</td>
|
---|
682 | <td class="code"><div>'UTF-8'</div></td>
|
---|
683 | </tr>
|
---|
684 |
|
---|
685 | <tr>
|
---|
686 | <td>PYTHONIOENCODING</td>
|
---|
687 | <td class="code"><div>'UTF-8'</div></td>
|
---|
688 | </tr>
|
---|
689 |
|
---|
690 | <tr>
|
---|
691 | <td>PYTHONPATH</td>
|
---|
692 | <td class="code"><div>'C:\\Users\\srulix\\AppData\\Local\\Aptana Studio 3\\plugins\\org.python.pydev_1.6.3.2010100422\\PySrc\\pydev_sitecustomize;C:\\Users\\srulix\\My Documents\\Aptana Studio 3 Workspace\\django_test\\src;C:\\Python26;C:\\Python26\\DLLs;C:\\Python26\\lib;C:\\Python26\\lib\\lib-tk;C:\\Python26\\lib\\plat-win;C:\\Python26\\lib\\site-packages;C:\\Users\\srulix\\AppData\\Local\\Aptana Studio 3\\plugins\\org.python.pydev_1.6.3.2010100422\\PySrc'</div></td>
|
---|
693 | </tr>
|
---|
694 |
|
---|
695 | <tr>
|
---|
696 | <td>QTJAVA</td>
|
---|
697 | <td class="code"><div>'C:\\Program Files (x86)\\Java\\jre6\\lib\\ext\\QTJava.zip'</div></td>
|
---|
698 | </tr>
|
---|
699 |
|
---|
700 | <tr>
|
---|
701 | <td>QUERY_STRING</td>
|
---|
702 | <td class="code"><div>''</div></td>
|
---|
703 | </tr>
|
---|
704 |
|
---|
705 | <tr>
|
---|
706 | <td>REMOTE_ADDR</td>
|
---|
707 | <td class="code"><div>'127.0.0.1'</div></td>
|
---|
708 | </tr>
|
---|
709 |
|
---|
710 | <tr>
|
---|
711 | <td>REMOTE_HOST</td>
|
---|
712 | <td class="code"><div>''</div></td>
|
---|
713 | </tr>
|
---|
714 |
|
---|
715 | <tr>
|
---|
716 | <td>REQUEST_METHOD</td>
|
---|
717 | <td class="code"><div>'GET'</div></td>
|
---|
718 | </tr>
|
---|
719 |
|
---|
720 | <tr>
|
---|
721 | <td>SCRIPT_NAME</td>
|
---|
722 | <td class="code"><div>u''</div></td>
|
---|
723 | </tr>
|
---|
724 |
|
---|
725 | <tr>
|
---|
726 | <td>SERVER_NAME</td>
|
---|
727 | <td class="code"><div>'frylock'</div></td>
|
---|
728 | </tr>
|
---|
729 |
|
---|
730 | <tr>
|
---|
731 | <td>SERVER_PORT</td>
|
---|
732 | <td class="code"><div>'8000'</div></td>
|
---|
733 | </tr>
|
---|
734 |
|
---|
735 | <tr>
|
---|
736 | <td>SERVER_PROTOCOL</td>
|
---|
737 | <td class="code"><div>'HTTP/1.1'</div></td>
|
---|
738 | </tr>
|
---|
739 |
|
---|
740 | <tr>
|
---|
741 | <td>SERVER_SOFTWARE</td>
|
---|
742 | <td class="code"><div>'WSGIServer/0.1 Python/2.6.4'</div></td>
|
---|
743 | </tr>
|
---|
744 |
|
---|
745 | <tr>
|
---|
746 | <td>SESSIONNAME</td>
|
---|
747 | <td class="code"><div>'Console'</div></td>
|
---|
748 | </tr>
|
---|
749 |
|
---|
750 | <tr>
|
---|
751 | <td>SYSTEMDRIVE</td>
|
---|
752 | <td class="code"><div>'C:'</div></td>
|
---|
753 | </tr>
|
---|
754 |
|
---|
755 | <tr>
|
---|
756 | <td>SYSTEMROOT</td>
|
---|
757 | <td class="code"><div>'C:\\Windows'</div></td>
|
---|
758 | </tr>
|
---|
759 |
|
---|
760 | <tr>
|
---|
761 | <td>TEMP</td>
|
---|
762 | <td class="code"><div>'C:\\Users\\srulix\\AppData\\Local\\Temp'</div></td>
|
---|
763 | </tr>
|
---|
764 |
|
---|
765 | <tr>
|
---|
766 | <td>TMP</td>
|
---|
767 | <td class="code"><div>'C:\\Users\\srulix\\AppData\\Local\\Temp'</div></td>
|
---|
768 | </tr>
|
---|
769 |
|
---|
770 | <tr>
|
---|
771 | <td>USERDOMAIN</td>
|
---|
772 | <td class="code"><div>'frylock'</div></td>
|
---|
773 | </tr>
|
---|
774 |
|
---|
775 | <tr>
|
---|
776 | <td>USERNAME</td>
|
---|
777 | <td class="code"><div>'srulix'</div></td>
|
---|
778 | </tr>
|
---|
779 |
|
---|
780 | <tr>
|
---|
781 | <td>USERPROFILE</td>
|
---|
782 | <td class="code"><div>'C:\\Users\\srulix'</div></td>
|
---|
783 | </tr>
|
---|
784 |
|
---|
785 | <tr>
|
---|
786 | <td>VBOX_INSTALL_PATH</td>
|
---|
787 | <td class="code"><div>'C:\\Program Files\\Oracle\\VirtualBox\\'</div></td>
|
---|
788 | </tr>
|
---|
789 |
|
---|
790 | <tr>
|
---|
791 | <td>WINDIR</td>
|
---|
792 | <td class="code"><div>'C:\\Windows'</div></td>
|
---|
793 | </tr>
|
---|
794 |
|
---|
795 | <tr>
|
---|
796 | <td>wsgi.errors</td>
|
---|
797 | <td class="code"><div><open file '<stderr>', mode 'w' at 0x004F40C0></div></td>
|
---|
798 | </tr>
|
---|
799 |
|
---|
800 | <tr>
|
---|
801 | <td>wsgi.file_wrapper</td>
|
---|
802 | <td class="code"><div><class 'django.core.servers.basehttp.FileWrapper'></div></td>
|
---|
803 | </tr>
|
---|
804 |
|
---|
805 | <tr>
|
---|
806 | <td>wsgi.input</td>
|
---|
807 | <td class="code"><div><socket._fileobject object at 0x02D422B0></div></td>
|
---|
808 | </tr>
|
---|
809 |
|
---|
810 | <tr>
|
---|
811 | <td>wsgi.multiprocess</td>
|
---|
812 | <td class="code"><div>False</div></td>
|
---|
813 | </tr>
|
---|
814 |
|
---|
815 | <tr>
|
---|
816 | <td>wsgi.multithread</td>
|
---|
817 | <td class="code"><div>True</div></td>
|
---|
818 | </tr>
|
---|
819 |
|
---|
820 | <tr>
|
---|
821 | <td>wsgi.run_once</td>
|
---|
822 | <td class="code"><div>False</div></td>
|
---|
823 | </tr>
|
---|
824 |
|
---|
825 | <tr>
|
---|
826 | <td>wsgi.url_scheme</td>
|
---|
827 | <td class="code"><div>'http'</div></td>
|
---|
828 | </tr>
|
---|
829 |
|
---|
830 | <tr>
|
---|
831 | <td>wsgi.version</td>
|
---|
832 | <td class="code"><div>(1, 0)</div></td>
|
---|
833 | </tr>
|
---|
834 |
|
---|
835 | </tbody>
|
---|
836 | </table>
|
---|
837 |
|
---|
838 | <h3 id="settings-info">Settings</h3>
|
---|
839 | <h4>Using settings module <code>django_test.settings</code></h4>
|
---|
840 | <table class="req">
|
---|
841 | <thead>
|
---|
842 | <tr>
|
---|
843 | <th>Setting</th>
|
---|
844 | <th>Value</th>
|
---|
845 | </tr>
|
---|
846 | </thead>
|
---|
847 | <tbody>
|
---|
848 |
|
---|
849 | <tr>
|
---|
850 | <td>ABSOLUTE_URL_OVERRIDES</td>
|
---|
851 | <td class="code"><div>{}</div></td>
|
---|
852 | </tr>
|
---|
853 |
|
---|
854 | <tr>
|
---|
855 | <td>ADMINS</td>
|
---|
856 | <td class="code"><div>()</div></td>
|
---|
857 | </tr>
|
---|
858 |
|
---|
859 | <tr>
|
---|
860 | <td>ADMIN_FOR</td>
|
---|
861 | <td class="code"><div>()</div></td>
|
---|
862 | </tr>
|
---|
863 |
|
---|
864 | <tr>
|
---|
865 | <td>ADMIN_MEDIA_PREFIX</td>
|
---|
866 | <td class="code"><div>'/media/'</div></td>
|
---|
867 | </tr>
|
---|
868 |
|
---|
869 | <tr>
|
---|
870 | <td>ALLOWED_INCLUDE_ROOTS</td>
|
---|
871 | <td class="code"><div>()</div></td>
|
---|
872 | </tr>
|
---|
873 |
|
---|
874 | <tr>
|
---|
875 | <td>APPEND_SLASH</td>
|
---|
876 | <td class="code"><div>True</div></td>
|
---|
877 | </tr>
|
---|
878 |
|
---|
879 | <tr>
|
---|
880 | <td>AUTHENTICATION_BACKENDS</td>
|
---|
881 | <td class="code"><div>('django.contrib.auth.backends.ModelBackend',)</div></td>
|
---|
882 | </tr>
|
---|
883 |
|
---|
884 | <tr>
|
---|
885 | <td>BANNED_IPS</td>
|
---|
886 | <td class="code"><div>()</div></td>
|
---|
887 | </tr>
|
---|
888 |
|
---|
889 | <tr>
|
---|
890 | <td>CACHE_BACKEND</td>
|
---|
891 | <td class="code"><div>'locmem://'</div></td>
|
---|
892 | </tr>
|
---|
893 |
|
---|
894 | <tr>
|
---|
895 | <td>CACHE_MIDDLEWARE_KEY_PREFIX</td>
|
---|
896 | <td class="code"><div>''</div></td>
|
---|
897 | </tr>
|
---|
898 |
|
---|
899 | <tr>
|
---|
900 | <td>CACHE_MIDDLEWARE_SECONDS</td>
|
---|
901 | <td class="code"><div>600</div></td>
|
---|
902 | </tr>
|
---|
903 |
|
---|
904 | <tr>
|
---|
905 | <td>COMMENTS_ALLOW_PROFANITIES</td>
|
---|
906 | <td class="code"><div>False</div></td>
|
---|
907 | </tr>
|
---|
908 |
|
---|
909 | <tr>
|
---|
910 | <td>COMMENTS_BANNED_USERS_GROUP</td>
|
---|
911 | <td class="code"><div>None</div></td>
|
---|
912 | </tr>
|
---|
913 |
|
---|
914 | <tr>
|
---|
915 | <td>COMMENTS_FIRST_FEW</td>
|
---|
916 | <td class="code"><div>0</div></td>
|
---|
917 | </tr>
|
---|
918 |
|
---|
919 | <tr>
|
---|
920 | <td>COMMENTS_MODERATORS_GROUP</td>
|
---|
921 | <td class="code"><div>None</div></td>
|
---|
922 | </tr>
|
---|
923 |
|
---|
924 | <tr>
|
---|
925 | <td>COMMENTS_SKETCHY_USERS_GROUP</td>
|
---|
926 | <td class="code"><div>None</div></td>
|
---|
927 | </tr>
|
---|
928 |
|
---|
929 | <tr>
|
---|
930 | <td>CSRF_COOKIE_DOMAIN</td>
|
---|
931 | <td class="code"><div>None</div></td>
|
---|
932 | </tr>
|
---|
933 |
|
---|
934 | <tr>
|
---|
935 | <td>CSRF_COOKIE_NAME</td>
|
---|
936 | <td class="code"><div>'csrftoken'</div></td>
|
---|
937 | </tr>
|
---|
938 |
|
---|
939 | <tr>
|
---|
940 | <td>CSRF_FAILURE_VIEW</td>
|
---|
941 | <td class="code"><div>'django.views.csrf.csrf_failure'</div></td>
|
---|
942 | </tr>
|
---|
943 |
|
---|
944 | <tr>
|
---|
945 | <td>DATABASES</td>
|
---|
946 | <td class="code"><div>{'default': {'ENGINE': 'django.db.backends.sqlite3',
|
---|
947 | 'HOST': '',
|
---|
948 | 'NAME': 'C:\\Users\\srulix\\My Documents\\Aptana Studio 3 Workspace\\django_test\\src\\sqlite.db',
|
---|
949 | 'OPTIONS': {},
|
---|
950 | 'PASSWORD': '********************',
|
---|
951 | 'PORT': '',
|
---|
952 | 'TEST_CHARSET': None,
|
---|
953 | 'TEST_COLLATION': None,
|
---|
954 | 'TEST_MIRROR': None,
|
---|
955 | 'TEST_NAME': None,
|
---|
956 | 'TIME_ZONE': 'America/Chicago',
|
---|
957 | 'USER': ''}}</div></td>
|
---|
958 | </tr>
|
---|
959 |
|
---|
960 | <tr>
|
---|
961 | <td>DATABASE_ENGINE</td>
|
---|
962 | <td class="code"><div>''</div></td>
|
---|
963 | </tr>
|
---|
964 |
|
---|
965 | <tr>
|
---|
966 | <td>DATABASE_HOST</td>
|
---|
967 | <td class="code"><div>''</div></td>
|
---|
968 | </tr>
|
---|
969 |
|
---|
970 | <tr>
|
---|
971 | <td>DATABASE_NAME</td>
|
---|
972 | <td class="code"><div>''</div></td>
|
---|
973 | </tr>
|
---|
974 |
|
---|
975 | <tr>
|
---|
976 | <td>DATABASE_OPTIONS</td>
|
---|
977 | <td class="code"><div>{}</div></td>
|
---|
978 | </tr>
|
---|
979 |
|
---|
980 | <tr>
|
---|
981 | <td>DATABASE_PASSWORD</td>
|
---|
982 | <td class="code"><div>'********************'</div></td>
|
---|
983 | </tr>
|
---|
984 |
|
---|
985 | <tr>
|
---|
986 | <td>DATABASE_PORT</td>
|
---|
987 | <td class="code"><div>''</div></td>
|
---|
988 | </tr>
|
---|
989 |
|
---|
990 | <tr>
|
---|
991 | <td>DATABASE_ROUTERS</td>
|
---|
992 | <td class="code"><div>[]</div></td>
|
---|
993 | </tr>
|
---|
994 |
|
---|
995 | <tr>
|
---|
996 | <td>DATABASE_USER</td>
|
---|
997 | <td class="code"><div>''</div></td>
|
---|
998 | </tr>
|
---|
999 |
|
---|
1000 | <tr>
|
---|
1001 | <td>DATETIME_FORMAT</td>
|
---|
1002 | <td class="code"><div>'N j, Y, P'</div></td>
|
---|
1003 | </tr>
|
---|
1004 |
|
---|
1005 | <tr>
|
---|
1006 | <td>DATETIME_INPUT_FORMATS</td>
|
---|
1007 | <td class="code"><div>('%Y-%m-%d %H:%M:%S',
|
---|
1008 | '%Y-%m-%d %H:%M',
|
---|
1009 | '%Y-%m-%d',
|
---|
1010 | '%m/%d/%Y %H:%M:%S',
|
---|
1011 | '%m/%d/%Y %H:%M',
|
---|
1012 | '%m/%d/%Y',
|
---|
1013 | '%m/%d/%y %H:%M:%S',
|
---|
1014 | '%m/%d/%y %H:%M',
|
---|
1015 | '%m/%d/%y')</div></td>
|
---|
1016 | </tr>
|
---|
1017 |
|
---|
1018 | <tr>
|
---|
1019 | <td>DATE_FORMAT</td>
|
---|
1020 | <td class="code"><div>'N j, Y'</div></td>
|
---|
1021 | </tr>
|
---|
1022 |
|
---|
1023 | <tr>
|
---|
1024 | <td>DATE_INPUT_FORMATS</td>
|
---|
1025 | <td class="code"><div>('%Y-%m-%d',
|
---|
1026 | '%m/%d/%Y',
|
---|
1027 | '%m/%d/%y',
|
---|
1028 | '%b %d %Y',
|
---|
1029 | '%b %d, %Y',
|
---|
1030 | '%d %b %Y',
|
---|
1031 | '%d %b, %Y',
|
---|
1032 | '%B %d %Y',
|
---|
1033 | '%B %d, %Y',
|
---|
1034 | '%d %B %Y',
|
---|
1035 | '%d %B, %Y')</div></td>
|
---|
1036 | </tr>
|
---|
1037 |
|
---|
1038 | <tr>
|
---|
1039 | <td>DEBUG</td>
|
---|
1040 | <td class="code"><div>True</div></td>
|
---|
1041 | </tr>
|
---|
1042 |
|
---|
1043 | <tr>
|
---|
1044 | <td>DEBUG_PROPAGATE_EXCEPTIONS</td>
|
---|
1045 | <td class="code"><div>False</div></td>
|
---|
1046 | </tr>
|
---|
1047 |
|
---|
1048 | <tr>
|
---|
1049 | <td>DECIMAL_SEPARATOR</td>
|
---|
1050 | <td class="code"><div>'.'</div></td>
|
---|
1051 | </tr>
|
---|
1052 |
|
---|
1053 | <tr>
|
---|
1054 | <td>DEFAULT_CHARSET</td>
|
---|
1055 | <td class="code"><div>'utf-8'</div></td>
|
---|
1056 | </tr>
|
---|
1057 |
|
---|
1058 | <tr>
|
---|
1059 | <td>DEFAULT_CONTENT_TYPE</td>
|
---|
1060 | <td class="code"><div>'text/html'</div></td>
|
---|
1061 | </tr>
|
---|
1062 |
|
---|
1063 | <tr>
|
---|
1064 | <td>DEFAULT_FILE_STORAGE</td>
|
---|
1065 | <td class="code"><div>'django.core.files.storage.FileSystemStorage'</div></td>
|
---|
1066 | </tr>
|
---|
1067 |
|
---|
1068 | <tr>
|
---|
1069 | <td>DEFAULT_FROM_EMAIL</td>
|
---|
1070 | <td class="code"><div>'webmaster@localhost'</div></td>
|
---|
1071 | </tr>
|
---|
1072 |
|
---|
1073 | <tr>
|
---|
1074 | <td>DEFAULT_INDEX_TABLESPACE</td>
|
---|
1075 | <td class="code"><div>''</div></td>
|
---|
1076 | </tr>
|
---|
1077 |
|
---|
1078 | <tr>
|
---|
1079 | <td>DEFAULT_TABLESPACE</td>
|
---|
1080 | <td class="code"><div>''</div></td>
|
---|
1081 | </tr>
|
---|
1082 |
|
---|
1083 | <tr>
|
---|
1084 | <td>DISALLOWED_USER_AGENTS</td>
|
---|
1085 | <td class="code"><div>()</div></td>
|
---|
1086 | </tr>
|
---|
1087 |
|
---|
1088 | <tr>
|
---|
1089 | <td>EMAIL_BACKEND</td>
|
---|
1090 | <td class="code"><div>'django.core.mail.backends.smtp.EmailBackend'</div></td>
|
---|
1091 | </tr>
|
---|
1092 |
|
---|
1093 | <tr>
|
---|
1094 | <td>EMAIL_HOST</td>
|
---|
1095 | <td class="code"><div>'localhost'</div></td>
|
---|
1096 | </tr>
|
---|
1097 |
|
---|
1098 | <tr>
|
---|
1099 | <td>EMAIL_HOST_PASSWORD</td>
|
---|
1100 | <td class="code"><div>'********************'</div></td>
|
---|
1101 | </tr>
|
---|
1102 |
|
---|
1103 | <tr>
|
---|
1104 | <td>EMAIL_HOST_USER</td>
|
---|
1105 | <td class="code"><div>''</div></td>
|
---|
1106 | </tr>
|
---|
1107 |
|
---|
1108 | <tr>
|
---|
1109 | <td>EMAIL_PORT</td>
|
---|
1110 | <td class="code"><div>25</div></td>
|
---|
1111 | </tr>
|
---|
1112 |
|
---|
1113 | <tr>
|
---|
1114 | <td>EMAIL_SUBJECT_PREFIX</td>
|
---|
1115 | <td class="code"><div>'[Django] '</div></td>
|
---|
1116 | </tr>
|
---|
1117 |
|
---|
1118 | <tr>
|
---|
1119 | <td>EMAIL_USE_TLS</td>
|
---|
1120 | <td class="code"><div>False</div></td>
|
---|
1121 | </tr>
|
---|
1122 |
|
---|
1123 | <tr>
|
---|
1124 | <td>FILE_CHARSET</td>
|
---|
1125 | <td class="code"><div>'utf-8'</div></td>
|
---|
1126 | </tr>
|
---|
1127 |
|
---|
1128 | <tr>
|
---|
1129 | <td>FILE_UPLOAD_HANDLERS</td>
|
---|
1130 | <td class="code"><div>('django.core.files.uploadhandler.MemoryFileUploadHandler',
|
---|
1131 | 'django.core.files.uploadhandler.TemporaryFileUploadHandler')</div></td>
|
---|
1132 | </tr>
|
---|
1133 |
|
---|
1134 | <tr>
|
---|
1135 | <td>FILE_UPLOAD_MAX_MEMORY_SIZE</td>
|
---|
1136 | <td class="code"><div>2621440</div></td>
|
---|
1137 | </tr>
|
---|
1138 |
|
---|
1139 | <tr>
|
---|
1140 | <td>FILE_UPLOAD_PERMISSIONS</td>
|
---|
1141 | <td class="code"><div>None</div></td>
|
---|
1142 | </tr>
|
---|
1143 |
|
---|
1144 | <tr>
|
---|
1145 | <td>FILE_UPLOAD_TEMP_DIR</td>
|
---|
1146 | <td class="code"><div>None</div></td>
|
---|
1147 | </tr>
|
---|
1148 |
|
---|
1149 | <tr>
|
---|
1150 | <td>FIRST_DAY_OF_WEEK</td>
|
---|
1151 | <td class="code"><div>0</div></td>
|
---|
1152 | </tr>
|
---|
1153 |
|
---|
1154 | <tr>
|
---|
1155 | <td>FIXTURE_DIRS</td>
|
---|
1156 | <td class="code"><div>()</div></td>
|
---|
1157 | </tr>
|
---|
1158 |
|
---|
1159 | <tr>
|
---|
1160 | <td>FORCE_SCRIPT_NAME</td>
|
---|
1161 | <td class="code"><div>None</div></td>
|
---|
1162 | </tr>
|
---|
1163 |
|
---|
1164 | <tr>
|
---|
1165 | <td>FORMAT_MODULE_PATH</td>
|
---|
1166 | <td class="code"><div>None</div></td>
|
---|
1167 | </tr>
|
---|
1168 |
|
---|
1169 | <tr>
|
---|
1170 | <td>IGNORABLE_404_ENDS</td>
|
---|
1171 | <td class="code"><div>('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php')</div></td>
|
---|
1172 | </tr>
|
---|
1173 |
|
---|
1174 | <tr>
|
---|
1175 | <td>IGNORABLE_404_STARTS</td>
|
---|
1176 | <td class="code"><div>('/cgi-bin/', '/_vti_bin', '/_vti_inf')</div></td>
|
---|
1177 | </tr>
|
---|
1178 |
|
---|
1179 | <tr>
|
---|
1180 | <td>INSTALLED_APPS</td>
|
---|
1181 | <td class="code"><div>['django.contrib.auth',
|
---|
1182 | 'django.contrib.contenttypes',
|
---|
1183 | 'django.contrib.sessions',
|
---|
1184 | 'django.contrib.sites',
|
---|
1185 | 'django.contrib.messages',
|
---|
1186 | 'polls',
|
---|
1187 | 'django.contrib.admin',
|
---|
1188 | 'django.contrib.admindocs']</div></td>
|
---|
1189 | </tr>
|
---|
1190 |
|
---|
1191 | <tr>
|
---|
1192 | <td>INTERNAL_IPS</td>
|
---|
1193 | <td class="code"><div>()</div></td>
|
---|
1194 | </tr>
|
---|
1195 |
|
---|
1196 | <tr>
|
---|
1197 | <td>LANGUAGES</td>
|
---|
1198 | <td class="code"><div>(('ar', 'Arabic'),
|
---|
1199 | ('bg', 'Bulgarian'),
|
---|
1200 | ('bn', 'Bengali'),
|
---|
1201 | ('bs', 'Bosnian'),
|
---|
1202 | ('ca', 'Catalan'),
|
---|
1203 | ('cs', 'Czech'),
|
---|
1204 | ('cy', 'Welsh'),
|
---|
1205 | ('da', 'Danish'),
|
---|
1206 | ('de', 'German'),
|
---|
1207 | ('el', 'Greek'),
|
---|
1208 | ('en', 'English'),
|
---|
1209 | ('en-gb', 'British English'),
|
---|
1210 | ('es', 'Spanish'),
|
---|
1211 | ('es-ar', 'Argentinian Spanish'),
|
---|
1212 | ('et', 'Estonian'),
|
---|
1213 | ('eu', 'Basque'),
|
---|
1214 | ('fa', 'Persian'),
|
---|
1215 | ('fi', 'Finnish'),
|
---|
1216 | ('fr', 'French'),
|
---|
1217 | ('fy-nl', 'Frisian'),
|
---|
1218 | ('ga', 'Irish'),
|
---|
1219 | ('gl', 'Galician'),
|
---|
1220 | ('he', 'Hebrew'),
|
---|
1221 | ('hi', 'Hindi'),
|
---|
1222 | ('hr', 'Croatian'),
|
---|
1223 | ('hu', 'Hungarian'),
|
---|
1224 | ('id', 'Indonesian'),
|
---|
1225 | ('is', 'Icelandic'),
|
---|
1226 | ('it', 'Italian'),
|
---|
1227 | ('ja', 'Japanese'),
|
---|
1228 | ('ka', 'Georgian'),
|
---|
1229 | ('km', 'Khmer'),
|
---|
1230 | ('kn', 'Kannada'),
|
---|
1231 | ('ko', 'Korean'),
|
---|
1232 | ('lt', 'Lithuanian'),
|
---|
1233 | ('lv', 'Latvian'),
|
---|
1234 | ('mk', 'Macedonian'),
|
---|
1235 | ('ml', 'Malayalam'),
|
---|
1236 | ('mn', 'Mongolian'),
|
---|
1237 | ('nl', 'Dutch'),
|
---|
1238 | ('no', 'Norwegian'),
|
---|
1239 | ('nb', 'Norwegian Bokmal'),
|
---|
1240 | ('nn', 'Norwegian Nynorsk'),
|
---|
1241 | ('pl', 'Polish'),
|
---|
1242 | ('pt', 'Portuguese'),
|
---|
1243 | ('pt-br', 'Brazilian Portuguese'),
|
---|
1244 | ('ro', 'Romanian'),
|
---|
1245 | ('ru', 'Russian'),
|
---|
1246 | ('sk', 'Slovak'),
|
---|
1247 | ('sl', 'Slovenian'),
|
---|
1248 | ('sq', 'Albanian'),
|
---|
1249 | ('sr', 'Serbian'),
|
---|
1250 | ('sr-latn', 'Serbian Latin'),
|
---|
1251 | ('sv', 'Swedish'),
|
---|
1252 | ('ta', 'Tamil'),
|
---|
1253 | ('te', 'Telugu'),
|
---|
1254 | ('th', 'Thai'),
|
---|
1255 | ('tr', 'Turkish'),
|
---|
1256 | ('uk', 'Ukrainian'),
|
---|
1257 | ('vi', 'Vietnamese'),
|
---|
1258 | ('zh-cn', 'Simplified Chinese'),
|
---|
1259 | ('zh-tw', 'Traditional Chinese'))</div></td>
|
---|
1260 | </tr>
|
---|
1261 |
|
---|
1262 | <tr>
|
---|
1263 | <td>LANGUAGES_BIDI</td>
|
---|
1264 | <td class="code"><div>('he', 'ar', 'fa')</div></td>
|
---|
1265 | </tr>
|
---|
1266 |
|
---|
1267 | <tr>
|
---|
1268 | <td>LANGUAGE_CODE</td>
|
---|
1269 | <td class="code"><div>'en-us'</div></td>
|
---|
1270 | </tr>
|
---|
1271 |
|
---|
1272 | <tr>
|
---|
1273 | <td>LANGUAGE_COOKIE_NAME</td>
|
---|
1274 | <td class="code"><div>'django_language'</div></td>
|
---|
1275 | </tr>
|
---|
1276 |
|
---|
1277 | <tr>
|
---|
1278 | <td>LOCALE_PATHS</td>
|
---|
1279 | <td class="code"><div>()</div></td>
|
---|
1280 | </tr>
|
---|
1281 |
|
---|
1282 | <tr>
|
---|
1283 | <td>LOGIN_REDIRECT_URL</td>
|
---|
1284 | <td class="code"><div>'/accounts/profile/'</div></td>
|
---|
1285 | </tr>
|
---|
1286 |
|
---|
1287 | <tr>
|
---|
1288 | <td>LOGIN_URL</td>
|
---|
1289 | <td class="code"><div>'/accounts/login/'</div></td>
|
---|
1290 | </tr>
|
---|
1291 |
|
---|
1292 | <tr>
|
---|
1293 | <td>LOGOUT_URL</td>
|
---|
1294 | <td class="code"><div>'/accounts/logout/'</div></td>
|
---|
1295 | </tr>
|
---|
1296 |
|
---|
1297 | <tr>
|
---|
1298 | <td>MANAGERS</td>
|
---|
1299 | <td class="code"><div>()</div></td>
|
---|
1300 | </tr>
|
---|
1301 |
|
---|
1302 | <tr>
|
---|
1303 | <td>MEDIA_ROOT</td>
|
---|
1304 | <td class="code"><div>''</div></td>
|
---|
1305 | </tr>
|
---|
1306 |
|
---|
1307 | <tr>
|
---|
1308 | <td>MEDIA_URL</td>
|
---|
1309 | <td class="code"><div>''</div></td>
|
---|
1310 | </tr>
|
---|
1311 |
|
---|
1312 | <tr>
|
---|
1313 | <td>MESSAGE_STORAGE</td>
|
---|
1314 | <td class="code"><div>'django.contrib.messages.storage.user_messages.LegacyFallbackStorage'</div></td>
|
---|
1315 | </tr>
|
---|
1316 |
|
---|
1317 | <tr>
|
---|
1318 | <td>MIDDLEWARE_CLASSES</td>
|
---|
1319 | <td class="code"><div>('django.middleware.common.CommonMiddleware',
|
---|
1320 | 'django.contrib.sessions.middleware.SessionMiddleware',
|
---|
1321 | 'django.middleware.csrf.CsrfViewMiddleware',
|
---|
1322 | 'django.contrib.auth.middleware.AuthenticationMiddleware',
|
---|
1323 | 'django.contrib.messages.middleware.MessageMiddleware')</div></td>
|
---|
1324 | </tr>
|
---|
1325 |
|
---|
1326 | <tr>
|
---|
1327 | <td>MONTH_DAY_FORMAT</td>
|
---|
1328 | <td class="code"><div>'F j'</div></td>
|
---|
1329 | </tr>
|
---|
1330 |
|
---|
1331 | <tr>
|
---|
1332 | <td>NUMBER_GROUPING</td>
|
---|
1333 | <td class="code"><div>0</div></td>
|
---|
1334 | </tr>
|
---|
1335 |
|
---|
1336 | <tr>
|
---|
1337 | <td>PASSWORD_RESET_TIMEOUT_DAYS</td>
|
---|
1338 | <td class="code"><div>'********************'</div></td>
|
---|
1339 | </tr>
|
---|
1340 |
|
---|
1341 | <tr>
|
---|
1342 | <td>PREPEND_WWW</td>
|
---|
1343 | <td class="code"><div>False</div></td>
|
---|
1344 | </tr>
|
---|
1345 |
|
---|
1346 | <tr>
|
---|
1347 | <td>PROFANITIES_LIST</td>
|
---|
1348 | <td class="code"><div>'********************'</div></td>
|
---|
1349 | </tr>
|
---|
1350 |
|
---|
1351 | <tr>
|
---|
1352 | <td>ROOT_URLCONF</td>
|
---|
1353 | <td class="code"><div>'django_test.urls'</div></td>
|
---|
1354 | </tr>
|
---|
1355 |
|
---|
1356 | <tr>
|
---|
1357 | <td>SECRET_KEY</td>
|
---|
1358 | <td class="code"><div>'********************'</div></td>
|
---|
1359 | </tr>
|
---|
1360 |
|
---|
1361 | <tr>
|
---|
1362 | <td>SEND_BROKEN_LINK_EMAILS</td>
|
---|
1363 | <td class="code"><div>False</div></td>
|
---|
1364 | </tr>
|
---|
1365 |
|
---|
1366 | <tr>
|
---|
1367 | <td>SERVER_EMAIL</td>
|
---|
1368 | <td class="code"><div>'root@localhost'</div></td>
|
---|
1369 | </tr>
|
---|
1370 |
|
---|
1371 | <tr>
|
---|
1372 | <td>SESSION_COOKIE_AGE</td>
|
---|
1373 | <td class="code"><div>1209600</div></td>
|
---|
1374 | </tr>
|
---|
1375 |
|
---|
1376 | <tr>
|
---|
1377 | <td>SESSION_COOKIE_DOMAIN</td>
|
---|
1378 | <td class="code"><div>None</div></td>
|
---|
1379 | </tr>
|
---|
1380 |
|
---|
1381 | <tr>
|
---|
1382 | <td>SESSION_COOKIE_NAME</td>
|
---|
1383 | <td class="code"><div>'sessionid'</div></td>
|
---|
1384 | </tr>
|
---|
1385 |
|
---|
1386 | <tr>
|
---|
1387 | <td>SESSION_COOKIE_PATH</td>
|
---|
1388 | <td class="code"><div>'/'</div></td>
|
---|
1389 | </tr>
|
---|
1390 |
|
---|
1391 | <tr>
|
---|
1392 | <td>SESSION_COOKIE_SECURE</td>
|
---|
1393 | <td class="code"><div>False</div></td>
|
---|
1394 | </tr>
|
---|
1395 |
|
---|
1396 | <tr>
|
---|
1397 | <td>SESSION_ENGINE</td>
|
---|
1398 | <td class="code"><div>'django.contrib.sessions.backends.db'</div></td>
|
---|
1399 | </tr>
|
---|
1400 |
|
---|
1401 | <tr>
|
---|
1402 | <td>SESSION_EXPIRE_AT_BROWSER_CLOSE</td>
|
---|
1403 | <td class="code"><div>False</div></td>
|
---|
1404 | </tr>
|
---|
1405 |
|
---|
1406 | <tr>
|
---|
1407 | <td>SESSION_FILE_PATH</td>
|
---|
1408 | <td class="code"><div>None</div></td>
|
---|
1409 | </tr>
|
---|
1410 |
|
---|
1411 | <tr>
|
---|
1412 | <td>SESSION_SAVE_EVERY_REQUEST</td>
|
---|
1413 | <td class="code"><div>False</div></td>
|
---|
1414 | </tr>
|
---|
1415 |
|
---|
1416 | <tr>
|
---|
1417 | <td>SETTINGS_MODULE</td>
|
---|
1418 | <td class="code"><div>'django_test.settings'</div></td>
|
---|
1419 | </tr>
|
---|
1420 |
|
---|
1421 | <tr>
|
---|
1422 | <td>SHORT_DATETIME_FORMAT</td>
|
---|
1423 | <td class="code"><div>'m/d/Y P'</div></td>
|
---|
1424 | </tr>
|
---|
1425 |
|
---|
1426 | <tr>
|
---|
1427 | <td>SHORT_DATE_FORMAT</td>
|
---|
1428 | <td class="code"><div>'m/d/Y'</div></td>
|
---|
1429 | </tr>
|
---|
1430 |
|
---|
1431 | <tr>
|
---|
1432 | <td>SITE_ID</td>
|
---|
1433 | <td class="code"><div>1</div></td>
|
---|
1434 | </tr>
|
---|
1435 |
|
---|
1436 | <tr>
|
---|
1437 | <td>TEMPLATE_CONTEXT_PROCESSORS</td>
|
---|
1438 | <td class="code"><div>('django.contrib.auth.context_processors.auth',
|
---|
1439 | 'django.core.context_processors.debug',
|
---|
1440 | 'django.core.context_processors.i18n',
|
---|
1441 | 'django.core.context_processors.media',
|
---|
1442 | 'django.contrib.messages.context_processors.messages')</div></td>
|
---|
1443 | </tr>
|
---|
1444 |
|
---|
1445 | <tr>
|
---|
1446 | <td>TEMPLATE_DEBUG</td>
|
---|
1447 | <td class="code"><div>True</div></td>
|
---|
1448 | </tr>
|
---|
1449 |
|
---|
1450 | <tr>
|
---|
1451 | <td>TEMPLATE_DIRS</td>
|
---|
1452 | <td class="code"><div>('C:/Users/srulix/My Documents/Aptana Studio 3 Workspace/django_test/templates',)</div></td>
|
---|
1453 | </tr>
|
---|
1454 |
|
---|
1455 | <tr>
|
---|
1456 | <td>TEMPLATE_LOADERS</td>
|
---|
1457 | <td class="code"><div>('django.template.loaders.filesystem.Loader',
|
---|
1458 | 'django.template.loaders.app_directories.Loader')</div></td>
|
---|
1459 | </tr>
|
---|
1460 |
|
---|
1461 | <tr>
|
---|
1462 | <td>TEMPLATE_STRING_IF_INVALID</td>
|
---|
1463 | <td class="code"><div>''</div></td>
|
---|
1464 | </tr>
|
---|
1465 |
|
---|
1466 | <tr>
|
---|
1467 | <td>TEST_DATABASE_CHARSET</td>
|
---|
1468 | <td class="code"><div>None</div></td>
|
---|
1469 | </tr>
|
---|
1470 |
|
---|
1471 | <tr>
|
---|
1472 | <td>TEST_DATABASE_COLLATION</td>
|
---|
1473 | <td class="code"><div>None</div></td>
|
---|
1474 | </tr>
|
---|
1475 |
|
---|
1476 | <tr>
|
---|
1477 | <td>TEST_DATABASE_NAME</td>
|
---|
1478 | <td class="code"><div>None</div></td>
|
---|
1479 | </tr>
|
---|
1480 |
|
---|
1481 | <tr>
|
---|
1482 | <td>TEST_RUNNER</td>
|
---|
1483 | <td class="code"><div>'django.test.simple.DjangoTestSuiteRunner'</div></td>
|
---|
1484 | </tr>
|
---|
1485 |
|
---|
1486 | <tr>
|
---|
1487 | <td>THOUSAND_SEPARATOR</td>
|
---|
1488 | <td class="code"><div>','</div></td>
|
---|
1489 | </tr>
|
---|
1490 |
|
---|
1491 | <tr>
|
---|
1492 | <td>TIME_FORMAT</td>
|
---|
1493 | <td class="code"><div>'P'</div></td>
|
---|
1494 | </tr>
|
---|
1495 |
|
---|
1496 | <tr>
|
---|
1497 | <td>TIME_INPUT_FORMATS</td>
|
---|
1498 | <td class="code"><div>('%H:%M:%S', '%H:%M')</div></td>
|
---|
1499 | </tr>
|
---|
1500 |
|
---|
1501 | <tr>
|
---|
1502 | <td>TIME_ZONE</td>
|
---|
1503 | <td class="code"><div>'America/Chicago'</div></td>
|
---|
1504 | </tr>
|
---|
1505 |
|
---|
1506 | <tr>
|
---|
1507 | <td>TRANSACTIONS_MANAGED</td>
|
---|
1508 | <td class="code"><div>False</div></td>
|
---|
1509 | </tr>
|
---|
1510 |
|
---|
1511 | <tr>
|
---|
1512 | <td>URL_VALIDATOR_USER_AGENT</td>
|
---|
1513 | <td class="code"><div>'Django/1.2.3 (http://www.djangoproject.com)'</div></td>
|
---|
1514 | </tr>
|
---|
1515 |
|
---|
1516 | <tr>
|
---|
1517 | <td>USE_ETAGS</td>
|
---|
1518 | <td class="code"><div>False</div></td>
|
---|
1519 | </tr>
|
---|
1520 |
|
---|
1521 | <tr>
|
---|
1522 | <td>USE_I18N</td>
|
---|
1523 | <td class="code"><div>True</div></td>
|
---|
1524 | </tr>
|
---|
1525 |
|
---|
1526 | <tr>
|
---|
1527 | <td>USE_L10N</td>
|
---|
1528 | <td class="code"><div>True</div></td>
|
---|
1529 | </tr>
|
---|
1530 |
|
---|
1531 | <tr>
|
---|
1532 | <td>USE_THOUSAND_SEPARATOR</td>
|
---|
1533 | <td class="code"><div>False</div></td>
|
---|
1534 | </tr>
|
---|
1535 |
|
---|
1536 | <tr>
|
---|
1537 | <td>YEAR_MONTH_FORMAT</td>
|
---|
1538 | <td class="code"><div>'F Y'</div></td>
|
---|
1539 | </tr>
|
---|
1540 |
|
---|
1541 | </tbody>
|
---|
1542 | </table>
|
---|
1543 |
|
---|
1544 | </div>
|
---|
1545 |
|
---|
1546 | <div id="explanation">
|
---|
1547 | <p>
|
---|
1548 | You're seeing this error because you have <code>DEBUG = True</code> in your
|
---|
1549 | Django settings file. Change that to <code>False</code>, and Django will
|
---|
1550 | display a standard 500 page.
|
---|
1551 | </p>
|
---|
1552 | </div>
|
---|
1553 | </body>
|
---|
1554 | </html>
|
---|