1 | <!DOCTYPE html>
|
---|
2 | <!-- saved from url=(0027)http://localhost:8000/admin -->
|
---|
3 | <html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
---|
4 |
|
---|
5 | <meta name="robots" content="NONE,NOARCHIVE">
|
---|
6 | <title>ImportError at /admin</title>
|
---|
7 | <style type="text/css">
|
---|
8 | html * { padding:0; margin:0; }
|
---|
9 | body * { padding:10px 20px; }
|
---|
10 | body * * { padding:0; }
|
---|
11 | body { font:small sans-serif; }
|
---|
12 | body>div { border-bottom:1px solid #ddd; }
|
---|
13 | h1 { font-weight:normal; }
|
---|
14 | h2 { margin-bottom:.8em; }
|
---|
15 | h2 span { font-size:80%; color:#666; font-weight:normal; }
|
---|
16 | h3 { margin:1em 0 .5em 0; }
|
---|
17 | h4 { margin:0 0 .5em 0; font-weight: normal; }
|
---|
18 | code, pre { font-size: 100%; white-space: pre-wrap; }
|
---|
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 pre { 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; color: #222; }
|
---|
30 | ul.traceback li.frame { padding-bottom:1em; color:#666; }
|
---|
31 | ul.traceback li.user { background-color:#e0e0e0; color:#000 }
|
---|
32 | div.context { padding:10px 0; overflow:hidden; }
|
---|
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:#777; cursor:pointer; }
|
---|
35 | div.context ol li pre { display:inline; }
|
---|
36 | div.context ol.context-line li { color:#505050; background-color:#dfdfdf; }
|
---|
37 | div.context ol.context-line li span { position:absolute; right:32px; }
|
---|
38 | .user div.context ol.context-line li { background-color:#bbb; color:#000; }
|
---|
39 | .user div.context ol li { color:#666; }
|
---|
40 | div.commands { margin-left: 40px; }
|
---|
41 | div.commands a { color:#555; text-decoration:none; }
|
---|
42 | .user div.commands a { color: black; }
|
---|
43 | #summary { background: #ffc; }
|
---|
44 | #summary h2 { font-weight: normal; color: #666; }
|
---|
45 | #explanation { background:#eee; }
|
---|
46 | #template, #template-not-exist { background:#f6f6f6; }
|
---|
47 | #template-not-exist ul { margin: 0 0 0 20px; }
|
---|
48 | #unicode-hint { background:#eee; }
|
---|
49 | #traceback { background:#eee; }
|
---|
50 | #requestinfo { background:#f6f6f6; padding-left:120px; }
|
---|
51 | #summary table { border:none; background:transparent; }
|
---|
52 | #requestinfo h2, #requestinfo h3 { position:relative; margin-left:-100px; }
|
---|
53 | #requestinfo h3 { margin-bottom:-1em; }
|
---|
54 | .error { background: #ffc; }
|
---|
55 | .specific { color:#cc3300; font-weight:bold; }
|
---|
56 | h2 span.commands { font-size:.7em;}
|
---|
57 | span.commands a:link {color:#5E5694;}
|
---|
58 | pre.exception_value { font-family: sans-serif; color: #666; font-size: 1.5em; margin: 10px 0 10px 0; }
|
---|
59 | </style>
|
---|
60 |
|
---|
61 | <script type="text/javascript">
|
---|
62 | //<!--
|
---|
63 | function getElementsByClassName(oElm, strTagName, strClassName){
|
---|
64 | // Written by Jonathan Snook, http://www.snook.ca/jon; Add-ons by Robert Nyman, http://www.robertnyman.com
|
---|
65 | var arrElements = (strTagName == "*" && document.all)? document.all :
|
---|
66 | oElm.getElementsByTagName(strTagName);
|
---|
67 | var arrReturnElements = new Array();
|
---|
68 | strClassName = strClassName.replace(/\-/g, "\-");
|
---|
69 | var oRegExp = new RegExp("(^|\s)" + strClassName + "(\s|$)");
|
---|
70 | var oElement;
|
---|
71 | for(var i=0; i<arrElements.length; i++){
|
---|
72 | oElement = arrElements[i];
|
---|
73 | if(oRegExp.test(oElement.className)){
|
---|
74 | arrReturnElements.push(oElement);
|
---|
75 | }
|
---|
76 | }
|
---|
77 | return (arrReturnElements)
|
---|
78 | }
|
---|
79 | function hideAll(elems) {
|
---|
80 | for (var e = 0; e < elems.length; e++) {
|
---|
81 | elems[e].style.display = 'none';
|
---|
82 | }
|
---|
83 | }
|
---|
84 | window.onload = function() {
|
---|
85 | hideAll(getElementsByClassName(document, 'table', 'vars'));
|
---|
86 | hideAll(getElementsByClassName(document, 'ol', 'pre-context'));
|
---|
87 | hideAll(getElementsByClassName(document, 'ol', 'post-context'));
|
---|
88 | hideAll(getElementsByClassName(document, 'div', 'pastebin'));
|
---|
89 | }
|
---|
90 | function toggle() {
|
---|
91 | for (var i = 0; i < arguments.length; i++) {
|
---|
92 | var e = document.getElementById(arguments[i]);
|
---|
93 | if (e) {
|
---|
94 | e.style.display = e.style.display == 'none' ? 'block' : 'none';
|
---|
95 | }
|
---|
96 | }
|
---|
97 | return false;
|
---|
98 | }
|
---|
99 | function varToggle(link, id) {
|
---|
100 | toggle('v' + id);
|
---|
101 | var s = link.getElementsByTagName('span')[0];
|
---|
102 | var uarr = String.fromCharCode(0x25b6);
|
---|
103 | var darr = String.fromCharCode(0x25bc);
|
---|
104 | s.innerHTML = s.innerHTML == uarr ? darr : uarr;
|
---|
105 | return false;
|
---|
106 | }
|
---|
107 | function switchPastebinFriendly(link) {
|
---|
108 | s1 = "Switch to copy-and-paste view";
|
---|
109 | s2 = "Switch back to interactive view";
|
---|
110 | link.innerHTML = link.innerHTML == s1 ? s2 : s1;
|
---|
111 | toggle('browserTraceback', 'pastebinTraceback');
|
---|
112 | return false;
|
---|
113 | }
|
---|
114 | //-->
|
---|
115 | </script>
|
---|
116 |
|
---|
117 | </head>
|
---|
118 | <body>
|
---|
119 | <div id="summary">
|
---|
120 | <h1>ImportError at /admin</h1>
|
---|
121 | <pre class="exception_value">cannot import name ListFilter</pre>
|
---|
122 | <table class="meta">
|
---|
123 |
|
---|
124 | <tbody><tr>
|
---|
125 | <th>Request Method:</th>
|
---|
126 | <td>GET</td>
|
---|
127 | </tr>
|
---|
128 | <tr>
|
---|
129 | <th>Request URL:</th>
|
---|
130 | <td>http://localhost:8000/admin</td>
|
---|
131 | </tr>
|
---|
132 |
|
---|
133 | <tr>
|
---|
134 | <th>Django Version:</th>
|
---|
135 | <td>1.4b1</td>
|
---|
136 | </tr>
|
---|
137 |
|
---|
138 | <tr>
|
---|
139 | <th>Exception Type:</th>
|
---|
140 | <td>ImportError</td>
|
---|
141 | </tr>
|
---|
142 |
|
---|
143 |
|
---|
144 | <tr>
|
---|
145 | <th>Exception Value:</th>
|
---|
146 | <td><pre>cannot import name ListFilter</pre></td>
|
---|
147 | </tr>
|
---|
148 |
|
---|
149 |
|
---|
150 | <tr>
|
---|
151 | <th>Exception Location:</th>
|
---|
152 | <td>/Users/fjavieralba/virtualenvs/personal_page/lib/python2.7/site-packages/django/contrib/admin/validation.py in <module>, line 6</td>
|
---|
153 | </tr>
|
---|
154 |
|
---|
155 | <tr>
|
---|
156 | <th>Python Executable:</th>
|
---|
157 | <td>/Users/fjavieralba/virtualenvs/personal_page/bin/python</td>
|
---|
158 | </tr>
|
---|
159 | <tr>
|
---|
160 | <th>Python Version:</th>
|
---|
161 | <td>2.7.1</td>
|
---|
162 | </tr>
|
---|
163 | <tr>
|
---|
164 | <th>Python Path:</th>
|
---|
165 | <td><pre>['/Users/fjavieralba/github/fjavieralba_com',
|
---|
166 | '/Users/fjavieralba/virtualenvs/personal_page/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg',
|
---|
167 | '/Users/fjavieralba/virtualenvs/personal_page/lib/python2.7/site-packages/pip-1.0.2-py2.7.egg',
|
---|
168 | '/Users/fjavieralba/virtualenvs/personal_page/lib/python27.zip',
|
---|
169 | '/Library/Python/2.7/site-packages/pip-1.0.2-py2.7.egg',
|
---|
170 | '/Library/Python/2.7/site-packages/virtualenv-1.6.4-py2.7.egg',
|
---|
171 | '/Library/Python/2.7/site-packages/django_threaded_multihost-1.3_2-py2.5.egg',
|
---|
172 | '/Users/fjavieralba/virtualenvs/personal_page/lib/python2.7',
|
---|
173 | '/Users/fjavieralba/virtualenvs/personal_page/lib/python2.7/plat-darwin',
|
---|
174 | '/Users/fjavieralba/virtualenvs/personal_page/lib/python2.7/plat-mac',
|
---|
175 | '/Users/fjavieralba/virtualenvs/personal_page/lib/python2.7/plat-mac/lib-scriptpackages',
|
---|
176 | '/Users/fjavieralba/virtualenvs/personal_page/Extras/lib/python',
|
---|
177 | '/Users/fjavieralba/virtualenvs/personal_page/lib/python2.7/lib-tk',
|
---|
178 | '/Users/fjavieralba/virtualenvs/personal_page/lib/python2.7/lib-old',
|
---|
179 | '/Users/fjavieralba/virtualenvs/personal_page/lib/python2.7/lib-dynload',
|
---|
180 | '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7',
|
---|
181 | '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin',
|
---|
182 | '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk',
|
---|
183 | '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac',
|
---|
184 | '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages',
|
---|
185 | '/Users/fjavieralba/virtualenvs/personal_page/lib/python2.7/site-packages',
|
---|
186 | '/Library/Python/2.7/site-packages',
|
---|
187 | '/Library/Python/2.7/site-packages/PIL',
|
---|
188 | '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python',
|
---|
189 | '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC']</pre></td>
|
---|
190 | </tr>
|
---|
191 | <tr>
|
---|
192 | <th>Server time:</th>
|
---|
193 | <td>Thu, 16 Feb 2012 17:02:15 +0100</td>
|
---|
194 | </tr>
|
---|
195 | </tbody></table>
|
---|
196 | </div>
|
---|
197 |
|
---|
198 |
|
---|
199 |
|
---|
200 |
|
---|
201 | <div id="traceback">
|
---|
202 | <h2>Traceback <span class="commands"><a href="http://localhost:8000/admin#" onclick="return switchPastebinFriendly(this);">Switch to copy-and-paste view</a></span></h2>
|
---|
203 |
|
---|
204 | <div id="browserTraceback">
|
---|
205 | <ul class="traceback">
|
---|
206 |
|
---|
207 | <li class="frame django">
|
---|
208 | <code>/Users/fjavieralba/virtualenvs/personal_page/lib/python2.7/site-packages/django/core/handlers/base.py</code> in <code>get_response</code>
|
---|
209 |
|
---|
210 |
|
---|
211 | <div class="context" id="c4388738760">
|
---|
212 |
|
---|
213 | <ol start="82" class="pre-context" id="pre4388738760" style="display: block; "><li onclick="toggle('pre4388738760', 'post4388738760')"><pre> urlconf = settings.ROOT_URLCONF</pre></li><li onclick="toggle('pre4388738760', 'post4388738760')"><pre> urlresolvers.set_urlconf(urlconf)</pre></li><li onclick="toggle('pre4388738760', 'post4388738760')"><pre> resolver = urlresolvers.RegexURLResolver(r'^/', urlconf)</pre></li><li onclick="toggle('pre4388738760', 'post4388738760')"><pre> try:</pre></li><li onclick="toggle('pre4388738760', 'post4388738760')"><pre> response = None</pre></li><li onclick="toggle('pre4388738760', 'post4388738760')"><pre> # Apply request middleware</pre></li><li onclick="toggle('pre4388738760', 'post4388738760')"><pre> for middleware_method in self._request_middleware:</pre></li></ol>
|
---|
214 |
|
---|
215 | <ol start="89" class="context-line"><li onclick="toggle('pre4388738760', 'post4388738760')"><pre> response = middleware_method(request)</pre> <span>...</span></li></ol>
|
---|
216 |
|
---|
217 | <ol start="90" class="post-context" id="post4388738760" style="display: block; "><li onclick="toggle('pre4388738760', 'post4388738760')"><pre> if response:</pre></li><li onclick="toggle('pre4388738760', 'post4388738760')"><pre> break</pre></li><li onclick="toggle('pre4388738760', 'post4388738760')"><pre></pre></li><li onclick="toggle('pre4388738760', 'post4388738760')"><pre> if response is None:</pre></li><li onclick="toggle('pre4388738760', 'post4388738760')"><pre> if hasattr(request, "urlconf"):</pre></li><li onclick="toggle('pre4388738760', 'post4388738760')"><pre> # Reset url resolver with a custom urlconf.</pre></li></ol>
|
---|
218 |
|
---|
219 | </div>
|
---|
220 |
|
---|
221 |
|
---|
222 |
|
---|
223 | <div class="commands">
|
---|
224 |
|
---|
225 | <a href="http://localhost:8000/admin#" onclick="return varToggle(this, '4388738760')"><span>▶</span> Local vars</a>
|
---|
226 |
|
---|
227 | </div>
|
---|
228 | <table class="vars" id="v4388738760" style="display: none; ">
|
---|
229 | <thead>
|
---|
230 | <tr>
|
---|
231 | <th>Variable</th>
|
---|
232 | <th>Value</th>
|
---|
233 | </tr>
|
---|
234 | </thead>
|
---|
235 | <tbody>
|
---|
236 |
|
---|
237 | <tr>
|
---|
238 | <td>settings</td>
|
---|
239 | <td class="code"><pre><django.conf.LazySettings object at 0x10513b790></pre></td>
|
---|
240 | </tr>
|
---|
241 |
|
---|
242 | <tr>
|
---|
243 | <td>middleware_method</td>
|
---|
244 | <td class="code"><pre><bound method CommonMiddleware.process_request of <django.middleware.common.CommonMiddleware object at 0x10599a5d0>></pre></td>
|
---|
245 | </tr>
|
---|
246 |
|
---|
247 | <tr>
|
---|
248 | <td>self</td>
|
---|
249 | <td class="code"><pre><django.core.handlers.wsgi.WSGIHandler object at 0x10598ee90></pre></td>
|
---|
250 | </tr>
|
---|
251 |
|
---|
252 | <tr>
|
---|
253 | <td>request</td>
|
---|
254 | <td class="code"><pre>"<WSGIRequest\npath:/admin,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'Apple_PubSub_Socket_Render': '/tmp/launch-EY3qCC/Render',\n 'Apple_Ubiquity_Message': '/tmp/launch-mBY1vs/Apple_Ubiquity_Message',\n 'CLICOLOR': '1',\n 'COMMAND_MODE': 'unix2003',\n 'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': 'text/plain',\n 'DISPLAY': '/tmp/launch-mP4tgn/org.x:0',\n 'DJANGO_SETTINGS_MODULE': 'fjavieralba_com.settings',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HOME': '/Users/fjavieralba',\n 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',\n 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3',\n 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch',\n 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8',\n 'HTTP_CONNECTION': 'keep-alive',\n 'HTTP_HOST': 'localhost:8000',\n 'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11',\n 'LANG': 'es_ES.UTF-8',\n 'LOGNAME': 'fjavieralba',\n 'LSCOLORS': 'ExFxCxDxBxegedabagacad',\n 'NLTK_DATA': '/usr/share/nltk',\n 'OLDPWD': '/Users/fjavieralba/github/fjavieralba_com/fjavieralba_com',\n 'PATH': '/Users/fjavieralba/virtualenvs/personal_page/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/opt/local/bin:/usr/local/git/bin:/Users/fjavieralba/.rvm/bin',\n 'PATH_INFO': u'/admin',\n 'PS1': '(personal_page)\\\\h:\\\\W \\\\u\\\\$ ',\n 'PWD': '/Users/fjavieralba/github/fjavieralba_com',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '127.0.0.1',\n 'REMOTE_HOST': '',\n 'REQUEST_METHOD': 'GET',\n 'RUN_MAIN': 'true',\n 'SCRIPT_NAME': u'',\n 'SECURITYSESSIONID': '186a5',\n 'SERVER_NAME': '1.0.0.127.in-addr.arpa',\n 'SERVER_PORT': '8000',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.1',\n 'SHELL': '/bin/bash',\n 'SHLVL': '1',\n 'SSH_AUTH_SOCK': '/tmp/launch-UBq3xG/Listeners',\n 'TERM': 'xterm-256color',\n 'TERM_PROGRAM': 'Apple_Terminal',\n 'TERM_PROGRAM_VERSION': '303',\n 'TERM_SESSION_ID': 'B408EF2E-235B-482B-8BAF-4E3854F02215',\n 'TMPDIR': '/var/folders/py/lsxmb3_d2r3fwtlzvccr4fzc0000gn/T/',\n 'TZ': 'Europe/Madrid',\n 'USER': 'fjavieralba',\n 'VERSIONER_PYTHON_PREFER_32_BIT': 'no',\n 'VERSIONER_PYTHON_VERSION': '2.7',\n 'VIRTUALENVWRAPPER_HOOK_DIR': '/Users/fjavieralba/virtualenvs',\n 'VIRTUALENVWRAPPER_LOG_DIR': '/Users/fjavieralba/virtualenvs',\n 'VIRTUAL_ENV': '/Users/fjavieralba/virtualenvs/personal_page',\n 'WORKON_HOME': '/Users/fjavieralba/virtualenvs',\n '_': '/Users/fjavieralba/virtualenvs/personal_page/bin/python',\n '__CF_USER_TEXT_ENCODING': '0x1F5:0:0',\n '__array_start': '0',\n '_first': '0',\n '_second': '1',\n 'escape_flag': '1',\n 'rvm_bin_path': '/Users/fjavieralba/.rvm/bin',\n 'rvm_clang_flag': '0',\n 'rvm_debug_flag': '0',\n 'rvm_dump_environment_flag': '0',\n 'rvm_path': '/Users/fjavieralba/.rvm',\n 'rvm_prefix': '/Users/fjavieralba',\n 'rvm_reload_flag': '0',\n 'rvm_trace_flag': '0',\n 'rvm_verbose_flag': '0',\n 'rvm_version': '1.10.0',\n 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x104c68270>,\n 'wsgi.file_wrapper': <class wsgiref.util.FileWrapper at 0x1054d4e88>,\n 'wsgi.input': <socket._fileobject object at 0x1059ae1d0>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>"</pre></td>
|
---|
255 | </tr>
|
---|
256 |
|
---|
257 | <tr>
|
---|
258 | <td>exceptions</td>
|
---|
259 | <td class="code"><pre><module 'django.core.exceptions' from '/Users/fjavieralba/virtualenvs/personal_page/lib/python2.7/site-packages/django/core/exceptions.pyc'></pre></td>
|
---|
260 | </tr>
|
---|
261 |
|
---|
262 | <tr>
|
---|
263 | <td>resolver</td>
|
---|
264 | <td class="code"><pre><RegexURLResolver fjavieralba_com.urls (None:None) ^/></pre></td>
|
---|
265 | </tr>
|
---|
266 |
|
---|
267 | <tr>
|
---|
268 | <td>urlresolvers</td>
|
---|
269 | <td class="code"><pre><module 'django.core.urlresolvers' from '/Users/fjavieralba/virtualenvs/personal_page/lib/python2.7/site-packages/django/core/urlresolvers.pyc'></pre></td>
|
---|
270 | </tr>
|
---|
271 |
|
---|
272 | <tr>
|
---|
273 | <td>response</td>
|
---|
274 | <td class="code"><pre>None</pre></td>
|
---|
275 | </tr>
|
---|
276 |
|
---|
277 | <tr>
|
---|
278 | <td>urlconf</td>
|
---|
279 | <td class="code"><pre>'fjavieralba_com.urls'</pre></td>
|
---|
280 | </tr>
|
---|
281 |
|
---|
282 | </tbody>
|
---|
283 | </table>
|
---|
284 |
|
---|
285 | </li>
|
---|
286 |
|
---|
287 | <li class="frame django">
|
---|
288 | <code>/Users/fjavieralba/virtualenvs/personal_page/lib/python2.7/site-packages/django/middleware/common.py</code> in <code>process_request</code>
|
---|
289 |
|
---|
290 |
|
---|
291 | <div class="context" id="c4388739840">
|
---|
292 |
|
---|
293 | <ol start="60" class="pre-context" id="pre4388739840" style="display: none; "><li onclick="toggle('pre4388739840', 'post4388739840')"><pre> not old_url[0].startswith('www.')):</pre></li><li onclick="toggle('pre4388739840', 'post4388739840')"><pre> new_url[0] = 'www.' + old_url[0]</pre></li><li onclick="toggle('pre4388739840', 'post4388739840')"><pre></pre></li><li onclick="toggle('pre4388739840', 'post4388739840')"><pre> # Append a slash if APPEND_SLASH is set and the URL doesn't have a</pre></li><li onclick="toggle('pre4388739840', 'post4388739840')"><pre> # trailing slash and there is no pattern for the current path</pre></li><li onclick="toggle('pre4388739840', 'post4388739840')"><pre> if settings.APPEND_SLASH and (not old_url[1].endswith('/')):</pre></li><li onclick="toggle('pre4388739840', 'post4388739840')"><pre> urlconf = getattr(request, 'urlconf', None)</pre></li></ol>
|
---|
294 |
|
---|
295 | <ol start="67" class="context-line"><li onclick="toggle('pre4388739840', 'post4388739840')"><pre> if (not _is_valid_path(request.path_info, urlconf) and</pre> <span>...</span></li></ol>
|
---|
296 |
|
---|
297 | <ol start="68" class="post-context" id="post4388739840" style="display: none; "><li onclick="toggle('pre4388739840', 'post4388739840')"><pre> _is_valid_path("%s/" % request.path_info, urlconf)):</pre></li><li onclick="toggle('pre4388739840', 'post4388739840')"><pre> new_url[1] = new_url[1] + '/'</pre></li><li onclick="toggle('pre4388739840', 'post4388739840')"><pre> if settings.DEBUG and request.method == 'POST':</pre></li><li onclick="toggle('pre4388739840', 'post4388739840')"><pre> raise RuntimeError((""</pre></li><li onclick="toggle('pre4388739840', 'post4388739840')"><pre> "You called this URL via POST, but the URL doesn't end "</pre></li><li onclick="toggle('pre4388739840', 'post4388739840')"><pre> "in a slash and you have APPEND_SLASH set. Django can't "</pre></li></ol>
|
---|
298 |
|
---|
299 | </div>
|
---|
300 |
|
---|
301 |
|
---|
302 |
|
---|
303 | <div class="commands">
|
---|
304 |
|
---|
305 | <a href="http://localhost:8000/admin#" onclick="return varToggle(this, '4388739840')"><span>▶</span> Local vars</a>
|
---|
306 |
|
---|
307 | </div>
|
---|
308 | <table class="vars" id="v4388739840" style="display: none; ">
|
---|
309 | <thead>
|
---|
310 | <tr>
|
---|
311 | <th>Variable</th>
|
---|
312 | <th>Value</th>
|
---|
313 | </tr>
|
---|
314 | </thead>
|
---|
315 | <tbody>
|
---|
316 |
|
---|
317 | <tr>
|
---|
318 | <td>self</td>
|
---|
319 | <td class="code"><pre><django.middleware.common.CommonMiddleware object at 0x10599a5d0></pre></td>
|
---|
320 | </tr>
|
---|
321 |
|
---|
322 | <tr>
|
---|
323 | <td>new_url</td>
|
---|
324 | <td class="code"><pre>['localhost:8000', u'/admin']</pre></td>
|
---|
325 | </tr>
|
---|
326 |
|
---|
327 | <tr>
|
---|
328 | <td>request</td>
|
---|
329 | <td class="code"><pre>"<WSGIRequest\npath:/admin,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'Apple_PubSub_Socket_Render': '/tmp/launch-EY3qCC/Render',\n 'Apple_Ubiquity_Message': '/tmp/launch-mBY1vs/Apple_Ubiquity_Message',\n 'CLICOLOR': '1',\n 'COMMAND_MODE': 'unix2003',\n 'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': 'text/plain',\n 'DISPLAY': '/tmp/launch-mP4tgn/org.x:0',\n 'DJANGO_SETTINGS_MODULE': 'fjavieralba_com.settings',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HOME': '/Users/fjavieralba',\n 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',\n 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3',\n 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch',\n 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8',\n 'HTTP_CONNECTION': 'keep-alive',\n 'HTTP_HOST': 'localhost:8000',\n 'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11',\n 'LANG': 'es_ES.UTF-8',\n 'LOGNAME': 'fjavieralba',\n 'LSCOLORS': 'ExFxCxDxBxegedabagacad',\n 'NLTK_DATA': '/usr/share/nltk',\n 'OLDPWD': '/Users/fjavieralba/github/fjavieralba_com/fjavieralba_com',\n 'PATH': '/Users/fjavieralba/virtualenvs/personal_page/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/opt/local/bin:/usr/local/git/bin:/Users/fjavieralba/.rvm/bin',\n 'PATH_INFO': u'/admin',\n 'PS1': '(personal_page)\\\\h:\\\\W \\\\u\\\\$ ',\n 'PWD': '/Users/fjavieralba/github/fjavieralba_com',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '127.0.0.1',\n 'REMOTE_HOST': '',\n 'REQUEST_METHOD': 'GET',\n 'RUN_MAIN': 'true',\n 'SCRIPT_NAME': u'',\n 'SECURITYSESSIONID': '186a5',\n 'SERVER_NAME': '1.0.0.127.in-addr.arpa',\n 'SERVER_PORT': '8000',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.1',\n 'SHELL': '/bin/bash',\n 'SHLVL': '1',\n 'SSH_AUTH_SOCK': '/tmp/launch-UBq3xG/Listeners',\n 'TERM': 'xterm-256color',\n 'TERM_PROGRAM': 'Apple_Terminal',\n 'TERM_PROGRAM_VERSION': '303',\n 'TERM_SESSION_ID': 'B408EF2E-235B-482B-8BAF-4E3854F02215',\n 'TMPDIR': '/var/folders/py/lsxmb3_d2r3fwtlzvccr4fzc0000gn/T/',\n 'TZ': 'Europe/Madrid',\n 'USER': 'fjavieralba',\n 'VERSIONER_PYTHON_PREFER_32_BIT': 'no',\n 'VERSIONER_PYTHON_VERSION': '2.7',\n 'VIRTUALENVWRAPPER_HOOK_DIR': '/Users/fjavieralba/virtualenvs',\n 'VIRTUALENVWRAPPER_LOG_DIR': '/Users/fjavieralba/virtualenvs',\n 'VIRTUAL_ENV': '/Users/fjavieralba/virtualenvs/personal_page',\n 'WORKON_HOME': '/Users/fjavieralba/virtualenvs',\n '_': '/Users/fjavieralba/virtualenvs/personal_page/bin/python',\n '__CF_USER_TEXT_ENCODING': '0x1F5:0:0',\n '__array_start': '0',\n '_first': '0',\n '_second': '1',\n 'escape_flag': '1',\n 'rvm_bin_path': '/Users/fjavieralba/.rvm/bin',\n 'rvm_clang_flag': '0',\n 'rvm_debug_flag': '0',\n 'rvm_dump_environment_flag': '0',\n 'rvm_path': '/Users/fjavieralba/.rvm',\n 'rvm_prefix': '/Users/fjavieralba',\n 'rvm_reload_flag': '0',\n 'rvm_trace_flag': '0',\n 'rvm_verbose_flag': '0',\n 'rvm_version': '1.10.0',\n 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x104c68270>,\n 'wsgi.file_wrapper': <class wsgiref.util.FileWrapper at 0x1054d4e88>,\n 'wsgi.input': <socket._fileobject object at 0x1059ae1d0>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>"</pre></td>
|
---|
330 | </tr>
|
---|
331 |
|
---|
332 | <tr>
|
---|
333 | <td>host</td>
|
---|
334 | <td class="code"><pre>'localhost:8000'</pre></td>
|
---|
335 | </tr>
|
---|
336 |
|
---|
337 | <tr>
|
---|
338 | <td>old_url</td>
|
---|
339 | <td class="code"><pre>['localhost:8000', u'/admin']</pre></td>
|
---|
340 | </tr>
|
---|
341 |
|
---|
342 | <tr>
|
---|
343 | <td>urlconf</td>
|
---|
344 | <td class="code"><pre>None</pre></td>
|
---|
345 | </tr>
|
---|
346 |
|
---|
347 | </tbody>
|
---|
348 | </table>
|
---|
349 |
|
---|
350 | </li>
|
---|
351 |
|
---|
352 | <li class="frame django">
|
---|
353 | <code>/Users/fjavieralba/virtualenvs/personal_page/lib/python2.7/site-packages/django/middleware/common.py</code> in <code>_is_valid_path</code>
|
---|
354 |
|
---|
355 |
|
---|
356 | <div class="context" id="c4388740200">
|
---|
357 |
|
---|
358 | <ol start="157" class="pre-context" id="pre4388740200" style="display: none; "><li onclick="toggle('pre4388740200', 'post4388740200')"><pre> Returns True if the given path resolves against the default URL resolver,</pre></li><li onclick="toggle('pre4388740200', 'post4388740200')"><pre> False otherwise.</pre></li><li onclick="toggle('pre4388740200', 'post4388740200')"><pre></pre></li><li onclick="toggle('pre4388740200', 'post4388740200')"><pre> This is a convenience method to make working with "is this a match?" cases</pre></li><li onclick="toggle('pre4388740200', 'post4388740200')"><pre> easier, avoiding unnecessarily indented try...except blocks.</pre></li><li onclick="toggle('pre4388740200', 'post4388740200')"><pre> """</pre></li><li onclick="toggle('pre4388740200', 'post4388740200')"><pre> try:</pre></li></ol>
|
---|
359 |
|
---|
360 | <ol start="164" class="context-line"><li onclick="toggle('pre4388740200', 'post4388740200')"><pre> urlresolvers.resolve(path, urlconf)</pre> <span>...</span></li></ol>
|
---|
361 |
|
---|
362 | <ol start="165" class="post-context" id="post4388740200" style="display: none; "><li onclick="toggle('pre4388740200', 'post4388740200')"><pre> return True</pre></li><li onclick="toggle('pre4388740200', 'post4388740200')"><pre> except urlresolvers.Resolver404:</pre></li><li onclick="toggle('pre4388740200', 'post4388740200')"><pre> return False</pre></li><li onclick="toggle('pre4388740200', 'post4388740200')"><pre></pre></li></ol>
|
---|
363 |
|
---|
364 | </div>
|
---|
365 |
|
---|
366 |
|
---|
367 |
|
---|
368 | <div class="commands">
|
---|
369 |
|
---|
370 | <a href="http://localhost:8000/admin#" onclick="return varToggle(this, '4388740200')"><span>▶</span> Local vars</a>
|
---|
371 |
|
---|
372 | </div>
|
---|
373 | <table class="vars" id="v4388740200" style="display: none; ">
|
---|
374 | <thead>
|
---|
375 | <tr>
|
---|
376 | <th>Variable</th>
|
---|
377 | <th>Value</th>
|
---|
378 | </tr>
|
---|
379 | </thead>
|
---|
380 | <tbody>
|
---|
381 |
|
---|
382 | <tr>
|
---|
383 | <td>path</td>
|
---|
384 | <td class="code"><pre>u'/admin'</pre></td>
|
---|
385 | </tr>
|
---|
386 |
|
---|
387 | <tr>
|
---|
388 | <td>urlconf</td>
|
---|
389 | <td class="code"><pre>None</pre></td>
|
---|
390 | </tr>
|
---|
391 |
|
---|
392 | </tbody>
|
---|
393 | </table>
|
---|
394 |
|
---|
395 | </li>
|
---|
396 |
|
---|
397 | <li class="frame django">
|
---|
398 | <code>/Users/fjavieralba/virtualenvs/personal_page/lib/python2.7/site-packages/django/core/urlresolvers.py</code> in <code>resolve</code>
|
---|
399 |
|
---|
400 |
|
---|
401 | <div class="context" id="c4388741064">
|
---|
402 |
|
---|
403 | <ol start="413" class="pre-context" id="pre4388741064" style="display: none; "><li onclick="toggle('pre4388741064', 'post4388741064')"><pre> regex_compiled = re.compile('^%s/' % language_code, re.UNICODE)</pre></li><li onclick="toggle('pre4388741064', 'post4388741064')"><pre> self._regex_dict[language_code] = regex_compiled</pre></li><li onclick="toggle('pre4388741064', 'post4388741064')"><pre> return self._regex_dict[language_code]</pre></li><li onclick="toggle('pre4388741064', 'post4388741064')"><pre></pre></li><li onclick="toggle('pre4388741064', 'post4388741064')"><pre>def resolve(path, urlconf=None):</pre></li><li onclick="toggle('pre4388741064', 'post4388741064')"><pre> if urlconf is None:</pre></li><li onclick="toggle('pre4388741064', 'post4388741064')"><pre> urlconf = get_urlconf()</pre></li></ol>
|
---|
404 |
|
---|
405 | <ol start="420" class="context-line"><li onclick="toggle('pre4388741064', 'post4388741064')"><pre> return get_resolver(urlconf).resolve(path)</pre> <span>...</span></li></ol>
|
---|
406 |
|
---|
407 | <ol start="421" class="post-context" id="post4388741064" style="display: none; "><li onclick="toggle('pre4388741064', 'post4388741064')"><pre></pre></li><li onclick="toggle('pre4388741064', 'post4388741064')"><pre>def reverse(viewname, urlconf=None, args=None, kwargs=None, prefix=None, current_app=None):</pre></li><li onclick="toggle('pre4388741064', 'post4388741064')"><pre> if urlconf is None:</pre></li><li onclick="toggle('pre4388741064', 'post4388741064')"><pre> urlconf = get_urlconf()</pre></li><li onclick="toggle('pre4388741064', 'post4388741064')"><pre> resolver = get_resolver(urlconf)</pre></li><li onclick="toggle('pre4388741064', 'post4388741064')"><pre> args = args or []</pre></li></ol>
|
---|
408 |
|
---|
409 | </div>
|
---|
410 |
|
---|
411 |
|
---|
412 |
|
---|
413 | <div class="commands">
|
---|
414 |
|
---|
415 | <a href="http://localhost:8000/admin#" onclick="return varToggle(this, '4388741064')"><span>▶</span> Local vars</a>
|
---|
416 |
|
---|
417 | </div>
|
---|
418 | <table class="vars" id="v4388741064" style="display: none; ">
|
---|
419 | <thead>
|
---|
420 | <tr>
|
---|
421 | <th>Variable</th>
|
---|
422 | <th>Value</th>
|
---|
423 | </tr>
|
---|
424 | </thead>
|
---|
425 | <tbody>
|
---|
426 |
|
---|
427 | <tr>
|
---|
428 | <td>path</td>
|
---|
429 | <td class="code"><pre>u'/admin'</pre></td>
|
---|
430 | </tr>
|
---|
431 |
|
---|
432 | <tr>
|
---|
433 | <td>urlconf</td>
|
---|
434 | <td class="code"><pre>'fjavieralba_com.urls'</pre></td>
|
---|
435 | </tr>
|
---|
436 |
|
---|
437 | </tbody>
|
---|
438 | </table>
|
---|
439 |
|
---|
440 | </li>
|
---|
441 |
|
---|
442 | <li class="frame django">
|
---|
443 | <code>/Users/fjavieralba/virtualenvs/personal_page/lib/python2.7/site-packages/django/core/urlresolvers.py</code> in <code>resolve</code>
|
---|
444 |
|
---|
445 |
|
---|
446 | <div class="context" id="c4388884208">
|
---|
447 |
|
---|
448 | <ol start="291" class="pre-context" id="pre4388884208" style="display: none; "><li onclick="toggle('pre4388884208', 'post4388884208')"><pre> return self._app_dict[language_code]</pre></li><li onclick="toggle('pre4388884208', 'post4388884208')"><pre></pre></li><li onclick="toggle('pre4388884208', 'post4388884208')"><pre> def resolve(self, path):</pre></li><li onclick="toggle('pre4388884208', 'post4388884208')"><pre> tried = []</pre></li><li onclick="toggle('pre4388884208', 'post4388884208')"><pre> match = self.regex.search(path)</pre></li><li onclick="toggle('pre4388884208', 'post4388884208')"><pre> if match:</pre></li><li onclick="toggle('pre4388884208', 'post4388884208')"><pre> new_path = path[match.end():]</pre></li></ol>
|
---|
449 |
|
---|
450 | <ol start="298" class="context-line"><li onclick="toggle('pre4388884208', 'post4388884208')"><pre> for pattern in self.url_patterns:</pre> <span>...</span></li></ol>
|
---|
451 |
|
---|
452 | <ol start="299" class="post-context" id="post4388884208" style="display: none; "><li onclick="toggle('pre4388884208', 'post4388884208')"><pre> try:</pre></li><li onclick="toggle('pre4388884208', 'post4388884208')"><pre> sub_match = pattern.resolve(new_path)</pre></li><li onclick="toggle('pre4388884208', 'post4388884208')"><pre> except Resolver404, e:</pre></li><li onclick="toggle('pre4388884208', 'post4388884208')"><pre> sub_tried = e.args[0].get('tried')</pre></li><li onclick="toggle('pre4388884208', 'post4388884208')"><pre> if sub_tried is not None:</pre></li><li onclick="toggle('pre4388884208', 'post4388884208')"><pre> tried.extend([[pattern] + t for t in sub_tried])</pre></li></ol>
|
---|
453 |
|
---|
454 | </div>
|
---|
455 |
|
---|
456 |
|
---|
457 |
|
---|
458 | <div class="commands">
|
---|
459 |
|
---|
460 | <a href="http://localhost:8000/admin#" onclick="return varToggle(this, '4388884208')"><span>▶</span> Local vars</a>
|
---|
461 |
|
---|
462 | </div>
|
---|
463 | <table class="vars" id="v4388884208" style="display: none; ">
|
---|
464 | <thead>
|
---|
465 | <tr>
|
---|
466 | <th>Variable</th>
|
---|
467 | <th>Value</th>
|
---|
468 | </tr>
|
---|
469 | </thead>
|
---|
470 | <tbody>
|
---|
471 |
|
---|
472 | <tr>
|
---|
473 | <td>path</td>
|
---|
474 | <td class="code"><pre>u'/admin'</pre></td>
|
---|
475 | </tr>
|
---|
476 |
|
---|
477 | <tr>
|
---|
478 | <td>self</td>
|
---|
479 | <td class="code"><pre><RegexURLResolver fjavieralba_com.urls (None:None) ^/></pre></td>
|
---|
480 | </tr>
|
---|
481 |
|
---|
482 | <tr>
|
---|
483 | <td>new_path</td>
|
---|
484 | <td class="code"><pre>u'admin'</pre></td>
|
---|
485 | </tr>
|
---|
486 |
|
---|
487 | <tr>
|
---|
488 | <td>tried</td>
|
---|
489 | <td class="code"><pre>[]</pre></td>
|
---|
490 | </tr>
|
---|
491 |
|
---|
492 | <tr>
|
---|
493 | <td>match</td>
|
---|
494 | <td class="code"><pre><_sre.SRE_Match object at 0x10598dcc8></pre></td>
|
---|
495 | </tr>
|
---|
496 |
|
---|
497 | </tbody>
|
---|
498 | </table>
|
---|
499 |
|
---|
500 | </li>
|
---|
501 |
|
---|
502 | <li class="frame django">
|
---|
503 | <code>/Users/fjavieralba/virtualenvs/personal_page/lib/python2.7/site-packages/django/core/urlresolvers.py</code> in <code>url_patterns</code>
|
---|
504 |
|
---|
505 |
|
---|
506 | <div class="context" id="c4388884280">
|
---|
507 |
|
---|
508 | <ol start="321" class="pre-context" id="pre4388884280" style="display: none; "><li onclick="toggle('pre4388884280', 'post4388884280')"><pre> return self._urlconf_module</pre></li><li onclick="toggle('pre4388884280', 'post4388884280')"><pre> except AttributeError:</pre></li><li onclick="toggle('pre4388884280', 'post4388884280')"><pre> self._urlconf_module = import_module(self.urlconf_name)</pre></li><li onclick="toggle('pre4388884280', 'post4388884280')"><pre> return self._urlconf_module</pre></li><li onclick="toggle('pre4388884280', 'post4388884280')"><pre></pre></li><li onclick="toggle('pre4388884280', 'post4388884280')"><pre> @property</pre></li><li onclick="toggle('pre4388884280', 'post4388884280')"><pre> def url_patterns(self):</pre></li></ol>
|
---|
509 |
|
---|
510 | <ol start="328" class="context-line"><li onclick="toggle('pre4388884280', 'post4388884280')"><pre> patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)</pre> <span>...</span></li></ol>
|
---|
511 |
|
---|
512 | <ol start="329" class="post-context" id="post4388884280" style="display: none; "><li onclick="toggle('pre4388884280', 'post4388884280')"><pre> try:</pre></li><li onclick="toggle('pre4388884280', 'post4388884280')"><pre> iter(patterns)</pre></li><li onclick="toggle('pre4388884280', 'post4388884280')"><pre> except TypeError:</pre></li><li onclick="toggle('pre4388884280', 'post4388884280')"><pre> raise ImproperlyConfigured("The included urlconf %s doesn't have any patterns in it" % self.urlconf_name)</pre></li><li onclick="toggle('pre4388884280', 'post4388884280')"><pre> return patterns</pre></li><li onclick="toggle('pre4388884280', 'post4388884280')"><pre></pre></li></ol>
|
---|
513 |
|
---|
514 | </div>
|
---|
515 |
|
---|
516 |
|
---|
517 |
|
---|
518 | <div class="commands">
|
---|
519 |
|
---|
520 | <a href="http://localhost:8000/admin#" onclick="return varToggle(this, '4388884280')"><span>▶</span> Local vars</a>
|
---|
521 |
|
---|
522 | </div>
|
---|
523 | <table class="vars" id="v4388884280" style="display: none; ">
|
---|
524 | <thead>
|
---|
525 | <tr>
|
---|
526 | <th>Variable</th>
|
---|
527 | <th>Value</th>
|
---|
528 | </tr>
|
---|
529 | </thead>
|
---|
530 | <tbody>
|
---|
531 |
|
---|
532 | <tr>
|
---|
533 | <td>self</td>
|
---|
534 | <td class="code"><pre><RegexURLResolver fjavieralba_com.urls (None:None) ^/></pre></td>
|
---|
535 | </tr>
|
---|
536 |
|
---|
537 | </tbody>
|
---|
538 | </table>
|
---|
539 |
|
---|
540 | </li>
|
---|
541 |
|
---|
542 | <li class="frame django">
|
---|
543 | <code>/Users/fjavieralba/virtualenvs/personal_page/lib/python2.7/site-packages/django/core/urlresolvers.py</code> in <code>urlconf_module</code>
|
---|
544 |
|
---|
545 |
|
---|
546 | <div class="context" id="c4388739408">
|
---|
547 |
|
---|
548 | <ol start="316" class="pre-context" id="pre4388739408" style="display: none; "><li onclick="toggle('pre4388739408', 'post4388739408')"><pre> raise Resolver404({'path' : path})</pre></li><li onclick="toggle('pre4388739408', 'post4388739408')"><pre></pre></li><li onclick="toggle('pre4388739408', 'post4388739408')"><pre> @property</pre></li><li onclick="toggle('pre4388739408', 'post4388739408')"><pre> def urlconf_module(self):</pre></li><li onclick="toggle('pre4388739408', 'post4388739408')"><pre> try:</pre></li><li onclick="toggle('pre4388739408', 'post4388739408')"><pre> return self._urlconf_module</pre></li><li onclick="toggle('pre4388739408', 'post4388739408')"><pre> except AttributeError:</pre></li></ol>
|
---|
549 |
|
---|
550 | <ol start="323" class="context-line"><li onclick="toggle('pre4388739408', 'post4388739408')"><pre> self._urlconf_module = import_module(self.urlconf_name)</pre> <span>...</span></li></ol>
|
---|
551 |
|
---|
552 | <ol start="324" class="post-context" id="post4388739408" style="display: none; "><li onclick="toggle('pre4388739408', 'post4388739408')"><pre> return self._urlconf_module</pre></li><li onclick="toggle('pre4388739408', 'post4388739408')"><pre></pre></li><li onclick="toggle('pre4388739408', 'post4388739408')"><pre> @property</pre></li><li onclick="toggle('pre4388739408', 'post4388739408')"><pre> def url_patterns(self):</pre></li><li onclick="toggle('pre4388739408', 'post4388739408')"><pre> patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)</pre></li><li onclick="toggle('pre4388739408', 'post4388739408')"><pre> try:</pre></li></ol>
|
---|
553 |
|
---|
554 | </div>
|
---|
555 |
|
---|
556 |
|
---|
557 |
|
---|
558 | <div class="commands">
|
---|
559 |
|
---|
560 | <a href="http://localhost:8000/admin#" onclick="return varToggle(this, '4388739408')"><span>▶</span> Local vars</a>
|
---|
561 |
|
---|
562 | </div>
|
---|
563 | <table class="vars" id="v4388739408" style="display: none; ">
|
---|
564 | <thead>
|
---|
565 | <tr>
|
---|
566 | <th>Variable</th>
|
---|
567 | <th>Value</th>
|
---|
568 | </tr>
|
---|
569 | </thead>
|
---|
570 | <tbody>
|
---|
571 |
|
---|
572 | <tr>
|
---|
573 | <td>self</td>
|
---|
574 | <td class="code"><pre><RegexURLResolver fjavieralba_com.urls (None:None) ^/></pre></td>
|
---|
575 | </tr>
|
---|
576 |
|
---|
577 | </tbody>
|
---|
578 | </table>
|
---|
579 |
|
---|
580 | </li>
|
---|
581 |
|
---|
582 | <li class="frame django">
|
---|
583 | <code>/Users/fjavieralba/virtualenvs/personal_page/lib/python2.7/site-packages/django/utils/importlib.py</code> in <code>import_module</code>
|
---|
584 |
|
---|
585 |
|
---|
586 | <div class="context" id="c4388740992">
|
---|
587 |
|
---|
588 | <ol start="28" class="pre-context" id="pre4388740992" style="display: none; "><li onclick="toggle('pre4388740992', 'post4388740992')"><pre> raise TypeError("relative imports require the 'package' argument")</pre></li><li onclick="toggle('pre4388740992', 'post4388740992')"><pre> level = 0</pre></li><li onclick="toggle('pre4388740992', 'post4388740992')"><pre> for character in name:</pre></li><li onclick="toggle('pre4388740992', 'post4388740992')"><pre> if character != '.':</pre></li><li onclick="toggle('pre4388740992', 'post4388740992')"><pre> break</pre></li><li onclick="toggle('pre4388740992', 'post4388740992')"><pre> level += 1</pre></li><li onclick="toggle('pre4388740992', 'post4388740992')"><pre> name = _resolve_name(name[level:], package, level)</pre></li></ol>
|
---|
589 |
|
---|
590 | <ol start="35" class="context-line"><li onclick="toggle('pre4388740992', 'post4388740992')"><pre> __import__(name)</pre> <span>...</span></li></ol>
|
---|
591 |
|
---|
592 | <ol start="36" class="post-context" id="post4388740992" style="display: none; "><li onclick="toggle('pre4388740992', 'post4388740992')"><pre> return sys.modules[name]</pre></li></ol>
|
---|
593 |
|
---|
594 | </div>
|
---|
595 |
|
---|
596 |
|
---|
597 |
|
---|
598 | <div class="commands">
|
---|
599 |
|
---|
600 | <a href="http://localhost:8000/admin#" onclick="return varToggle(this, '4388740992')"><span>▶</span> Local vars</a>
|
---|
601 |
|
---|
602 | </div>
|
---|
603 | <table class="vars" id="v4388740992" style="display: none; ">
|
---|
604 | <thead>
|
---|
605 | <tr>
|
---|
606 | <th>Variable</th>
|
---|
607 | <th>Value</th>
|
---|
608 | </tr>
|
---|
609 | </thead>
|
---|
610 | <tbody>
|
---|
611 |
|
---|
612 | <tr>
|
---|
613 | <td>name</td>
|
---|
614 | <td class="code"><pre>'fjavieralba_com.urls'</pre></td>
|
---|
615 | </tr>
|
---|
616 |
|
---|
617 | <tr>
|
---|
618 | <td>package</td>
|
---|
619 | <td class="code"><pre>None</pre></td>
|
---|
620 | </tr>
|
---|
621 |
|
---|
622 | </tbody>
|
---|
623 | </table>
|
---|
624 |
|
---|
625 | </li>
|
---|
626 |
|
---|
627 | <li class="frame user">
|
---|
628 | <code>/Users/fjavieralba/github/fjavieralba_com/fjavieralba_com/urls.py</code> in <code><module></code>
|
---|
629 |
|
---|
630 |
|
---|
631 | <div class="context" id="c4388740920">
|
---|
632 |
|
---|
633 | <ol start="1" class="pre-context" id="pre4388740920" style="display: none; "><li onclick="toggle('pre4388740920', 'post4388740920')"><pre>from django.conf.urls import patterns, include, url</pre></li><li onclick="toggle('pre4388740920', 'post4388740920')"><pre></pre></li><li onclick="toggle('pre4388740920', 'post4388740920')"><pre># Uncomment the next two lines to enable the admin:</pre></li><li onclick="toggle('pre4388740920', 'post4388740920')"><pre>from django.contrib import admin</pre></li></ol>
|
---|
634 |
|
---|
635 | <ol start="5" class="context-line"><li onclick="toggle('pre4388740920', 'post4388740920')"><pre>admin.autodiscover()</pre> <span>...</span></li></ol>
|
---|
636 |
|
---|
637 | <ol start="6" class="post-context" id="post4388740920" style="display: none; "><li onclick="toggle('pre4388740920', 'post4388740920')"><pre></pre></li><li onclick="toggle('pre4388740920', 'post4388740920')"><pre>urlpatterns = patterns('',</pre></li><li onclick="toggle('pre4388740920', 'post4388740920')"><pre> # Examples:</pre></li><li onclick="toggle('pre4388740920', 'post4388740920')"><pre> # url(r'^$', 'fjavieralba_com.views.home', name='home'),</pre></li><li onclick="toggle('pre4388740920', 'post4388740920')"><pre> # url(r'^fjavieralba_com/', include('fjavieralba_com.foo.urls')),</pre></li><li onclick="toggle('pre4388740920', 'post4388740920')"><pre></pre></li></ol>
|
---|
638 |
|
---|
639 | </div>
|
---|
640 |
|
---|
641 |
|
---|
642 |
|
---|
643 | <div class="commands">
|
---|
644 |
|
---|
645 | <a href="http://localhost:8000/admin#" onclick="return varToggle(this, '4388740920')"><span>▶</span> Local vars</a>
|
---|
646 |
|
---|
647 | </div>
|
---|
648 | <table class="vars" id="v4388740920" style="display: none; ">
|
---|
649 | <thead>
|
---|
650 | <tr>
|
---|
651 | <th>Variable</th>
|
---|
652 | <th>Value</th>
|
---|
653 | </tr>
|
---|
654 | </thead>
|
---|
655 | <tbody>
|
---|
656 |
|
---|
657 | <tr>
|
---|
658 | <td>admin</td>
|
---|
659 | <td class="code"><pre>None</pre></td>
|
---|
660 | </tr>
|
---|
661 |
|
---|
662 | <tr>
|
---|
663 | <td>__builtins__</td>
|
---|
664 | <td class="code"><pre>{'ArithmeticError': <type 'exceptions.ArithmeticError'>,
|
---|
665 | 'AssertionError': <type 'exceptions.AssertionError'>,
|
---|
666 | 'AttributeError': <type 'exceptions.AttributeError'>,
|
---|
667 | 'BaseException': <type 'exceptions.BaseException'>,
|
---|
668 | 'BufferError': <type 'exceptions.BufferError'>,
|
---|
669 | 'BytesWarning': <type 'exceptions.BytesWarning'>,
|
---|
670 | 'DeprecationWarning': <type 'exceptions.DeprecationWarning'>,
|
---|
671 | 'EOFError': <type 'exceptions.EOFError'>,
|
---|
672 | 'Ellipsis': Ellipsis,
|
---|
673 | 'EnvironmentError': <type 'exceptions.EnvironmentError'>,
|
---|
674 | 'Exception': <type 'exceptions.Exception'>,
|
---|
675 | 'False': False,
|
---|
676 | 'FloatingPointError': <type 'exceptions.FloatingPointError'>,
|
---|
677 | 'FutureWarning': <type 'exceptions.FutureWarning'>,
|
---|
678 | 'GeneratorExit': <type 'exceptions.GeneratorExit'>,
|
---|
679 | 'IOError': <type 'exceptions.IOError'>,
|
---|
680 | 'ImportError': <type 'exceptions.ImportError'>,
|
---|
681 | 'ImportWarning': <type 'exceptions.ImportWarning'>,
|
---|
682 | 'IndentationError': <type 'exceptions.IndentationError'>,
|
---|
683 | 'IndexError': <type 'exceptions.IndexError'>,
|
---|
684 | 'KeyError': <type 'exceptions.KeyError'>,
|
---|
685 | 'KeyboardInterrupt': <type 'exceptions.KeyboardInterrupt'>,
|
---|
686 | 'LookupError': <type 'exceptions.LookupError'>,
|
---|
687 | 'MemoryError': <type 'exceptions.MemoryError'>,
|
---|
688 | 'NameError': <type 'exceptions.NameError'>,
|
---|
689 | 'None': None,
|
---|
690 | 'NotImplemented': NotImplemented,
|
---|
691 | 'NotImplementedError': <type 'exceptions.NotImplementedError'>,
|
---|
692 | 'OSError': <type 'exceptions.OSError'>,
|
---|
693 | 'OverflowError': <type 'exceptions.OverflowError'>,
|
---|
694 | 'PendingDeprecationWarning': <type 'exceptions.PendingDeprecationWarning'>,
|
---|
695 | 'ReferenceError': <type 'exceptions.ReferenceError'>,
|
---|
696 | 'RuntimeError': <type 'exceptions.RuntimeError'>,
|
---|
697 | 'RuntimeWarning': <type 'exceptions.RuntimeWarning'>,
|
---|
698 | 'StandardError': <type 'exceptions.StandardError'>,
|
---|
699 | 'StopIteration': <type 'exceptions.StopIteration'>,
|
---|
700 | 'SyntaxError': <type 'exceptions.SyntaxError'>,
|
---|
701 | 'SyntaxWarning': <type 'exceptions.SyntaxWarning'>,
|
---|
702 | 'SystemError': <type 'exceptions.SystemError'>,
|
---|
703 | 'SystemExit': <type 'exceptions.SystemExit'>,
|
---|
704 | 'TabError': <type 'exceptions.TabError'>,
|
---|
705 | 'True': True,
|
---|
706 | 'TypeError': <type 'exceptions.TypeError'>,
|
---|
707 | 'UnboundLocalError': <type 'exceptions.UnboundLocalError'>,
|
---|
708 | 'UnicodeDecodeError': <type 'exceptions.UnicodeDecodeError'>,
|
---|
709 | 'UnicodeEncodeError': <type 'exceptions.UnicodeEncodeError'>,
|
---|
710 | 'UnicodeError': <type 'exceptions.UnicodeError'>,
|
---|
711 | 'UnicodeTranslateError': <type 'exceptions.UnicodeTranslateError'>,
|
---|
712 | 'UnicodeWarning': <type 'exceptions.UnicodeWarning'>,
|
---|
713 | 'UserWarning': <type 'exceptions.UserWarning'>,
|
---|
714 | 'ValueError': <type 'exceptions.ValueError'>,
|
---|
715 | 'Warning': <type 'exceptions.Warning'>,
|
---|
716 | 'ZeroDivisionError': <type 'exceptions.ZeroDivisionError'>,
|
---|
717 | '__debug__': True,
|
---|
718 | '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.",
|
---|
719 | '__import__': <built-in function __import__>,
|
---|
720 | '__name__': '__builtin__',
|
---|
721 | '__package__': None,
|
---|
722 | 'abs': <built-in function abs>,
|
---|
723 | 'all': <built-in function all>,
|
---|
724 | 'any': <built-in function any>,
|
---|
725 | 'apply': <built-in function apply>,
|
---|
726 | 'basestring': <type 'basestring'>,
|
---|
727 | 'bin': <built-in function bin>,
|
---|
728 | 'bool': <type 'bool'>,
|
---|
729 | 'buffer': <type 'buffer'>,
|
---|
730 | 'bytearray': <type 'bytearray'>,
|
---|
731 | 'bytes': <type 'str'>,
|
---|
732 | 'callable': <built-in function callable>,
|
---|
733 | 'chr': <built-in function chr>,
|
---|
734 | 'classmethod': <type 'classmethod'>,
|
---|
735 | 'cmp': <built-in function cmp>,
|
---|
736 | 'coerce': <built-in function coerce>,
|
---|
737 | 'compile': <built-in function compile>,
|
---|
738 | 'complex': <type 'complex'>,
|
---|
739 | 'copyright': Copyright (c) 2001-2010 Python Software Foundation.
|
---|
740 | All Rights Reserved.
|
---|
741 |
|
---|
742 | Copyright (c) 2000 BeOpen.com.
|
---|
743 | All Rights Reserved.
|
---|
744 |
|
---|
745 | Copyright (c) 1995-2001 Corporation for National Research Initiatives.
|
---|
746 | All Rights Reserved.
|
---|
747 |
|
---|
748 | Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.
|
---|
749 | All Rights Reserved.,
|
---|
750 | 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands
|
---|
751 | for supporting Python development. See www.python.org for more information.,
|
---|
752 | 'delattr': <built-in function delattr>,
|
---|
753 | 'dict': <type 'dict'>,
|
---|
754 | 'dir': <built-in function dir>,
|
---|
755 | 'divmod': <built-in function divmod>,
|
---|
756 | 'enumerate': <type 'enumerate'>,
|
---|
757 | 'eval': <built-in function eval>,
|
---|
758 | 'execfile': <built-in function execfile>,
|
---|
759 | 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit,
|
---|
760 | 'file': <type 'file'>,
|
---|
761 | 'filter': <built-in function filter>,
|
---|
762 | 'float': <type 'float'>,
|
---|
763 | 'format': <built-in function format>,
|
---|
764 | 'frozenset': <type 'frozenset'>,
|
---|
765 | 'getattr': <built-in function getattr>,
|
---|
766 | 'globals': <built-in function globals>,
|
---|
767 | 'hasattr': <built-in function hasattr>,
|
---|
768 | 'hash': <built-in function hash>,
|
---|
769 | 'help': Type help() for interactive help, or help(object) for help about object.,
|
---|
770 | 'hex': <built-in function hex>,
|
---|
771 | 'id': <built-in function id>,
|
---|
772 | 'input': <built-in function input>,
|
---|
773 | 'int': <type 'int'>,
|
---|
774 | 'intern': <built-in function intern>,
|
---|
775 | 'isinstance': <built-in function isinstance>,
|
---|
776 | 'issubclass': <built-in function issubclass>,
|
---|
777 | 'iter': <built-in function iter>,
|
---|
778 | 'len': <built-in function len>,
|
---|
779 | 'license': See http://www.python.org/2.7/license.html,
|
---|
780 | 'list': <type 'list'>,
|
---|
781 | 'locals': <built-in function locals>,
|
---|
782 | 'long': <type 'long'>,
|
---|
783 | 'map': <built-in function map>,
|
---|
784 | 'max': <built-in function max>,
|
---|
785 | 'memoryview': <type 'memoryview'>,
|
---|
786 | 'min': <built-in function min>,
|
---|
787 | 'next': <built-in function next>,
|
---|
788 | 'object': <type 'object'>,
|
---|
789 | 'oct': <built-in function oct>,
|
---|
790 | 'open': <built-in function open>,
|
---|
791 | 'ord': <built-in function ord>,
|
---|
792 | 'pow': <built-in function pow>,
|
---|
793 | 'print': <built-in function print>,
|
---|
794 | 'property': <type 'property'>,
|
---|
795 | 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit,
|
---|
796 | 'range': <built-in function range>,
|
---|
797 | 'raw_input': <built-in function raw_input>,
|
---|
798 | 'reduce': <built-in function reduce>,
|
---|
799 | 'reload': <built-in function reload>,
|
---|
800 | 'repr': <built-in function repr>,
|
---|
801 | 'reversed': <type 'reversed'>,
|
---|
802 | 'round': <built-in function round>,
|
---|
803 | 'set': <type 'set'>,
|
---|
804 | 'setattr': <built-in function setattr>,
|
---|
805 | 'slice': <type 'slice'>,
|
---|
806 | 'sorted': <built-in function sorted>,
|
---|
807 | 'staticmethod': <type 'staticmethod'>,
|
---|
808 | 'str': <type 'str'>,
|
---|
809 | 'sum': <built-in function sum>,
|
---|
810 | 'super': <type 'super'>,
|
---|
811 | 'tuple': <type 'tuple'>,
|
---|
812 | 'type': <type 'type'>,
|
---|
813 | 'unichr': <built-in function unichr>,
|
---|
814 | 'unicode': <type 'unicode'>,
|
---|
815 | 'vars': <built-in function vars>,
|
---|
816 | 'xrange': <type 'xrange'>,
|
---|
817 | 'zip': <built-in function zip>}</pre></td>
|
---|
818 | </tr>
|
---|
819 |
|
---|
820 | <tr>
|
---|
821 | <td>__file__</td>
|
---|
822 | <td class="code"><pre>None</pre></td>
|
---|
823 | </tr>
|
---|
824 |
|
---|
825 | <tr>
|
---|
826 | <td>__package__</td>
|
---|
827 | <td class="code"><pre>None</pre></td>
|
---|
828 | </tr>
|
---|
829 |
|
---|
830 | <tr>
|
---|
831 | <td>patterns</td>
|
---|
832 | <td class="code"><pre>None</pre></td>
|
---|
833 | </tr>
|
---|
834 |
|
---|
835 | <tr>
|
---|
836 | <td>url</td>
|
---|
837 | <td class="code"><pre>None</pre></td>
|
---|
838 | </tr>
|
---|
839 |
|
---|
840 | <tr>
|
---|
841 | <td>__name__</td>
|
---|
842 | <td class="code"><pre>None</pre></td>
|
---|
843 | </tr>
|
---|
844 |
|
---|
845 | <tr>
|
---|
846 | <td>include</td>
|
---|
847 | <td class="code"><pre>None</pre></td>
|
---|
848 | </tr>
|
---|
849 |
|
---|
850 | <tr>
|
---|
851 | <td>__doc__</td>
|
---|
852 | <td class="code"><pre>None</pre></td>
|
---|
853 | </tr>
|
---|
854 |
|
---|
855 | </tbody>
|
---|
856 | </table>
|
---|
857 |
|
---|
858 | </li>
|
---|
859 |
|
---|
860 | <li class="frame django">
|
---|
861 | <code>/Users/fjavieralba/virtualenvs/personal_page/lib/python2.7/site-packages/django/contrib/admin/__init__.py</code> in <code>autodiscover</code>
|
---|
862 |
|
---|
863 |
|
---|
864 | <div class="context" id="c4388739264">
|
---|
865 |
|
---|
866 | <ol start="19" class="pre-context" id="pre4388739264" style="display: none; "><li onclick="toggle('pre4388739264', 'post4388739264')"><pre> from django.utils.module_loading import module_has_submodule</pre></li><li onclick="toggle('pre4388739264', 'post4388739264')"><pre></pre></li><li onclick="toggle('pre4388739264', 'post4388739264')"><pre> for app in settings.INSTALLED_APPS:</pre></li><li onclick="toggle('pre4388739264', 'post4388739264')"><pre> mod = import_module(app)</pre></li><li onclick="toggle('pre4388739264', 'post4388739264')"><pre> # Attempt to import the app's admin module.</pre></li><li onclick="toggle('pre4388739264', 'post4388739264')"><pre> try:</pre></li><li onclick="toggle('pre4388739264', 'post4388739264')"><pre> before_import_registry = copy.copy(site._registry)</pre></li></ol>
|
---|
867 |
|
---|
868 | <ol start="26" class="context-line"><li onclick="toggle('pre4388739264', 'post4388739264')"><pre> import_module('%s.admin' % app)</pre> <span>...</span></li></ol>
|
---|
869 |
|
---|
870 | <ol start="27" class="post-context" id="post4388739264" style="display: none; "><li onclick="toggle('pre4388739264', 'post4388739264')"><pre> except:</pre></li><li onclick="toggle('pre4388739264', 'post4388739264')"><pre> # Reset the model registry to the state before the last import as</pre></li><li onclick="toggle('pre4388739264', 'post4388739264')"><pre> # this import will have to reoccur on the next request and this</pre></li><li onclick="toggle('pre4388739264', 'post4388739264')"><pre> # could raise NotRegistered and AlreadyRegistered exceptions</pre></li><li onclick="toggle('pre4388739264', 'post4388739264')"><pre> # (see #8245).</pre></li><li onclick="toggle('pre4388739264', 'post4388739264')"><pre> site._registry = before_import_registry</pre></li></ol>
|
---|
871 |
|
---|
872 | </div>
|
---|
873 |
|
---|
874 |
|
---|
875 |
|
---|
876 | <div class="commands">
|
---|
877 |
|
---|
878 | <a href="http://localhost:8000/admin#" onclick="return varToggle(this, '4388739264')"><span>▶</span> Local vars</a>
|
---|
879 |
|
---|
880 | </div>
|
---|
881 | <table class="vars" id="v4388739264" style="display: none; ">
|
---|
882 | <thead>
|
---|
883 | <tr>
|
---|
884 | <th>Variable</th>
|
---|
885 | <th>Value</th>
|
---|
886 | </tr>
|
---|
887 | </thead>
|
---|
888 | <tbody>
|
---|
889 |
|
---|
890 | <tr>
|
---|
891 | <td>copy</td>
|
---|
892 | <td class="code"><pre><module 'copy' from '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/copy.pyc'></pre></td>
|
---|
893 | </tr>
|
---|
894 |
|
---|
895 | <tr>
|
---|
896 | <td>settings</td>
|
---|
897 | <td class="code"><pre><django.conf.LazySettings object at 0x10513b790></pre></td>
|
---|
898 | </tr>
|
---|
899 |
|
---|
900 | <tr>
|
---|
901 | <td>app</td>
|
---|
902 | <td class="code"><pre>'django.contrib.auth'</pre></td>
|
---|
903 | </tr>
|
---|
904 |
|
---|
905 | <tr>
|
---|
906 | <td>before_import_registry</td>
|
---|
907 | <td class="code"><pre>{}</pre></td>
|
---|
908 | </tr>
|
---|
909 |
|
---|
910 | <tr>
|
---|
911 | <td>module_has_submodule</td>
|
---|
912 | <td class="code"><pre><function module_has_submodule at 0x1055bdde8></pre></td>
|
---|
913 | </tr>
|
---|
914 |
|
---|
915 | <tr>
|
---|
916 | <td>import_module</td>
|
---|
917 | <td class="code"><pre><function import_module at 0x1051321b8></pre></td>
|
---|
918 | </tr>
|
---|
919 |
|
---|
920 | <tr>
|
---|
921 | <td>mod</td>
|
---|
922 | <td class="code"><pre><module 'django.contrib.auth' from '/Users/fjavieralba/virtualenvs/personal_page/lib/python2.7/site-packages/django/contrib/auth/__init__.pyc'></pre></td>
|
---|
923 | </tr>
|
---|
924 |
|
---|
925 | </tbody>
|
---|
926 | </table>
|
---|
927 |
|
---|
928 | </li>
|
---|
929 |
|
---|
930 | <li class="frame django">
|
---|
931 | <code>/Users/fjavieralba/virtualenvs/personal_page/lib/python2.7/site-packages/django/utils/importlib.py</code> in <code>import_module</code>
|
---|
932 |
|
---|
933 |
|
---|
934 | <div class="context" id="c4388882048">
|
---|
935 |
|
---|
936 | <ol start="28" class="pre-context" id="pre4388882048" style="display: none; "><li onclick="toggle('pre4388882048', 'post4388882048')"><pre> raise TypeError("relative imports require the 'package' argument")</pre></li><li onclick="toggle('pre4388882048', 'post4388882048')"><pre> level = 0</pre></li><li onclick="toggle('pre4388882048', 'post4388882048')"><pre> for character in name:</pre></li><li onclick="toggle('pre4388882048', 'post4388882048')"><pre> if character != '.':</pre></li><li onclick="toggle('pre4388882048', 'post4388882048')"><pre> break</pre></li><li onclick="toggle('pre4388882048', 'post4388882048')"><pre> level += 1</pre></li><li onclick="toggle('pre4388882048', 'post4388882048')"><pre> name = _resolve_name(name[level:], package, level)</pre></li></ol>
|
---|
937 |
|
---|
938 | <ol start="35" class="context-line"><li onclick="toggle('pre4388882048', 'post4388882048')"><pre> __import__(name)</pre> <span>...</span></li></ol>
|
---|
939 |
|
---|
940 | <ol start="36" class="post-context" id="post4388882048" style="display: none; "><li onclick="toggle('pre4388882048', 'post4388882048')"><pre> return sys.modules[name]</pre></li></ol>
|
---|
941 |
|
---|
942 | </div>
|
---|
943 |
|
---|
944 |
|
---|
945 |
|
---|
946 | <div class="commands">
|
---|
947 |
|
---|
948 | <a href="http://localhost:8000/admin#" onclick="return varToggle(this, '4388882048')"><span>▶</span> Local vars</a>
|
---|
949 |
|
---|
950 | </div>
|
---|
951 | <table class="vars" id="v4388882048" style="display: none; ">
|
---|
952 | <thead>
|
---|
953 | <tr>
|
---|
954 | <th>Variable</th>
|
---|
955 | <th>Value</th>
|
---|
956 | </tr>
|
---|
957 | </thead>
|
---|
958 | <tbody>
|
---|
959 |
|
---|
960 | <tr>
|
---|
961 | <td>name</td>
|
---|
962 | <td class="code"><pre>'django.contrib.auth.admin'</pre></td>
|
---|
963 | </tr>
|
---|
964 |
|
---|
965 | <tr>
|
---|
966 | <td>package</td>
|
---|
967 | <td class="code"><pre>None</pre></td>
|
---|
968 | </tr>
|
---|
969 |
|
---|
970 | </tbody>
|
---|
971 | </table>
|
---|
972 |
|
---|
973 | </li>
|
---|
974 |
|
---|
975 | <li class="frame user">
|
---|
976 | <code>/Users/fjavieralba/virtualenvs/personal_page/lib/python2.7/site-packages/django/contrib/auth/admin.py</code> in <code><module></code>
|
---|
977 |
|
---|
978 |
|
---|
979 | <div class="context" id="c4388739552">
|
---|
980 |
|
---|
981 | <ol start="164" class="pre-context" id="pre4388739552" style="display: none; "><li onclick="toggle('pre4388739552', 'post4388739552')"><pre> # * The user has pressed the 'Save and add another' button</pre></li><li onclick="toggle('pre4388739552', 'post4388739552')"><pre> # * We are adding a user in a popup</pre></li><li onclick="toggle('pre4388739552', 'post4388739552')"><pre> if '_addanother' not in request.POST and '_popup' not in request.POST:</pre></li><li onclick="toggle('pre4388739552', 'post4388739552')"><pre> request.POST['_continue'] = 1</pre></li><li onclick="toggle('pre4388739552', 'post4388739552')"><pre> return super(UserAdmin, self).response_add(request, obj,</pre></li><li onclick="toggle('pre4388739552', 'post4388739552')"><pre> post_url_continue)</pre></li><li onclick="toggle('pre4388739552', 'post4388739552')"><pre></pre></li></ol>
|
---|
982 |
|
---|
983 | <ol start="171" class="context-line"><li onclick="toggle('pre4388739552', 'post4388739552')"><pre>admin.site.register(Group, GroupAdmin)</pre> <span>...</span></li></ol>
|
---|
984 |
|
---|
985 | <ol start="172" class="post-context" id="post4388739552" style="display: none; "><li onclick="toggle('pre4388739552', 'post4388739552')"><pre>admin.site.register(User, UserAdmin)</pre></li><li onclick="toggle('pre4388739552', 'post4388739552')"><pre></pre></li></ol>
|
---|
986 |
|
---|
987 | </div>
|
---|
988 |
|
---|
989 |
|
---|
990 |
|
---|
991 | <div class="commands">
|
---|
992 |
|
---|
993 | <a href="http://localhost:8000/admin#" onclick="return varToggle(this, '4388739552')"><span>▶</span> Local vars</a>
|
---|
994 |
|
---|
995 | </div>
|
---|
996 | <table class="vars" id="v4388739552" style="display: none; ">
|
---|
997 | <thead>
|
---|
998 | <tr>
|
---|
999 | <th>Variable</th>
|
---|
1000 | <th>Value</th>
|
---|
1001 | </tr>
|
---|
1002 | </thead>
|
---|
1003 | <tbody>
|
---|
1004 |
|
---|
1005 | <tr>
|
---|
1006 | <td>UserChangeForm</td>
|
---|
1007 | <td class="code"><pre>None</pre></td>
|
---|
1008 | </tr>
|
---|
1009 |
|
---|
1010 | <tr>
|
---|
1011 | <td>Group</td>
|
---|
1012 | <td class="code"><pre>None</pre></td>
|
---|
1013 | </tr>
|
---|
1014 |
|
---|
1015 | <tr>
|
---|
1016 | <td>ugettext</td>
|
---|
1017 | <td class="code"><pre>None</pre></td>
|
---|
1018 | </tr>
|
---|
1019 |
|
---|
1020 | <tr>
|
---|
1021 | <td>UserAdmin</td>
|
---|
1022 | <td class="code"><pre>None</pre></td>
|
---|
1023 | </tr>
|
---|
1024 |
|
---|
1025 | <tr>
|
---|
1026 | <td>PermissionDenied</td>
|
---|
1027 | <td class="code"><pre>None</pre></td>
|
---|
1028 | </tr>
|
---|
1029 |
|
---|
1030 | <tr>
|
---|
1031 | <td>escape</td>
|
---|
1032 | <td class="code"><pre>None</pre></td>
|
---|
1033 | </tr>
|
---|
1034 |
|
---|
1035 | <tr>
|
---|
1036 | <td>method_decorator</td>
|
---|
1037 | <td class="code"><pre>None</pre></td>
|
---|
1038 | </tr>
|
---|
1039 |
|
---|
1040 | <tr>
|
---|
1041 | <td>UserCreationForm</td>
|
---|
1042 | <td class="code"><pre>None</pre></td>
|
---|
1043 | </tr>
|
---|
1044 |
|
---|
1045 | <tr>
|
---|
1046 | <td>__package__</td>
|
---|
1047 | <td class="code"><pre>None</pre></td>
|
---|
1048 | </tr>
|
---|
1049 |
|
---|
1050 | <tr>
|
---|
1051 | <td>AdminPasswordChangeForm</td>
|
---|
1052 | <td class="code"><pre>None</pre></td>
|
---|
1053 | </tr>
|
---|
1054 |
|
---|
1055 | <tr>
|
---|
1056 | <td>csrf_protect_m</td>
|
---|
1057 | <td class="code"><pre>None</pre></td>
|
---|
1058 | </tr>
|
---|
1059 |
|
---|
1060 | <tr>
|
---|
1061 | <td>User</td>
|
---|
1062 | <td class="code"><pre>None</pre></td>
|
---|
1063 | </tr>
|
---|
1064 |
|
---|
1065 | <tr>
|
---|
1066 | <td>GroupAdmin</td>
|
---|
1067 | <td class="code"><pre>None</pre></td>
|
---|
1068 | </tr>
|
---|
1069 |
|
---|
1070 | <tr>
|
---|
1071 | <td>__doc__</td>
|
---|
1072 | <td class="code"><pre>None</pre></td>
|
---|
1073 | </tr>
|
---|
1074 |
|
---|
1075 | <tr>
|
---|
1076 | <td>__builtins__</td>
|
---|
1077 | <td class="code"><pre>{'ArithmeticError': <type 'exceptions.ArithmeticError'>,
|
---|
1078 | 'AssertionError': <type 'exceptions.AssertionError'>,
|
---|
1079 | 'AttributeError': <type 'exceptions.AttributeError'>,
|
---|
1080 | 'BaseException': <type 'exceptions.BaseException'>,
|
---|
1081 | 'BufferError': <type 'exceptions.BufferError'>,
|
---|
1082 | 'BytesWarning': <type 'exceptions.BytesWarning'>,
|
---|
1083 | 'DeprecationWarning': <type 'exceptions.DeprecationWarning'>,
|
---|
1084 | 'EOFError': <type 'exceptions.EOFError'>,
|
---|
1085 | 'Ellipsis': Ellipsis,
|
---|
1086 | 'EnvironmentError': <type 'exceptions.EnvironmentError'>,
|
---|
1087 | 'Exception': <type 'exceptions.Exception'>,
|
---|
1088 | 'False': False,
|
---|
1089 | 'FloatingPointError': <type 'exceptions.FloatingPointError'>,
|
---|
1090 | 'FutureWarning': <type 'exceptions.FutureWarning'>,
|
---|
1091 | 'GeneratorExit': <type 'exceptions.GeneratorExit'>,
|
---|
1092 | 'IOError': <type 'exceptions.IOError'>,
|
---|
1093 | 'ImportError': <type 'exceptions.ImportError'>,
|
---|
1094 | 'ImportWarning': <type 'exceptions.ImportWarning'>,
|
---|
1095 | 'IndentationError': <type 'exceptions.IndentationError'>,
|
---|
1096 | 'IndexError': <type 'exceptions.IndexError'>,
|
---|
1097 | 'KeyError': <type 'exceptions.KeyError'>,
|
---|
1098 | 'KeyboardInterrupt': <type 'exceptions.KeyboardInterrupt'>,
|
---|
1099 | 'LookupError': <type 'exceptions.LookupError'>,
|
---|
1100 | 'MemoryError': <type 'exceptions.MemoryError'>,
|
---|
1101 | 'NameError': <type 'exceptions.NameError'>,
|
---|
1102 | 'None': None,
|
---|
1103 | 'NotImplemented': NotImplemented,
|
---|
1104 | 'NotImplementedError': <type 'exceptions.NotImplementedError'>,
|
---|
1105 | 'OSError': <type 'exceptions.OSError'>,
|
---|
1106 | 'OverflowError': <type 'exceptions.OverflowError'>,
|
---|
1107 | 'PendingDeprecationWarning': <type 'exceptions.PendingDeprecationWarning'>,
|
---|
1108 | 'ReferenceError': <type 'exceptions.ReferenceError'>,
|
---|
1109 | 'RuntimeError': <type 'exceptions.RuntimeError'>,
|
---|
1110 | 'RuntimeWarning': <type 'exceptions.RuntimeWarning'>,
|
---|
1111 | 'StandardError': <type 'exceptions.StandardError'>,
|
---|
1112 | 'StopIteration': <type 'exceptions.StopIteration'>,
|
---|
1113 | 'SyntaxError': <type 'exceptions.SyntaxError'>,
|
---|
1114 | 'SyntaxWarning': <type 'exceptions.SyntaxWarning'>,
|
---|
1115 | 'SystemError': <type 'exceptions.SystemError'>,
|
---|
1116 | 'SystemExit': <type 'exceptions.SystemExit'>,
|
---|
1117 | 'TabError': <type 'exceptions.TabError'>,
|
---|
1118 | 'True': True,
|
---|
1119 | 'TypeError': <type 'exceptions.TypeError'>,
|
---|
1120 | 'UnboundLocalError': <type 'exceptions.UnboundLocalError'>,
|
---|
1121 | 'UnicodeDecodeError': <type 'exceptions.UnicodeDecodeError'>,
|
---|
1122 | 'UnicodeEncodeError': <type 'exceptions.UnicodeEncodeError'>,
|
---|
1123 | 'UnicodeError': <type 'exceptions.UnicodeError'>,
|
---|
1124 | 'UnicodeTranslateError': <type 'exceptions.UnicodeTranslateError'>,
|
---|
1125 | 'UnicodeWarning': <type 'exceptions.UnicodeWarning'>,
|
---|
1126 | 'UserWarning': <type 'exceptions.UserWarning'>,
|
---|
1127 | 'ValueError': <type 'exceptions.ValueError'>,
|
---|
1128 | 'Warning': <type 'exceptions.Warning'>,
|
---|
1129 | 'ZeroDivisionError': <type 'exceptions.ZeroDivisionError'>,
|
---|
1130 | '__debug__': True,
|
---|
1131 | '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.",
|
---|
1132 | '__import__': <built-in function __import__>,
|
---|
1133 | '__name__': '__builtin__',
|
---|
1134 | '__package__': None,
|
---|
1135 | 'abs': <built-in function abs>,
|
---|
1136 | 'all': <built-in function all>,
|
---|
1137 | 'any': <built-in function any>,
|
---|
1138 | 'apply': <built-in function apply>,
|
---|
1139 | 'basestring': <type 'basestring'>,
|
---|
1140 | 'bin': <built-in function bin>,
|
---|
1141 | 'bool': <type 'bool'>,
|
---|
1142 | 'buffer': <type 'buffer'>,
|
---|
1143 | 'bytearray': <type 'bytearray'>,
|
---|
1144 | 'bytes': <type 'str'>,
|
---|
1145 | 'callable': <built-in function callable>,
|
---|
1146 | 'chr': <built-in function chr>,
|
---|
1147 | 'classmethod': <type 'classmethod'>,
|
---|
1148 | 'cmp': <built-in function cmp>,
|
---|
1149 | 'coerce': <built-in function coerce>,
|
---|
1150 | 'compile': <built-in function compile>,
|
---|
1151 | 'complex': <type 'complex'>,
|
---|
1152 | 'copyright': Copyright (c) 2001-2010 Python Software Foundation.
|
---|
1153 | All Rights Reserved.
|
---|
1154 |
|
---|
1155 | Copyright (c) 2000 BeOpen.com.
|
---|
1156 | All Rights Reserved.
|
---|
1157 |
|
---|
1158 | Copyright (c) 1995-2001 Corporation for National Research Initiatives.
|
---|
1159 | All Rights Reserved.
|
---|
1160 |
|
---|
1161 | Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.
|
---|
1162 | All Rights Reserved.,
|
---|
1163 | 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands
|
---|
1164 | for supporting Python development. See www.python.org for more information.,
|
---|
1165 | 'delattr': <built-in function delattr>,
|
---|
1166 | 'dict': <type 'dict'>,
|
---|
1167 | 'dir': <built-in function dir>,
|
---|
1168 | 'divmod': <built-in function divmod>,
|
---|
1169 | 'enumerate': <type 'enumerate'>,
|
---|
1170 | 'eval': <built-in function eval>,
|
---|
1171 | 'execfile': <built-in function execfile>,
|
---|
1172 | 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit,
|
---|
1173 | 'file': <type 'file'>,
|
---|
1174 | 'filter': <built-in function filter>,
|
---|
1175 | 'float': <type 'float'>,
|
---|
1176 | 'format': <built-in function format>,
|
---|
1177 | 'frozenset': <type 'frozenset'>,
|
---|
1178 | 'getattr': <built-in function getattr>,
|
---|
1179 | 'globals': <built-in function globals>,
|
---|
1180 | 'hasattr': <built-in function hasattr>,
|
---|
1181 | 'hash': <built-in function hash>,
|
---|
1182 | 'help': Type help() for interactive help, or help(object) for help about object.,
|
---|
1183 | 'hex': <built-in function hex>,
|
---|
1184 | 'id': <built-in function id>,
|
---|
1185 | 'input': <built-in function input>,
|
---|
1186 | 'int': <type 'int'>,
|
---|
1187 | 'intern': <built-in function intern>,
|
---|
1188 | 'isinstance': <built-in function isinstance>,
|
---|
1189 | 'issubclass': <built-in function issubclass>,
|
---|
1190 | 'iter': <built-in function iter>,
|
---|
1191 | 'len': <built-in function len>,
|
---|
1192 | 'license': See http://www.python.org/2.7/license.html,
|
---|
1193 | 'list': <type 'list'>,
|
---|
1194 | 'locals': <built-in function locals>,
|
---|
1195 | 'long': <type 'long'>,
|
---|
1196 | 'map': <built-in function map>,
|
---|
1197 | 'max': <built-in function max>,
|
---|
1198 | 'memoryview': <type 'memoryview'>,
|
---|
1199 | 'min': <built-in function min>,
|
---|
1200 | 'next': <built-in function next>,
|
---|
1201 | 'object': <type 'object'>,
|
---|
1202 | 'oct': <built-in function oct>,
|
---|
1203 | 'open': <built-in function open>,
|
---|
1204 | 'ord': <built-in function ord>,
|
---|
1205 | 'pow': <built-in function pow>,
|
---|
1206 | 'print': <built-in function print>,
|
---|
1207 | 'property': <type 'property'>,
|
---|
1208 | 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit,
|
---|
1209 | 'range': <built-in function range>,
|
---|
1210 | 'raw_input': <built-in function raw_input>,
|
---|
1211 | 'reduce': <built-in function reduce>,
|
---|
1212 | 'reload': <built-in function reload>,
|
---|
1213 | 'repr': <built-in function repr>,
|
---|
1214 | 'reversed': <type 'reversed'>,
|
---|
1215 | 'round': <built-in function round>,
|
---|
1216 | 'set': <type 'set'>,
|
---|
1217 | 'setattr': <built-in function setattr>,
|
---|
1218 | 'slice': <type 'slice'>,
|
---|
1219 | 'sorted': <built-in function sorted>,
|
---|
1220 | 'staticmethod': <type 'staticmethod'>,
|
---|
1221 | 'str': <type 'str'>,
|
---|
1222 | 'sum': <built-in function sum>,
|
---|
1223 | 'super': <type 'super'>,
|
---|
1224 | 'tuple': <type 'tuple'>,
|
---|
1225 | 'type': <type 'type'>,
|
---|
1226 | 'unichr': <built-in function unichr>,
|
---|
1227 | 'unicode': <type 'unicode'>,
|
---|
1228 | 'vars': <built-in function vars>,
|
---|
1229 | 'xrange': <type 'xrange'>,
|
---|
1230 | 'zip': <built-in function zip>}</pre></td>
|
---|
1231 | </tr>
|
---|
1232 |
|
---|
1233 | <tr>
|
---|
1234 | <td>__file__</td>
|
---|
1235 | <td class="code"><pre>None</pre></td>
|
---|
1236 | </tr>
|
---|
1237 |
|
---|
1238 | <tr>
|
---|
1239 | <td>mark_safe</td>
|
---|
1240 | <td class="code"><pre>None</pre></td>
|
---|
1241 | </tr>
|
---|
1242 |
|
---|
1243 | <tr>
|
---|
1244 | <td>Http404</td>
|
---|
1245 | <td class="code"><pre>None</pre></td>
|
---|
1246 | </tr>
|
---|
1247 |
|
---|
1248 | <tr>
|
---|
1249 | <td>__name__</td>
|
---|
1250 | <td class="code"><pre>None</pre></td>
|
---|
1251 | </tr>
|
---|
1252 |
|
---|
1253 | <tr>
|
---|
1254 | <td>csrf_protect</td>
|
---|
1255 | <td class="code"><pre>None</pre></td>
|
---|
1256 | </tr>
|
---|
1257 |
|
---|
1258 | <tr>
|
---|
1259 | <td>sensitive_post_parameters</td>
|
---|
1260 | <td class="code"><pre>None</pre></td>
|
---|
1261 | </tr>
|
---|
1262 |
|
---|
1263 | <tr>
|
---|
1264 | <td>_</td>
|
---|
1265 | <td class="code"><pre>None</pre></td>
|
---|
1266 | </tr>
|
---|
1267 |
|
---|
1268 | <tr>
|
---|
1269 | <td>TemplateResponse</td>
|
---|
1270 | <td class="code"><pre>None</pre></td>
|
---|
1271 | </tr>
|
---|
1272 |
|
---|
1273 | <tr>
|
---|
1274 | <td>HttpResponseRedirect</td>
|
---|
1275 | <td class="code"><pre>None</pre></td>
|
---|
1276 | </tr>
|
---|
1277 |
|
---|
1278 | <tr>
|
---|
1279 | <td>transaction</td>
|
---|
1280 | <td class="code"><pre>None</pre></td>
|
---|
1281 | </tr>
|
---|
1282 |
|
---|
1283 | <tr>
|
---|
1284 | <td>get_object_or_404</td>
|
---|
1285 | <td class="code"><pre>None</pre></td>
|
---|
1286 | </tr>
|
---|
1287 |
|
---|
1288 | <tr>
|
---|
1289 | <td>settings</td>
|
---|
1290 | <td class="code"><pre>None</pre></td>
|
---|
1291 | </tr>
|
---|
1292 |
|
---|
1293 | <tr>
|
---|
1294 | <td>admin</td>
|
---|
1295 | <td class="code"><pre>None</pre></td>
|
---|
1296 | </tr>
|
---|
1297 |
|
---|
1298 | <tr>
|
---|
1299 | <td>messages</td>
|
---|
1300 | <td class="code"><pre>None</pre></td>
|
---|
1301 | </tr>
|
---|
1302 |
|
---|
1303 | </tbody>
|
---|
1304 | </table>
|
---|
1305 |
|
---|
1306 | </li>
|
---|
1307 |
|
---|
1308 | <li class="frame django">
|
---|
1309 | <code>/Users/fjavieralba/virtualenvs/personal_page/lib/python2.7/site-packages/django/contrib/admin/sites.py</code> in <code>register</code>
|
---|
1310 |
|
---|
1311 |
|
---|
1312 | <div class="context" id="c4388693632">
|
---|
1313 |
|
---|
1314 | <ol start="61" class="pre-context" id="pre4388693632" style="display: none; "><li onclick="toggle('pre4388693632', 'post4388693632')"><pre> If a model is abstract, this will raise ImproperlyConfigured.</pre></li><li onclick="toggle('pre4388693632', 'post4388693632')"><pre> """</pre></li><li onclick="toggle('pre4388693632', 'post4388693632')"><pre> if not admin_class:</pre></li><li onclick="toggle('pre4388693632', 'post4388693632')"><pre> admin_class = ModelAdmin</pre></li><li onclick="toggle('pre4388693632', 'post4388693632')"><pre></pre></li><li onclick="toggle('pre4388693632', 'post4388693632')"><pre> # Don't import the humongous validation code unless required</pre></li><li onclick="toggle('pre4388693632', 'post4388693632')"><pre> if admin_class and settings.DEBUG:</pre></li></ol>
|
---|
1315 |
|
---|
1316 | <ol start="68" class="context-line"><li onclick="toggle('pre4388693632', 'post4388693632')"><pre> from django.contrib.admin.validation import validate</pre> <span>...</span></li></ol>
|
---|
1317 |
|
---|
1318 | <ol start="69" class="post-context" id="post4388693632" style="display: none; "><li onclick="toggle('pre4388693632', 'post4388693632')"><pre> else:</pre></li><li onclick="toggle('pre4388693632', 'post4388693632')"><pre> validate = lambda model, adminclass: None</pre></li><li onclick="toggle('pre4388693632', 'post4388693632')"><pre></pre></li><li onclick="toggle('pre4388693632', 'post4388693632')"><pre> if isinstance(model_or_iterable, ModelBase):</pre></li><li onclick="toggle('pre4388693632', 'post4388693632')"><pre> model_or_iterable = [model_or_iterable]</pre></li><li onclick="toggle('pre4388693632', 'post4388693632')"><pre> for model in model_or_iterable:</pre></li></ol>
|
---|
1319 |
|
---|
1320 | </div>
|
---|
1321 |
|
---|
1322 |
|
---|
1323 |
|
---|
1324 | <div class="commands">
|
---|
1325 |
|
---|
1326 | <a href="http://localhost:8000/admin#" onclick="return varToggle(this, '4388693632')"><span>▶</span> Local vars</a>
|
---|
1327 |
|
---|
1328 | </div>
|
---|
1329 | <table class="vars" id="v4388693632" style="display: none; ">
|
---|
1330 | <thead>
|
---|
1331 | <tr>
|
---|
1332 | <th>Variable</th>
|
---|
1333 | <th>Value</th>
|
---|
1334 | </tr>
|
---|
1335 | </thead>
|
---|
1336 | <tbody>
|
---|
1337 |
|
---|
1338 | <tr>
|
---|
1339 | <td>self</td>
|
---|
1340 | <td class="code"><pre><django.contrib.admin.sites.AdminSite object at 0x1058a1b90></pre></td>
|
---|
1341 | </tr>
|
---|
1342 |
|
---|
1343 | <tr>
|
---|
1344 | <td>admin_class</td>
|
---|
1345 | <td class="code"><pre><class 'django.contrib.auth.admin.GroupAdmin'></pre></td>
|
---|
1346 | </tr>
|
---|
1347 |
|
---|
1348 | <tr>
|
---|
1349 | <td>options</td>
|
---|
1350 | <td class="code"><pre>{}</pre></td>
|
---|
1351 | </tr>
|
---|
1352 |
|
---|
1353 | <tr>
|
---|
1354 | <td>model_or_iterable</td>
|
---|
1355 | <td class="code"><pre><class 'django.contrib.auth.models.Group'></pre></td>
|
---|
1356 | </tr>
|
---|
1357 |
|
---|
1358 | </tbody>
|
---|
1359 | </table>
|
---|
1360 |
|
---|
1361 | </li>
|
---|
1362 |
|
---|
1363 | <li class="frame user">
|
---|
1364 | <code>/Users/fjavieralba/virtualenvs/personal_page/lib/python2.7/site-packages/django/contrib/admin/validation.py</code> in <code><module></code>
|
---|
1365 |
|
---|
1366 |
|
---|
1367 | <div class="context" id="c4388694064">
|
---|
1368 |
|
---|
1369 | <ol start="1" class="pre-context" id="pre4388694064" style="display: block; "><li onclick="toggle('pre4388694064', 'post4388694064')"><pre>from django.core.exceptions import ImproperlyConfigured</pre></li><li onclick="toggle('pre4388694064', 'post4388694064')"><pre>from django.db import models</pre></li><li onclick="toggle('pre4388694064', 'post4388694064')"><pre>from django.db.models.fields import FieldDoesNotExist</pre></li><li onclick="toggle('pre4388694064', 'post4388694064')"><pre>from django.forms.models import (BaseModelForm, BaseModelFormSet, fields_for_model,</pre></li><li onclick="toggle('pre4388694064', 'post4388694064')"><pre> _get_foreign_key)</pre></li></ol>
|
---|
1370 |
|
---|
1371 | <ol start="6" class="context-line"><li onclick="toggle('pre4388694064', 'post4388694064')"><pre>from django.contrib.admin import ListFilter, FieldListFilter</pre> <span>...</span></li></ol>
|
---|
1372 |
|
---|
1373 | <ol start="7" class="post-context" id="post4388694064" style="display: block; "><li onclick="toggle('pre4388694064', 'post4388694064')"><pre>from django.contrib.admin.util import get_fields_from_path, NotRelationField</pre></li><li onclick="toggle('pre4388694064', 'post4388694064')"><pre>from django.contrib.admin.options import (flatten_fieldsets, BaseModelAdmin,</pre></li><li onclick="toggle('pre4388694064', 'post4388694064')"><pre> HORIZONTAL, VERTICAL)</pre></li><li onclick="toggle('pre4388694064', 'post4388694064')"><pre></pre></li><li onclick="toggle('pre4388694064', 'post4388694064')"><pre></pre></li><li onclick="toggle('pre4388694064', 'post4388694064')"><pre>__all__ = ['validate']</pre></li></ol>
|
---|
1374 |
|
---|
1375 | </div>
|
---|
1376 |
|
---|
1377 |
|
---|
1378 |
|
---|
1379 | <div class="commands">
|
---|
1380 |
|
---|
1381 | <a href="http://localhost:8000/admin#" onclick="return varToggle(this, '4388694064')"><span>▶</span> Local vars</a>
|
---|
1382 |
|
---|
1383 | </div>
|
---|
1384 | <table class="vars" id="v4388694064" style="display: none; ">
|
---|
1385 | <thead>
|
---|
1386 | <tr>
|
---|
1387 | <th>Variable</th>
|
---|
1388 | <th>Value</th>
|
---|
1389 | </tr>
|
---|
1390 | </thead>
|
---|
1391 | <tbody>
|
---|
1392 |
|
---|
1393 | <tr>
|
---|
1394 | <td>fields_for_model</td>
|
---|
1395 | <td class="code"><pre>None</pre></td>
|
---|
1396 | </tr>
|
---|
1397 |
|
---|
1398 | <tr>
|
---|
1399 | <td>__builtins__</td>
|
---|
1400 | <td class="code"><pre>{'ArithmeticError': <type 'exceptions.ArithmeticError'>,
|
---|
1401 | 'AssertionError': <type 'exceptions.AssertionError'>,
|
---|
1402 | 'AttributeError': <type 'exceptions.AttributeError'>,
|
---|
1403 | 'BaseException': <type 'exceptions.BaseException'>,
|
---|
1404 | 'BufferError': <type 'exceptions.BufferError'>,
|
---|
1405 | 'BytesWarning': <type 'exceptions.BytesWarning'>,
|
---|
1406 | 'DeprecationWarning': <type 'exceptions.DeprecationWarning'>,
|
---|
1407 | 'EOFError': <type 'exceptions.EOFError'>,
|
---|
1408 | 'Ellipsis': Ellipsis,
|
---|
1409 | 'EnvironmentError': <type 'exceptions.EnvironmentError'>,
|
---|
1410 | 'Exception': <type 'exceptions.Exception'>,
|
---|
1411 | 'False': False,
|
---|
1412 | 'FloatingPointError': <type 'exceptions.FloatingPointError'>,
|
---|
1413 | 'FutureWarning': <type 'exceptions.FutureWarning'>,
|
---|
1414 | 'GeneratorExit': <type 'exceptions.GeneratorExit'>,
|
---|
1415 | 'IOError': <type 'exceptions.IOError'>,
|
---|
1416 | 'ImportError': <type 'exceptions.ImportError'>,
|
---|
1417 | 'ImportWarning': <type 'exceptions.ImportWarning'>,
|
---|
1418 | 'IndentationError': <type 'exceptions.IndentationError'>,
|
---|
1419 | 'IndexError': <type 'exceptions.IndexError'>,
|
---|
1420 | 'KeyError': <type 'exceptions.KeyError'>,
|
---|
1421 | 'KeyboardInterrupt': <type 'exceptions.KeyboardInterrupt'>,
|
---|
1422 | 'LookupError': <type 'exceptions.LookupError'>,
|
---|
1423 | 'MemoryError': <type 'exceptions.MemoryError'>,
|
---|
1424 | 'NameError': <type 'exceptions.NameError'>,
|
---|
1425 | 'None': None,
|
---|
1426 | 'NotImplemented': NotImplemented,
|
---|
1427 | 'NotImplementedError': <type 'exceptions.NotImplementedError'>,
|
---|
1428 | 'OSError': <type 'exceptions.OSError'>,
|
---|
1429 | 'OverflowError': <type 'exceptions.OverflowError'>,
|
---|
1430 | 'PendingDeprecationWarning': <type 'exceptions.PendingDeprecationWarning'>,
|
---|
1431 | 'ReferenceError': <type 'exceptions.ReferenceError'>,
|
---|
1432 | 'RuntimeError': <type 'exceptions.RuntimeError'>,
|
---|
1433 | 'RuntimeWarning': <type 'exceptions.RuntimeWarning'>,
|
---|
1434 | 'StandardError': <type 'exceptions.StandardError'>,
|
---|
1435 | 'StopIteration': <type 'exceptions.StopIteration'>,
|
---|
1436 | 'SyntaxError': <type 'exceptions.SyntaxError'>,
|
---|
1437 | 'SyntaxWarning': <type 'exceptions.SyntaxWarning'>,
|
---|
1438 | 'SystemError': <type 'exceptions.SystemError'>,
|
---|
1439 | 'SystemExit': <type 'exceptions.SystemExit'>,
|
---|
1440 | 'TabError': <type 'exceptions.TabError'>,
|
---|
1441 | 'True': True,
|
---|
1442 | 'TypeError': <type 'exceptions.TypeError'>,
|
---|
1443 | 'UnboundLocalError': <type 'exceptions.UnboundLocalError'>,
|
---|
1444 | 'UnicodeDecodeError': <type 'exceptions.UnicodeDecodeError'>,
|
---|
1445 | 'UnicodeEncodeError': <type 'exceptions.UnicodeEncodeError'>,
|
---|
1446 | 'UnicodeError': <type 'exceptions.UnicodeError'>,
|
---|
1447 | 'UnicodeTranslateError': <type 'exceptions.UnicodeTranslateError'>,
|
---|
1448 | 'UnicodeWarning': <type 'exceptions.UnicodeWarning'>,
|
---|
1449 | 'UserWarning': <type 'exceptions.UserWarning'>,
|
---|
1450 | 'ValueError': <type 'exceptions.ValueError'>,
|
---|
1451 | 'Warning': <type 'exceptions.Warning'>,
|
---|
1452 | 'ZeroDivisionError': <type 'exceptions.ZeroDivisionError'>,
|
---|
1453 | '__debug__': True,
|
---|
1454 | '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.",
|
---|
1455 | '__import__': <built-in function __import__>,
|
---|
1456 | '__name__': '__builtin__',
|
---|
1457 | '__package__': None,
|
---|
1458 | 'abs': <built-in function abs>,
|
---|
1459 | 'all': <built-in function all>,
|
---|
1460 | 'any': <built-in function any>,
|
---|
1461 | 'apply': <built-in function apply>,
|
---|
1462 | 'basestring': <type 'basestring'>,
|
---|
1463 | 'bin': <built-in function bin>,
|
---|
1464 | 'bool': <type 'bool'>,
|
---|
1465 | 'buffer': <type 'buffer'>,
|
---|
1466 | 'bytearray': <type 'bytearray'>,
|
---|
1467 | 'bytes': <type 'str'>,
|
---|
1468 | 'callable': <built-in function callable>,
|
---|
1469 | 'chr': <built-in function chr>,
|
---|
1470 | 'classmethod': <type 'classmethod'>,
|
---|
1471 | 'cmp': <built-in function cmp>,
|
---|
1472 | 'coerce': <built-in function coerce>,
|
---|
1473 | 'compile': <built-in function compile>,
|
---|
1474 | 'complex': <type 'complex'>,
|
---|
1475 | 'copyright': Copyright (c) 2001-2010 Python Software Foundation.
|
---|
1476 | All Rights Reserved.
|
---|
1477 |
|
---|
1478 | Copyright (c) 2000 BeOpen.com.
|
---|
1479 | All Rights Reserved.
|
---|
1480 |
|
---|
1481 | Copyright (c) 1995-2001 Corporation for National Research Initiatives.
|
---|
1482 | All Rights Reserved.
|
---|
1483 |
|
---|
1484 | Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.
|
---|
1485 | All Rights Reserved.,
|
---|
1486 | 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands
|
---|
1487 | for supporting Python development. See www.python.org for more information.,
|
---|
1488 | 'delattr': <built-in function delattr>,
|
---|
1489 | 'dict': <type 'dict'>,
|
---|
1490 | 'dir': <built-in function dir>,
|
---|
1491 | 'divmod': <built-in function divmod>,
|
---|
1492 | 'enumerate': <type 'enumerate'>,
|
---|
1493 | 'eval': <built-in function eval>,
|
---|
1494 | 'execfile': <built-in function execfile>,
|
---|
1495 | 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit,
|
---|
1496 | 'file': <type 'file'>,
|
---|
1497 | 'filter': <built-in function filter>,
|
---|
1498 | 'float': <type 'float'>,
|
---|
1499 | 'format': <built-in function format>,
|
---|
1500 | 'frozenset': <type 'frozenset'>,
|
---|
1501 | 'getattr': <built-in function getattr>,
|
---|
1502 | 'globals': <built-in function globals>,
|
---|
1503 | 'hasattr': <built-in function hasattr>,
|
---|
1504 | 'hash': <built-in function hash>,
|
---|
1505 | 'help': Type help() for interactive help, or help(object) for help about object.,
|
---|
1506 | 'hex': <built-in function hex>,
|
---|
1507 | 'id': <built-in function id>,
|
---|
1508 | 'input': <built-in function input>,
|
---|
1509 | 'int': <type 'int'>,
|
---|
1510 | 'intern': <built-in function intern>,
|
---|
1511 | 'isinstance': <built-in function isinstance>,
|
---|
1512 | 'issubclass': <built-in function issubclass>,
|
---|
1513 | 'iter': <built-in function iter>,
|
---|
1514 | 'len': <built-in function len>,
|
---|
1515 | 'license': See http://www.python.org/2.7/license.html,
|
---|
1516 | 'list': <type 'list'>,
|
---|
1517 | 'locals': <built-in function locals>,
|
---|
1518 | 'long': <type 'long'>,
|
---|
1519 | 'map': <built-in function map>,
|
---|
1520 | 'max': <built-in function max>,
|
---|
1521 | 'memoryview': <type 'memoryview'>,
|
---|
1522 | 'min': <built-in function min>,
|
---|
1523 | 'next': <built-in function next>,
|
---|
1524 | 'object': <type 'object'>,
|
---|
1525 | 'oct': <built-in function oct>,
|
---|
1526 | 'open': <built-in function open>,
|
---|
1527 | 'ord': <built-in function ord>,
|
---|
1528 | 'pow': <built-in function pow>,
|
---|
1529 | 'print': <built-in function print>,
|
---|
1530 | 'property': <type 'property'>,
|
---|
1531 | 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit,
|
---|
1532 | 'range': <built-in function range>,
|
---|
1533 | 'raw_input': <built-in function raw_input>,
|
---|
1534 | 'reduce': <built-in function reduce>,
|
---|
1535 | 'reload': <built-in function reload>,
|
---|
1536 | 'repr': <built-in function repr>,
|
---|
1537 | 'reversed': <type 'reversed'>,
|
---|
1538 | 'round': <built-in function round>,
|
---|
1539 | 'set': <type 'set'>,
|
---|
1540 | 'setattr': <built-in function setattr>,
|
---|
1541 | 'slice': <type 'slice'>,
|
---|
1542 | 'sorted': <built-in function sorted>,
|
---|
1543 | 'staticmethod': <type 'staticmethod'>,
|
---|
1544 | 'str': <type 'str'>,
|
---|
1545 | 'sum': <built-in function sum>,
|
---|
1546 | 'super': <type 'super'>,
|
---|
1547 | 'tuple': <type 'tuple'>,
|
---|
1548 | 'type': <type 'type'>,
|
---|
1549 | 'unichr': <built-in function unichr>,
|
---|
1550 | 'unicode': <type 'unicode'>,
|
---|
1551 | 'vars': <built-in function vars>,
|
---|
1552 | 'xrange': <type 'xrange'>,
|
---|
1553 | 'zip': <built-in function zip>}</pre></td>
|
---|
1554 | </tr>
|
---|
1555 |
|
---|
1556 | <tr>
|
---|
1557 | <td>BaseModelForm</td>
|
---|
1558 | <td class="code"><pre>None</pre></td>
|
---|
1559 | </tr>
|
---|
1560 |
|
---|
1561 | <tr>
|
---|
1562 | <td>__file__</td>
|
---|
1563 | <td class="code"><pre>None</pre></td>
|
---|
1564 | </tr>
|
---|
1565 |
|
---|
1566 | <tr>
|
---|
1567 | <td>BaseModelFormSet</td>
|
---|
1568 | <td class="code"><pre>None</pre></td>
|
---|
1569 | </tr>
|
---|
1570 |
|
---|
1571 | <tr>
|
---|
1572 | <td>__package__</td>
|
---|
1573 | <td class="code"><pre>None</pre></td>
|
---|
1574 | </tr>
|
---|
1575 |
|
---|
1576 | <tr>
|
---|
1577 | <td>ImproperlyConfigured</td>
|
---|
1578 | <td class="code"><pre>None</pre></td>
|
---|
1579 | </tr>
|
---|
1580 |
|
---|
1581 | <tr>
|
---|
1582 | <td>models</td>
|
---|
1583 | <td class="code"><pre>None</pre></td>
|
---|
1584 | </tr>
|
---|
1585 |
|
---|
1586 | <tr>
|
---|
1587 | <td>__name__</td>
|
---|
1588 | <td class="code"><pre>None</pre></td>
|
---|
1589 | </tr>
|
---|
1590 |
|
---|
1591 | <tr>
|
---|
1592 | <td>FieldDoesNotExist</td>
|
---|
1593 | <td class="code"><pre>None</pre></td>
|
---|
1594 | </tr>
|
---|
1595 |
|
---|
1596 | <tr>
|
---|
1597 | <td>_get_foreign_key</td>
|
---|
1598 | <td class="code"><pre>None</pre></td>
|
---|
1599 | </tr>
|
---|
1600 |
|
---|
1601 | <tr>
|
---|
1602 | <td>__doc__</td>
|
---|
1603 | <td class="code"><pre>None</pre></td>
|
---|
1604 | </tr>
|
---|
1605 |
|
---|
1606 | </tbody>
|
---|
1607 | </table>
|
---|
1608 |
|
---|
1609 | </li>
|
---|
1610 |
|
---|
1611 | </ul>
|
---|
1612 | </div>
|
---|
1613 |
|
---|
1614 | <form action="http://dpaste.com/" name="pasteform" id="pasteform" method="post">
|
---|
1615 |
|
---|
1616 | <div id="pastebinTraceback" class="pastebin" style="display: none; ">
|
---|
1617 | <input type="hidden" name="language" value="PythonConsole">
|
---|
1618 | <input type="hidden" name="title" value="ImportError at /admin">
|
---|
1619 | <input type="hidden" name="source" value="Django Dpaste Agent">
|
---|
1620 | <input type="hidden" name="poster" value="Django">
|
---|
1621 | <textarea name="content" id="traceback_area" cols="140" rows="25">Environment:
|
---|
1622 |
|
---|
1623 |
|
---|
1624 | Request Method: GET
|
---|
1625 | Request URL: http://localhost:8000/admin
|
---|
1626 |
|
---|
1627 | Django Version: 1.4b1
|
---|
1628 | Python Version: 2.7.1
|
---|
1629 | Installed Applications:
|
---|
1630 | ('django.contrib.auth',
|
---|
1631 | 'django.contrib.contenttypes',
|
---|
1632 | 'django.contrib.sessions',
|
---|
1633 | 'django.contrib.sites',
|
---|
1634 | 'django.contrib.messages',
|
---|
1635 | 'django.contrib.staticfiles',
|
---|
1636 | 'fjavieralba_com.web',
|
---|
1637 | 'django.contrib.admin')
|
---|
1638 | Installed Middleware:
|
---|
1639 | ('django.middleware.common.CommonMiddleware',
|
---|
1640 | 'django.contrib.sessions.middleware.SessionMiddleware',
|
---|
1641 | 'django.middleware.csrf.CsrfViewMiddleware',
|
---|
1642 | 'django.contrib.auth.middleware.AuthenticationMiddleware',
|
---|
1643 | 'django.contrib.messages.middleware.MessageMiddleware')
|
---|
1644 |
|
---|
1645 |
|
---|
1646 | Traceback:
|
---|
1647 | File "/Users/fjavieralba/virtualenvs/personal_page/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
|
---|
1648 | 89. response = middleware_method(request)
|
---|
1649 | File "/Users/fjavieralba/virtualenvs/personal_page/lib/python2.7/site-packages/django/middleware/common.py" in process_request
|
---|
1650 | 67. if (not _is_valid_path(request.path_info, urlconf) and
|
---|
1651 | File "/Users/fjavieralba/virtualenvs/personal_page/lib/python2.7/site-packages/django/middleware/common.py" in _is_valid_path
|
---|
1652 | 164. urlresolvers.resolve(path, urlconf)
|
---|
1653 | File "/Users/fjavieralba/virtualenvs/personal_page/lib/python2.7/site-packages/django/core/urlresolvers.py" in resolve
|
---|
1654 | 420. return get_resolver(urlconf).resolve(path)
|
---|
1655 | File "/Users/fjavieralba/virtualenvs/personal_page/lib/python2.7/site-packages/django/core/urlresolvers.py" in resolve
|
---|
1656 | 298. for pattern in self.url_patterns:
|
---|
1657 | File "/Users/fjavieralba/virtualenvs/personal_page/lib/python2.7/site-packages/django/core/urlresolvers.py" in url_patterns
|
---|
1658 | 328. patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
|
---|
1659 | File "/Users/fjavieralba/virtualenvs/personal_page/lib/python2.7/site-packages/django/core/urlresolvers.py" in urlconf_module
|
---|
1660 | 323. self._urlconf_module = import_module(self.urlconf_name)
|
---|
1661 | File "/Users/fjavieralba/virtualenvs/personal_page/lib/python2.7/site-packages/django/utils/importlib.py" in import_module
|
---|
1662 | 35. __import__(name)
|
---|
1663 | File "/Users/fjavieralba/github/fjavieralba_com/fjavieralba_com/urls.py" in <module>
|
---|
1664 | 5. admin.autodiscover()
|
---|
1665 | File "/Users/fjavieralba/virtualenvs/personal_page/lib/python2.7/site-packages/django/contrib/admin/__init__.py" in autodiscover
|
---|
1666 | 26. import_module('%s.admin' % app)
|
---|
1667 | File "/Users/fjavieralba/virtualenvs/personal_page/lib/python2.7/site-packages/django/utils/importlib.py" in import_module
|
---|
1668 | 35. __import__(name)
|
---|
1669 | File "/Users/fjavieralba/virtualenvs/personal_page/lib/python2.7/site-packages/django/contrib/auth/admin.py" in <module>
|
---|
1670 | 171. admin.site.register(Group, GroupAdmin)
|
---|
1671 | File "/Users/fjavieralba/virtualenvs/personal_page/lib/python2.7/site-packages/django/contrib/admin/sites.py" in register
|
---|
1672 | 68. from django.contrib.admin.validation import validate
|
---|
1673 | File "/Users/fjavieralba/virtualenvs/personal_page/lib/python2.7/site-packages/django/contrib/admin/validation.py" in <module>
|
---|
1674 | 6. from django.contrib.admin import ListFilter, FieldListFilter
|
---|
1675 |
|
---|
1676 | Exception Type: ImportError at /admin
|
---|
1677 | Exception Value: cannot import name ListFilter
|
---|
1678 | </textarea>
|
---|
1679 | <br><br>
|
---|
1680 | <input type="submit" value="Share this traceback on a public Web site">
|
---|
1681 | </div>
|
---|
1682 | </form>
|
---|
1683 | </div>
|
---|
1684 |
|
---|
1685 |
|
---|
1686 |
|
---|
1687 | <div id="requestinfo">
|
---|
1688 | <h2>Request information</h2>
|
---|
1689 |
|
---|
1690 |
|
---|
1691 | <h3 id="get-info">GET</h3>
|
---|
1692 |
|
---|
1693 | <p>No GET data</p>
|
---|
1694 |
|
---|
1695 |
|
---|
1696 | <h3 id="post-info">POST</h3>
|
---|
1697 |
|
---|
1698 | <p>No POST data</p>
|
---|
1699 |
|
---|
1700 | <h3 id="files-info">FILES</h3>
|
---|
1701 |
|
---|
1702 | <p>No FILES data</p>
|
---|
1703 |
|
---|
1704 |
|
---|
1705 |
|
---|
1706 | <h3 id="cookie-info">COOKIES</h3>
|
---|
1707 |
|
---|
1708 | <p>No cookie data</p>
|
---|
1709 |
|
---|
1710 |
|
---|
1711 | <h3 id="meta-info">META</h3>
|
---|
1712 | <table class="req">
|
---|
1713 | <thead>
|
---|
1714 | <tr>
|
---|
1715 | <th>Variable</th>
|
---|
1716 | <th>Value</th>
|
---|
1717 | </tr>
|
---|
1718 | </thead>
|
---|
1719 | <tbody>
|
---|
1720 |
|
---|
1721 | <tr>
|
---|
1722 | <td>wsgi.multiprocess</td>
|
---|
1723 | <td class="code"><pre>False</pre></td>
|
---|
1724 | </tr>
|
---|
1725 |
|
---|
1726 | <tr>
|
---|
1727 | <td>RUN_MAIN</td>
|
---|
1728 | <td class="code"><pre>'true'</pre></td>
|
---|
1729 | </tr>
|
---|
1730 |
|
---|
1731 | <tr>
|
---|
1732 | <td>rvm_version</td>
|
---|
1733 | <td class="code"><pre>'1.10.0'</pre></td>
|
---|
1734 | </tr>
|
---|
1735 |
|
---|
1736 | <tr>
|
---|
1737 | <td>HTTP_ACCEPT_LANGUAGE</td>
|
---|
1738 | <td class="code"><pre>'en-US,en;q=0.8'</pre></td>
|
---|
1739 | </tr>
|
---|
1740 |
|
---|
1741 | <tr>
|
---|
1742 | <td>VERSIONER_PYTHON_PREFER_32_BIT</td>
|
---|
1743 | <td class="code"><pre>'no'</pre></td>
|
---|
1744 | </tr>
|
---|
1745 |
|
---|
1746 | <tr>
|
---|
1747 | <td>SERVER_SOFTWARE</td>
|
---|
1748 | <td class="code"><pre>'WSGIServer/0.1 Python/2.7.1'</pre></td>
|
---|
1749 | </tr>
|
---|
1750 |
|
---|
1751 | <tr>
|
---|
1752 | <td>rvm_path</td>
|
---|
1753 | <td class="code"><pre>'/Users/fjavieralba/.rvm'</pre></td>
|
---|
1754 | </tr>
|
---|
1755 |
|
---|
1756 | <tr>
|
---|
1757 | <td>TERM_PROGRAM_VERSION</td>
|
---|
1758 | <td class="code"><pre>'303'</pre></td>
|
---|
1759 | </tr>
|
---|
1760 |
|
---|
1761 | <tr>
|
---|
1762 | <td>escape_flag</td>
|
---|
1763 | <td class="code"><pre>'1'</pre></td>
|
---|
1764 | </tr>
|
---|
1765 |
|
---|
1766 | <tr>
|
---|
1767 | <td>REQUEST_METHOD</td>
|
---|
1768 | <td class="code"><pre>'GET'</pre></td>
|
---|
1769 | </tr>
|
---|
1770 |
|
---|
1771 | <tr>
|
---|
1772 | <td>LOGNAME</td>
|
---|
1773 | <td class="code"><pre>'fjavieralba'</pre></td>
|
---|
1774 | </tr>
|
---|
1775 |
|
---|
1776 | <tr>
|
---|
1777 | <td>USER</td>
|
---|
1778 | <td class="code"><pre>'fjavieralba'</pre></td>
|
---|
1779 | </tr>
|
---|
1780 |
|
---|
1781 | <tr>
|
---|
1782 | <td>PATH</td>
|
---|
1783 | <td class="code"><pre>'/Users/fjavieralba/virtualenvs/personal_page/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/opt/local/bin:/usr/local/git/bin:/Users/fjavieralba/.rvm/bin'</pre></td>
|
---|
1784 | </tr>
|
---|
1785 |
|
---|
1786 | <tr>
|
---|
1787 | <td>QUERY_STRING</td>
|
---|
1788 | <td class="code"><pre>''</pre></td>
|
---|
1789 | </tr>
|
---|
1790 |
|
---|
1791 | <tr>
|
---|
1792 | <td>HOME</td>
|
---|
1793 | <td class="code"><pre>'/Users/fjavieralba'</pre></td>
|
---|
1794 | </tr>
|
---|
1795 |
|
---|
1796 | <tr>
|
---|
1797 | <td>PS1</td>
|
---|
1798 | <td class="code"><pre>'(personal_page)\\h:\\W \\u\\$ '</pre></td>
|
---|
1799 | </tr>
|
---|
1800 |
|
---|
1801 | <tr>
|
---|
1802 | <td>DISPLAY</td>
|
---|
1803 | <td class="code"><pre>'/tmp/launch-mP4tgn/org.x:0'</pre></td>
|
---|
1804 | </tr>
|
---|
1805 |
|
---|
1806 | <tr>
|
---|
1807 | <td>rvm_verbose_flag</td>
|
---|
1808 | <td class="code"><pre>'0'</pre></td>
|
---|
1809 | </tr>
|
---|
1810 |
|
---|
1811 | <tr>
|
---|
1812 | <td>LANG</td>
|
---|
1813 | <td class="code"><pre>'es_ES.UTF-8'</pre></td>
|
---|
1814 | </tr>
|
---|
1815 |
|
---|
1816 | <tr>
|
---|
1817 | <td>HTTP_ACCEPT_CHARSET</td>
|
---|
1818 | <td class="code"><pre>'ISO-8859-1,utf-8;q=0.7,*;q=0.3'</pre></td>
|
---|
1819 | </tr>
|
---|
1820 |
|
---|
1821 | <tr>
|
---|
1822 | <td>TERM</td>
|
---|
1823 | <td class="code"><pre>'xterm-256color'</pre></td>
|
---|
1824 | </tr>
|
---|
1825 |
|
---|
1826 | <tr>
|
---|
1827 | <td>SHELL</td>
|
---|
1828 | <td class="code"><pre>'/bin/bash'</pre></td>
|
---|
1829 | </tr>
|
---|
1830 |
|
---|
1831 | <tr>
|
---|
1832 | <td>TZ</td>
|
---|
1833 | <td class="code"><pre>'Europe/Madrid'</pre></td>
|
---|
1834 | </tr>
|
---|
1835 |
|
---|
1836 | <tr>
|
---|
1837 | <td>_first</td>
|
---|
1838 | <td class="code"><pre>'0'</pre></td>
|
---|
1839 | </tr>
|
---|
1840 |
|
---|
1841 | <tr>
|
---|
1842 | <td>SERVER_NAME</td>
|
---|
1843 | <td class="code"><pre>'1.0.0.127.in-addr.arpa'</pre></td>
|
---|
1844 | </tr>
|
---|
1845 |
|
---|
1846 | <tr>
|
---|
1847 | <td>VERSIONER_PYTHON_VERSION</td>
|
---|
1848 | <td class="code"><pre>'2.7'</pre></td>
|
---|
1849 | </tr>
|
---|
1850 |
|
---|
1851 | <tr>
|
---|
1852 | <td>SHLVL</td>
|
---|
1853 | <td class="code"><pre>'1'</pre></td>
|
---|
1854 | </tr>
|
---|
1855 |
|
---|
1856 | <tr>
|
---|
1857 | <td>__array_start</td>
|
---|
1858 | <td class="code"><pre>'0'</pre></td>
|
---|
1859 | </tr>
|
---|
1860 |
|
---|
1861 | <tr>
|
---|
1862 | <td>SECURITYSESSIONID</td>
|
---|
1863 | <td class="code"><pre>'186a5'</pre></td>
|
---|
1864 | </tr>
|
---|
1865 |
|
---|
1866 | <tr>
|
---|
1867 | <td>wsgi.url_scheme</td>
|
---|
1868 | <td class="code"><pre>'http'</pre></td>
|
---|
1869 | </tr>
|
---|
1870 |
|
---|
1871 | <tr>
|
---|
1872 | <td>rvm_debug_flag</td>
|
---|
1873 | <td class="code"><pre>'0'</pre></td>
|
---|
1874 | </tr>
|
---|
1875 |
|
---|
1876 | <tr>
|
---|
1877 | <td>CONTENT_LENGTH</td>
|
---|
1878 | <td class="code"><pre>''</pre></td>
|
---|
1879 | </tr>
|
---|
1880 |
|
---|
1881 | <tr>
|
---|
1882 | <td>_</td>
|
---|
1883 | <td class="code"><pre>'/Users/fjavieralba/virtualenvs/personal_page/bin/python'</pre></td>
|
---|
1884 | </tr>
|
---|
1885 |
|
---|
1886 | <tr>
|
---|
1887 | <td>SERVER_PORT</td>
|
---|
1888 | <td class="code"><pre>'8000'</pre></td>
|
---|
1889 | </tr>
|
---|
1890 |
|
---|
1891 | <tr>
|
---|
1892 | <td>rvm_reload_flag</td>
|
---|
1893 | <td class="code"><pre>'0'</pre></td>
|
---|
1894 | </tr>
|
---|
1895 |
|
---|
1896 | <tr>
|
---|
1897 | <td>HTTP_ACCEPT</td>
|
---|
1898 | <td class="code"><pre>'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'</pre></td>
|
---|
1899 | </tr>
|
---|
1900 |
|
---|
1901 | <tr>
|
---|
1902 | <td>TERM_PROGRAM</td>
|
---|
1903 | <td class="code"><pre>'Apple_Terminal'</pre></td>
|
---|
1904 | </tr>
|
---|
1905 |
|
---|
1906 | <tr>
|
---|
1907 | <td>rvm_bin_path</td>
|
---|
1908 | <td class="code"><pre>'/Users/fjavieralba/.rvm/bin'</pre></td>
|
---|
1909 | </tr>
|
---|
1910 |
|
---|
1911 | <tr>
|
---|
1912 | <td>PATH_INFO</td>
|
---|
1913 | <td class="code"><pre>u'/admin'</pre></td>
|
---|
1914 | </tr>
|
---|
1915 |
|
---|
1916 | <tr>
|
---|
1917 | <td>WORKON_HOME</td>
|
---|
1918 | <td class="code"><pre>'/Users/fjavieralba/virtualenvs'</pre></td>
|
---|
1919 | </tr>
|
---|
1920 |
|
---|
1921 | <tr>
|
---|
1922 | <td>TERM_SESSION_ID</td>
|
---|
1923 | <td class="code"><pre>'B408EF2E-235B-482B-8BAF-4E3854F02215'</pre></td>
|
---|
1924 | </tr>
|
---|
1925 |
|
---|
1926 | <tr>
|
---|
1927 | <td>rvm_prefix</td>
|
---|
1928 | <td class="code"><pre>'/Users/fjavieralba'</pre></td>
|
---|
1929 | </tr>
|
---|
1930 |
|
---|
1931 | <tr>
|
---|
1932 | <td>rvm_dump_environment_flag</td>
|
---|
1933 | <td class="code"><pre>'0'</pre></td>
|
---|
1934 | </tr>
|
---|
1935 |
|
---|
1936 | <tr>
|
---|
1937 | <td>SSH_AUTH_SOCK</td>
|
---|
1938 | <td class="code"><pre>'/tmp/launch-UBq3xG/Listeners'</pre></td>
|
---|
1939 | </tr>
|
---|
1940 |
|
---|
1941 | <tr>
|
---|
1942 | <td>VIRTUAL_ENV</td>
|
---|
1943 | <td class="code"><pre>'/Users/fjavieralba/virtualenvs/personal_page'</pre></td>
|
---|
1944 | </tr>
|
---|
1945 |
|
---|
1946 | <tr>
|
---|
1947 | <td>rvm_trace_flag</td>
|
---|
1948 | <td class="code"><pre>'0'</pre></td>
|
---|
1949 | </tr>
|
---|
1950 |
|
---|
1951 | <tr>
|
---|
1952 | <td>Apple_PubSub_Socket_Render</td>
|
---|
1953 | <td class="code"><pre>'/tmp/launch-EY3qCC/Render'</pre></td>
|
---|
1954 | </tr>
|
---|
1955 |
|
---|
1956 | <tr>
|
---|
1957 | <td>HTTP_HOST</td>
|
---|
1958 | <td class="code"><pre>'localhost:8000'</pre></td>
|
---|
1959 | </tr>
|
---|
1960 |
|
---|
1961 | <tr>
|
---|
1962 | <td>SCRIPT_NAME</td>
|
---|
1963 | <td class="code"><pre>u''</pre></td>
|
---|
1964 | </tr>
|
---|
1965 |
|
---|
1966 | <tr>
|
---|
1967 | <td>wsgi.multithread</td>
|
---|
1968 | <td class="code"><pre>True</pre></td>
|
---|
1969 | </tr>
|
---|
1970 |
|
---|
1971 | <tr>
|
---|
1972 | <td>HTTP_CONNECTION</td>
|
---|
1973 | <td class="code"><pre>'keep-alive'</pre></td>
|
---|
1974 | </tr>
|
---|
1975 |
|
---|
1976 | <tr>
|
---|
1977 | <td>rvm_clang_flag</td>
|
---|
1978 | <td class="code"><pre>'0'</pre></td>
|
---|
1979 | </tr>
|
---|
1980 |
|
---|
1981 | <tr>
|
---|
1982 | <td>TMPDIR</td>
|
---|
1983 | <td class="code"><pre>'/var/folders/py/lsxmb3_d2r3fwtlzvccr4fzc0000gn/T/'</pre></td>
|
---|
1984 | </tr>
|
---|
1985 |
|
---|
1986 | <tr>
|
---|
1987 | <td>VIRTUALENVWRAPPER_HOOK_DIR</td>
|
---|
1988 | <td class="code"><pre>'/Users/fjavieralba/virtualenvs'</pre></td>
|
---|
1989 | </tr>
|
---|
1990 |
|
---|
1991 | <tr>
|
---|
1992 | <td>_second</td>
|
---|
1993 | <td class="code"><pre>'1'</pre></td>
|
---|
1994 | </tr>
|
---|
1995 |
|
---|
1996 | <tr>
|
---|
1997 | <td>LSCOLORS</td>
|
---|
1998 | <td class="code"><pre>'ExFxCxDxBxegedabagacad'</pre></td>
|
---|
1999 | </tr>
|
---|
2000 |
|
---|
2001 | <tr>
|
---|
2002 | <td>wsgi.version</td>
|
---|
2003 | <td class="code"><pre>(1, 0)</pre></td>
|
---|
2004 | </tr>
|
---|
2005 |
|
---|
2006 | <tr>
|
---|
2007 | <td>NLTK_DATA</td>
|
---|
2008 | <td class="code"><pre>'/usr/share/nltk'</pre></td>
|
---|
2009 | </tr>
|
---|
2010 |
|
---|
2011 | <tr>
|
---|
2012 | <td>GATEWAY_INTERFACE</td>
|
---|
2013 | <td class="code"><pre>'CGI/1.1'</pre></td>
|
---|
2014 | </tr>
|
---|
2015 |
|
---|
2016 | <tr>
|
---|
2017 | <td>wsgi.run_once</td>
|
---|
2018 | <td class="code"><pre>False</pre></td>
|
---|
2019 | </tr>
|
---|
2020 |
|
---|
2021 | <tr>
|
---|
2022 | <td>OLDPWD</td>
|
---|
2023 | <td class="code"><pre>'/Users/fjavieralba/github/fjavieralba_com/fjavieralba_com'</pre></td>
|
---|
2024 | </tr>
|
---|
2025 |
|
---|
2026 | <tr>
|
---|
2027 | <td>REMOTE_ADDR</td>
|
---|
2028 | <td class="code"><pre>'127.0.0.1'</pre></td>
|
---|
2029 | </tr>
|
---|
2030 |
|
---|
2031 | <tr>
|
---|
2032 | <td>HTTP_USER_AGENT</td>
|
---|
2033 | <td class="code"><pre>'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11'</pre></td>
|
---|
2034 | </tr>
|
---|
2035 |
|
---|
2036 | <tr>
|
---|
2037 | <td>wsgi.input</td>
|
---|
2038 | <td class="code"><pre><socket._fileobject object at 0x1059ae1d0></pre></td>
|
---|
2039 | </tr>
|
---|
2040 |
|
---|
2041 | <tr>
|
---|
2042 | <td>wsgi.errors</td>
|
---|
2043 | <td class="code"><pre><open file '<stderr>', mode 'w' at 0x104c68270></pre></td>
|
---|
2044 | </tr>
|
---|
2045 |
|
---|
2046 | <tr>
|
---|
2047 | <td>CLICOLOR</td>
|
---|
2048 | <td class="code"><pre>'1'</pre></td>
|
---|
2049 | </tr>
|
---|
2050 |
|
---|
2051 | <tr>
|
---|
2052 | <td>__CF_USER_TEXT_ENCODING</td>
|
---|
2053 | <td class="code"><pre>'0x1F5:0:0'</pre></td>
|
---|
2054 | </tr>
|
---|
2055 |
|
---|
2056 | <tr>
|
---|
2057 | <td>Apple_Ubiquity_Message</td>
|
---|
2058 | <td class="code"><pre>'/tmp/launch-mBY1vs/Apple_Ubiquity_Message'</pre></td>
|
---|
2059 | </tr>
|
---|
2060 |
|
---|
2061 | <tr>
|
---|
2062 | <td>PWD</td>
|
---|
2063 | <td class="code"><pre>'/Users/fjavieralba/github/fjavieralba_com'</pre></td>
|
---|
2064 | </tr>
|
---|
2065 |
|
---|
2066 | <tr>
|
---|
2067 | <td>SERVER_PROTOCOL</td>
|
---|
2068 | <td class="code"><pre>'HTTP/1.1'</pre></td>
|
---|
2069 | </tr>
|
---|
2070 |
|
---|
2071 | <tr>
|
---|
2072 | <td>DJANGO_SETTINGS_MODULE</td>
|
---|
2073 | <td class="code"><pre>'fjavieralba_com.settings'</pre></td>
|
---|
2074 | </tr>
|
---|
2075 |
|
---|
2076 | <tr>
|
---|
2077 | <td>CONTENT_TYPE</td>
|
---|
2078 | <td class="code"><pre>'text/plain'</pre></td>
|
---|
2079 | </tr>
|
---|
2080 |
|
---|
2081 | <tr>
|
---|
2082 | <td>VIRTUALENVWRAPPER_LOG_DIR</td>
|
---|
2083 | <td class="code"><pre>'/Users/fjavieralba/virtualenvs'</pre></td>
|
---|
2084 | </tr>
|
---|
2085 |
|
---|
2086 | <tr>
|
---|
2087 | <td>wsgi.file_wrapper</td>
|
---|
2088 | <td class="code"><pre>''</pre></td>
|
---|
2089 | </tr>
|
---|
2090 |
|
---|
2091 | <tr>
|
---|
2092 | <td>REMOTE_HOST</td>
|
---|
2093 | <td class="code"><pre>''</pre></td>
|
---|
2094 | </tr>
|
---|
2095 |
|
---|
2096 | <tr>
|
---|
2097 | <td>HTTP_ACCEPT_ENCODING</td>
|
---|
2098 | <td class="code"><pre>'gzip,deflate,sdch'</pre></td>
|
---|
2099 | </tr>
|
---|
2100 |
|
---|
2101 | <tr>
|
---|
2102 | <td>COMMAND_MODE</td>
|
---|
2103 | <td class="code"><pre>'unix2003'</pre></td>
|
---|
2104 | </tr>
|
---|
2105 |
|
---|
2106 | </tbody>
|
---|
2107 | </table>
|
---|
2108 |
|
---|
2109 |
|
---|
2110 | <h3 id="settings-info">Settings</h3>
|
---|
2111 | <h4>Using settings module <code>fjavieralba_com.settings</code></h4>
|
---|
2112 | <table class="req">
|
---|
2113 | <thead>
|
---|
2114 | <tr>
|
---|
2115 | <th>Setting</th>
|
---|
2116 | <th>Value</th>
|
---|
2117 | </tr>
|
---|
2118 | </thead>
|
---|
2119 | <tbody>
|
---|
2120 |
|
---|
2121 | <tr>
|
---|
2122 | <td>USE_L10N</td>
|
---|
2123 | <td class="code"><pre>True</pre></td>
|
---|
2124 | </tr>
|
---|
2125 |
|
---|
2126 | <tr>
|
---|
2127 | <td>USE_THOUSAND_SEPARATOR</td>
|
---|
2128 | <td class="code"><pre>False</pre></td>
|
---|
2129 | </tr>
|
---|
2130 |
|
---|
2131 | <tr>
|
---|
2132 | <td>CSRF_COOKIE_SECURE</td>
|
---|
2133 | <td class="code"><pre>False</pre></td>
|
---|
2134 | </tr>
|
---|
2135 |
|
---|
2136 | <tr>
|
---|
2137 | <td>LANGUAGE_CODE</td>
|
---|
2138 | <td class="code"><pre>'en-us'</pre></td>
|
---|
2139 | </tr>
|
---|
2140 |
|
---|
2141 | <tr>
|
---|
2142 | <td>ROOT_URLCONF</td>
|
---|
2143 | <td class="code"><pre>'fjavieralba_com.urls'</pre></td>
|
---|
2144 | </tr>
|
---|
2145 |
|
---|
2146 | <tr>
|
---|
2147 | <td>MANAGERS</td>
|
---|
2148 | <td class="code"><pre>()</pre></td>
|
---|
2149 | </tr>
|
---|
2150 |
|
---|
2151 | <tr>
|
---|
2152 | <td>DEFAULT_CHARSET</td>
|
---|
2153 | <td class="code"><pre>'utf-8'</pre></td>
|
---|
2154 | </tr>
|
---|
2155 |
|
---|
2156 | <tr>
|
---|
2157 | <td>STATIC_ROOT</td>
|
---|
2158 | <td class="code"><pre>''</pre></td>
|
---|
2159 | </tr>
|
---|
2160 |
|
---|
2161 | <tr>
|
---|
2162 | <td>MESSAGE_STORAGE</td>
|
---|
2163 | <td class="code"><pre>'django.contrib.messages.storage.fallback.FallbackStorage'</pre></td>
|
---|
2164 | </tr>
|
---|
2165 |
|
---|
2166 | <tr>
|
---|
2167 | <td>EMAIL_SUBJECT_PREFIX</td>
|
---|
2168 | <td class="code"><pre>'[Django] '</pre></td>
|
---|
2169 | </tr>
|
---|
2170 |
|
---|
2171 | <tr>
|
---|
2172 | <td>FILE_UPLOAD_PERMISSIONS</td>
|
---|
2173 | <td class="code"><pre>None</pre></td>
|
---|
2174 | </tr>
|
---|
2175 |
|
---|
2176 | <tr>
|
---|
2177 | <td>URL_VALIDATOR_USER_AGENT</td>
|
---|
2178 | <td class="code"><pre>'Django/1.4b1 (http://www.djangoproject.com)'</pre></td>
|
---|
2179 | </tr>
|
---|
2180 |
|
---|
2181 | <tr>
|
---|
2182 | <td>STATICFILES_FINDERS</td>
|
---|
2183 | <td class="code"><pre>('django.contrib.staticfiles.finders.FileSystemFinder',
|
---|
2184 | 'django.contrib.staticfiles.finders.AppDirectoriesFinder')</pre></td>
|
---|
2185 | </tr>
|
---|
2186 |
|
---|
2187 | <tr>
|
---|
2188 | <td>SESSION_COOKIE_DOMAIN</td>
|
---|
2189 | <td class="code"><pre>None</pre></td>
|
---|
2190 | </tr>
|
---|
2191 |
|
---|
2192 | <tr>
|
---|
2193 | <td>SESSION_COOKIE_NAME</td>
|
---|
2194 | <td class="code"><pre>'sessionid'</pre></td>
|
---|
2195 | </tr>
|
---|
2196 |
|
---|
2197 | <tr>
|
---|
2198 | <td>ADMIN_FOR</td>
|
---|
2199 | <td class="code"><pre>()</pre></td>
|
---|
2200 | </tr>
|
---|
2201 |
|
---|
2202 | <tr>
|
---|
2203 | <td>TIME_INPUT_FORMATS</td>
|
---|
2204 | <td class="code"><pre>('%H:%M:%S', '%H:%M')</pre></td>
|
---|
2205 | </tr>
|
---|
2206 |
|
---|
2207 | <tr>
|
---|
2208 | <td>DATABASES</td>
|
---|
2209 | <td class="code"><pre>{'default': {'ENGINE': 'django.db.backends.sqlite3',
|
---|
2210 | 'HOST': '',
|
---|
2211 | 'NAME': '/Users/fjavieralba/github/fjavieralba_com/database/fjavieralba.db',
|
---|
2212 | 'OPTIONS': {},
|
---|
2213 | 'PASSWORD': u'********************',
|
---|
2214 | 'PORT': '',
|
---|
2215 | 'TEST_CHARSET': None,
|
---|
2216 | 'TEST_COLLATION': None,
|
---|
2217 | 'TEST_MIRROR': None,
|
---|
2218 | 'TEST_NAME': None,
|
---|
2219 | 'TIME_ZONE': 'UTC',
|
---|
2220 | 'USER': ''}}</pre></td>
|
---|
2221 | </tr>
|
---|
2222 |
|
---|
2223 | <tr>
|
---|
2224 | <td>SERVER_EMAIL</td>
|
---|
2225 | <td class="code"><pre>'root@localhost'</pre></td>
|
---|
2226 | </tr>
|
---|
2227 |
|
---|
2228 | <tr>
|
---|
2229 | <td>FILE_UPLOAD_HANDLERS</td>
|
---|
2230 | <td class="code"><pre>('django.core.files.uploadhandler.MemoryFileUploadHandler',
|
---|
2231 | 'django.core.files.uploadhandler.TemporaryFileUploadHandler')</pre></td>
|
---|
2232 | </tr>
|
---|
2233 |
|
---|
2234 | <tr>
|
---|
2235 | <td>DEFAULT_CONTENT_TYPE</td>
|
---|
2236 | <td class="code"><pre>'text/html'</pre></td>
|
---|
2237 | </tr>
|
---|
2238 |
|
---|
2239 | <tr>
|
---|
2240 | <td>APPEND_SLASH</td>
|
---|
2241 | <td class="code"><pre>True</pre></td>
|
---|
2242 | </tr>
|
---|
2243 |
|
---|
2244 | <tr>
|
---|
2245 | <td>FIRST_DAY_OF_WEEK</td>
|
---|
2246 | <td class="code"><pre>0</pre></td>
|
---|
2247 | </tr>
|
---|
2248 |
|
---|
2249 | <tr>
|
---|
2250 | <td>DATABASE_ROUTERS</td>
|
---|
2251 | <td class="code"><pre>[]</pre></td>
|
---|
2252 | </tr>
|
---|
2253 |
|
---|
2254 | <tr>
|
---|
2255 | <td>YEAR_MONTH_FORMAT</td>
|
---|
2256 | <td class="code"><pre>'F Y'</pre></td>
|
---|
2257 | </tr>
|
---|
2258 |
|
---|
2259 | <tr>
|
---|
2260 | <td>STATICFILES_STORAGE</td>
|
---|
2261 | <td class="code"><pre>'django.contrib.staticfiles.storage.StaticFilesStorage'</pre></td>
|
---|
2262 | </tr>
|
---|
2263 |
|
---|
2264 | <tr>
|
---|
2265 | <td>CACHES</td>
|
---|
2266 | <td class="code"><pre>{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
|
---|
2267 | 'LOCATION': ''}}</pre></td>
|
---|
2268 | </tr>
|
---|
2269 |
|
---|
2270 | <tr>
|
---|
2271 | <td>SESSION_COOKIE_PATH</td>
|
---|
2272 | <td class="code"><pre>'/'</pre></td>
|
---|
2273 | </tr>
|
---|
2274 |
|
---|
2275 | <tr>
|
---|
2276 | <td>USE_X_FORWARDED_HOST</td>
|
---|
2277 | <td class="code"><pre>False</pre></td>
|
---|
2278 | </tr>
|
---|
2279 |
|
---|
2280 | <tr>
|
---|
2281 | <td>MIDDLEWARE_CLASSES</td>
|
---|
2282 | <td class="code"><pre>('django.middleware.common.CommonMiddleware',
|
---|
2283 | 'django.contrib.sessions.middleware.SessionMiddleware',
|
---|
2284 | 'django.middleware.csrf.CsrfViewMiddleware',
|
---|
2285 | 'django.contrib.auth.middleware.AuthenticationMiddleware',
|
---|
2286 | 'django.contrib.messages.middleware.MessageMiddleware')</pre></td>
|
---|
2287 | </tr>
|
---|
2288 |
|
---|
2289 | <tr>
|
---|
2290 | <td>USE_I18N</td>
|
---|
2291 | <td class="code"><pre>True</pre></td>
|
---|
2292 | </tr>
|
---|
2293 |
|
---|
2294 | <tr>
|
---|
2295 | <td>THOUSAND_SEPARATOR</td>
|
---|
2296 | <td class="code"><pre>','</pre></td>
|
---|
2297 | </tr>
|
---|
2298 |
|
---|
2299 | <tr>
|
---|
2300 | <td>SECRET_KEY</td>
|
---|
2301 | <td class="code"><pre>u'********************'</pre></td>
|
---|
2302 | </tr>
|
---|
2303 |
|
---|
2304 | <tr>
|
---|
2305 | <td>LANGUAGE_COOKIE_NAME</td>
|
---|
2306 | <td class="code"><pre>'django_language'</pre></td>
|
---|
2307 | </tr>
|
---|
2308 |
|
---|
2309 | <tr>
|
---|
2310 | <td>DEFAULT_INDEX_TABLESPACE</td>
|
---|
2311 | <td class="code"><pre>''</pre></td>
|
---|
2312 | </tr>
|
---|
2313 |
|
---|
2314 | <tr>
|
---|
2315 | <td>TRANSACTIONS_MANAGED</td>
|
---|
2316 | <td class="code"><pre>False</pre></td>
|
---|
2317 | </tr>
|
---|
2318 |
|
---|
2319 | <tr>
|
---|
2320 | <td>LOGGING_CONFIG</td>
|
---|
2321 | <td class="code"><pre>'django.utils.log.dictConfig'</pre></td>
|
---|
2322 | </tr>
|
---|
2323 |
|
---|
2324 | <tr>
|
---|
2325 | <td>SEND_BROKEN_LINK_EMAILS</td>
|
---|
2326 | <td class="code"><pre>False</pre></td>
|
---|
2327 | </tr>
|
---|
2328 |
|
---|
2329 | <tr>
|
---|
2330 | <td>TEMPLATE_LOADERS</td>
|
---|
2331 | <td class="code"><pre>('django.template.loaders.filesystem.Loader',
|
---|
2332 | 'django.template.loaders.app_directories.Loader')</pre></td>
|
---|
2333 | </tr>
|
---|
2334 |
|
---|
2335 | <tr>
|
---|
2336 | <td>WSGI_APPLICATION</td>
|
---|
2337 | <td class="code"><pre>'fjavieralba_com.wsgi.application'</pre></td>
|
---|
2338 | </tr>
|
---|
2339 |
|
---|
2340 | <tr>
|
---|
2341 | <td>TEMPLATE_DEBUG</td>
|
---|
2342 | <td class="code"><pre>True</pre></td>
|
---|
2343 | </tr>
|
---|
2344 |
|
---|
2345 | <tr>
|
---|
2346 | <td>X_FRAME_OPTIONS</td>
|
---|
2347 | <td class="code"><pre>'SAMEORIGIN'</pre></td>
|
---|
2348 | </tr>
|
---|
2349 |
|
---|
2350 | <tr>
|
---|
2351 | <td>AUTHENTICATION_BACKENDS</td>
|
---|
2352 | <td class="code"><pre>('django.contrib.auth.backends.ModelBackend',)</pre></td>
|
---|
2353 | </tr>
|
---|
2354 |
|
---|
2355 | <tr>
|
---|
2356 | <td>FORCE_SCRIPT_NAME</td>
|
---|
2357 | <td class="code"><pre>None</pre></td>
|
---|
2358 | </tr>
|
---|
2359 |
|
---|
2360 | <tr>
|
---|
2361 | <td>CACHE_BACKEND</td>
|
---|
2362 | <td class="code"><pre>'locmem://'</pre></td>
|
---|
2363 | </tr>
|
---|
2364 |
|
---|
2365 | <tr>
|
---|
2366 | <td>SIGNING_BACKEND</td>
|
---|
2367 | <td class="code"><pre>'django.core.signing.TimestampSigner'</pre></td>
|
---|
2368 | </tr>
|
---|
2369 |
|
---|
2370 | <tr>
|
---|
2371 | <td>SESSION_COOKIE_SECURE</td>
|
---|
2372 | <td class="code"><pre>False</pre></td>
|
---|
2373 | </tr>
|
---|
2374 |
|
---|
2375 | <tr>
|
---|
2376 | <td>CSRF_COOKIE_DOMAIN</td>
|
---|
2377 | <td class="code"><pre>None</pre></td>
|
---|
2378 | </tr>
|
---|
2379 |
|
---|
2380 | <tr>
|
---|
2381 | <td>FILE_CHARSET</td>
|
---|
2382 | <td class="code"><pre>'utf-8'</pre></td>
|
---|
2383 | </tr>
|
---|
2384 |
|
---|
2385 | <tr>
|
---|
2386 | <td>DEBUG</td>
|
---|
2387 | <td class="code"><pre>True</pre></td>
|
---|
2388 | </tr>
|
---|
2389 |
|
---|
2390 | <tr>
|
---|
2391 | <td>SESSION_FILE_PATH</td>
|
---|
2392 | <td class="code"><pre>None</pre></td>
|
---|
2393 | </tr>
|
---|
2394 |
|
---|
2395 | <tr>
|
---|
2396 | <td>DEFAULT_FILE_STORAGE</td>
|
---|
2397 | <td class="code"><pre>'django.core.files.storage.FileSystemStorage'</pre></td>
|
---|
2398 | </tr>
|
---|
2399 |
|
---|
2400 | <tr>
|
---|
2401 | <td>INSTALLED_APPS</td>
|
---|
2402 | <td class="code"><pre>('django.contrib.auth',
|
---|
2403 | 'django.contrib.contenttypes',
|
---|
2404 | 'django.contrib.sessions',
|
---|
2405 | 'django.contrib.sites',
|
---|
2406 | 'django.contrib.messages',
|
---|
2407 | 'django.contrib.staticfiles',
|
---|
2408 | 'fjavieralba_com.web',
|
---|
2409 | 'django.contrib.admin')</pre></td>
|
---|
2410 | </tr>
|
---|
2411 |
|
---|
2412 | <tr>
|
---|
2413 | <td>LANGUAGES</td>
|
---|
2414 | <td class="code"><pre>(('ar', 'Arabic'),
|
---|
2415 | ('az', 'Azerbaijani'),
|
---|
2416 | ('bg', 'Bulgarian'),
|
---|
2417 | ('bn', 'Bengali'),
|
---|
2418 | ('bs', 'Bosnian'),
|
---|
2419 | ('ca', 'Catalan'),
|
---|
2420 | ('cs', 'Czech'),
|
---|
2421 | ('cy', 'Welsh'),
|
---|
2422 | ('da', 'Danish'),
|
---|
2423 | ('de', 'German'),
|
---|
2424 | ('el', 'Greek'),
|
---|
2425 | ('en', 'English'),
|
---|
2426 | ('en-gb', 'British English'),
|
---|
2427 | ('es', 'Spanish'),
|
---|
2428 | ('es-ar', 'Argentinian Spanish'),
|
---|
2429 | ('es-mx', 'Mexican Spanish'),
|
---|
2430 | ('es-ni', 'Nicaraguan Spanish'),
|
---|
2431 | ('et', 'Estonian'),
|
---|
2432 | ('eu', 'Basque'),
|
---|
2433 | ('fa', 'Persian'),
|
---|
2434 | ('fi', 'Finnish'),
|
---|
2435 | ('fr', 'French'),
|
---|
2436 | ('fy-nl', 'Frisian'),
|
---|
2437 | ('ga', 'Irish'),
|
---|
2438 | ('gl', 'Galician'),
|
---|
2439 | ('he', 'Hebrew'),
|
---|
2440 | ('hi', 'Hindi'),
|
---|
2441 | ('hr', 'Croatian'),
|
---|
2442 | ('hu', 'Hungarian'),
|
---|
2443 | ('id', 'Indonesian'),
|
---|
2444 | ('is', 'Icelandic'),
|
---|
2445 | ('it', 'Italian'),
|
---|
2446 | ('ja', 'Japanese'),
|
---|
2447 | ('ka', 'Georgian'),
|
---|
2448 | ('km', 'Khmer'),
|
---|
2449 | ('kn', 'Kannada'),
|
---|
2450 | ('ko', 'Korean'),
|
---|
2451 | ('lt', 'Lithuanian'),
|
---|
2452 | ('lv', 'Latvian'),
|
---|
2453 | ('mk', 'Macedonian'),
|
---|
2454 | ('ml', 'Malayalam'),
|
---|
2455 | ('mn', 'Mongolian'),
|
---|
2456 | ('nl', 'Dutch'),
|
---|
2457 | ('nb', 'Norwegian Bokmal'),
|
---|
2458 | ('nn', 'Norwegian Nynorsk'),
|
---|
2459 | ('pa', 'Punjabi'),
|
---|
2460 | ('pl', 'Polish'),
|
---|
2461 | ('pt', 'Portuguese'),
|
---|
2462 | ('pt-br', 'Brazilian Portuguese'),
|
---|
2463 | ('ro', 'Romanian'),
|
---|
2464 | ('ru', 'Russian'),
|
---|
2465 | ('sk', 'Slovak'),
|
---|
2466 | ('sl', 'Slovenian'),
|
---|
2467 | ('sq', 'Albanian'),
|
---|
2468 | ('sr', 'Serbian'),
|
---|
2469 | ('sr-latn', 'Serbian Latin'),
|
---|
2470 | ('sv', 'Swedish'),
|
---|
2471 | ('ta', 'Tamil'),
|
---|
2472 | ('te', 'Telugu'),
|
---|
2473 | ('th', 'Thai'),
|
---|
2474 | ('tr', 'Turkish'),
|
---|
2475 | ('uk', 'Ukrainian'),
|
---|
2476 | ('ur', 'Urdu'),
|
---|
2477 | ('vi', 'Vietnamese'),
|
---|
2478 | ('zh-cn', 'Simplified Chinese'),
|
---|
2479 | ('zh-tw', 'Traditional Chinese'))</pre></td>
|
---|
2480 | </tr>
|
---|
2481 |
|
---|
2482 | <tr>
|
---|
2483 | <td>COMMENTS_ALLOW_PROFANITIES</td>
|
---|
2484 | <td class="code"><pre>False</pre></td>
|
---|
2485 | </tr>
|
---|
2486 |
|
---|
2487 | <tr>
|
---|
2488 | <td>STATICFILES_DIRS</td>
|
---|
2489 | <td class="code"><pre>()</pre></td>
|
---|
2490 | </tr>
|
---|
2491 |
|
---|
2492 | <tr>
|
---|
2493 | <td>PREPEND_WWW</td>
|
---|
2494 | <td class="code"><pre>False</pre></td>
|
---|
2495 | </tr>
|
---|
2496 |
|
---|
2497 | <tr>
|
---|
2498 | <td>SECURE_PROXY_SSL_HEADER</td>
|
---|
2499 | <td class="code"><pre>None</pre></td>
|
---|
2500 | </tr>
|
---|
2501 |
|
---|
2502 | <tr>
|
---|
2503 | <td>SESSION_COOKIE_HTTPONLY</td>
|
---|
2504 | <td class="code"><pre>True</pre></td>
|
---|
2505 | </tr>
|
---|
2506 |
|
---|
2507 | <tr>
|
---|
2508 | <td>DEBUG_PROPAGATE_EXCEPTIONS</td>
|
---|
2509 | <td class="code"><pre>False</pre></td>
|
---|
2510 | </tr>
|
---|
2511 |
|
---|
2512 | <tr>
|
---|
2513 | <td>MONTH_DAY_FORMAT</td>
|
---|
2514 | <td class="code"><pre>'F j'</pre></td>
|
---|
2515 | </tr>
|
---|
2516 |
|
---|
2517 | <tr>
|
---|
2518 | <td>LOGIN_URL</td>
|
---|
2519 | <td class="code"><pre>'/accounts/login/'</pre></td>
|
---|
2520 | </tr>
|
---|
2521 |
|
---|
2522 | <tr>
|
---|
2523 | <td>SESSION_EXPIRE_AT_BROWSER_CLOSE</td>
|
---|
2524 | <td class="code"><pre>False</pre></td>
|
---|
2525 | </tr>
|
---|
2526 |
|
---|
2527 | <tr>
|
---|
2528 | <td>TIME_FORMAT</td>
|
---|
2529 | <td class="code"><pre>'P'</pre></td>
|
---|
2530 | </tr>
|
---|
2531 |
|
---|
2532 | <tr>
|
---|
2533 | <td>DATE_INPUT_FORMATS</td>
|
---|
2534 | <td class="code"><pre>('%Y-%m-%d',
|
---|
2535 | '%m/%d/%Y',
|
---|
2536 | '%m/%d/%y',
|
---|
2537 | '%b %d %Y',
|
---|
2538 | '%b %d, %Y',
|
---|
2539 | '%d %b %Y',
|
---|
2540 | '%d %b, %Y',
|
---|
2541 | '%B %d %Y',
|
---|
2542 | '%B %d, %Y',
|
---|
2543 | '%d %B %Y',
|
---|
2544 | '%d %B, %Y')</pre></td>
|
---|
2545 | </tr>
|
---|
2546 |
|
---|
2547 | <tr>
|
---|
2548 | <td>CSRF_COOKIE_NAME</td>
|
---|
2549 | <td class="code"><pre>'csrftoken'</pre></td>
|
---|
2550 | </tr>
|
---|
2551 |
|
---|
2552 | <tr>
|
---|
2553 | <td>EMAIL_HOST_PASSWORD</td>
|
---|
2554 | <td class="code"><pre>u'********************'</pre></td>
|
---|
2555 | </tr>
|
---|
2556 |
|
---|
2557 | <tr>
|
---|
2558 | <td>PASSWORD_RESET_TIMEOUT_DAYS</td>
|
---|
2559 | <td class="code"><pre>u'********************'</pre></td>
|
---|
2560 | </tr>
|
---|
2561 |
|
---|
2562 | <tr>
|
---|
2563 | <td>CACHE_MIDDLEWARE_ALIAS</td>
|
---|
2564 | <td class="code"><pre>'default'</pre></td>
|
---|
2565 | </tr>
|
---|
2566 |
|
---|
2567 | <tr>
|
---|
2568 | <td>SESSION_SAVE_EVERY_REQUEST</td>
|
---|
2569 | <td class="code"><pre>False</pre></td>
|
---|
2570 | </tr>
|
---|
2571 |
|
---|
2572 | <tr>
|
---|
2573 | <td>NUMBER_GROUPING</td>
|
---|
2574 | <td class="code"><pre>0</pre></td>
|
---|
2575 | </tr>
|
---|
2576 |
|
---|
2577 | <tr>
|
---|
2578 | <td>SESSION_ENGINE</td>
|
---|
2579 | <td class="code"><pre>'django.contrib.sessions.backends.db'</pre></td>
|
---|
2580 | </tr>
|
---|
2581 |
|
---|
2582 | <tr>
|
---|
2583 | <td>CSRF_FAILURE_VIEW</td>
|
---|
2584 | <td class="code"><pre>'django.views.csrf.csrf_failure'</pre></td>
|
---|
2585 | </tr>
|
---|
2586 |
|
---|
2587 | <tr>
|
---|
2588 | <td>CSRF_COOKIE_PATH</td>
|
---|
2589 | <td class="code"><pre>'/'</pre></td>
|
---|
2590 | </tr>
|
---|
2591 |
|
---|
2592 | <tr>
|
---|
2593 | <td>LOGIN_REDIRECT_URL</td>
|
---|
2594 | <td class="code"><pre>'/accounts/profile/'</pre></td>
|
---|
2595 | </tr>
|
---|
2596 |
|
---|
2597 | <tr>
|
---|
2598 | <td>LOGGING</td>
|
---|
2599 | <td class="code"><pre>{'disable_existing_loggers': False,
|
---|
2600 | 'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}},
|
---|
2601 | 'handlers': {'mail_admins': {'class': 'django.utils.log.AdminEmailHandler',
|
---|
2602 | 'filters': ['require_debug_false'],
|
---|
2603 | 'level': 'ERROR'}},
|
---|
2604 | 'loggers': {'django.request': {'handlers': ['mail_admins'],
|
---|
2605 | 'level': 'ERROR',
|
---|
2606 | 'propagate': True}},
|
---|
2607 | 'version': 1}</pre></td>
|
---|
2608 | </tr>
|
---|
2609 |
|
---|
2610 | <tr>
|
---|
2611 | <td>IGNORABLE_404_URLS</td>
|
---|
2612 | <td class="code"><pre>()</pre></td>
|
---|
2613 | </tr>
|
---|
2614 |
|
---|
2615 | <tr>
|
---|
2616 | <td>LOCALE_PATHS</td>
|
---|
2617 | <td class="code"><pre>()</pre></td>
|
---|
2618 | </tr>
|
---|
2619 |
|
---|
2620 | <tr>
|
---|
2621 | <td>TEMPLATE_STRING_IF_INVALID</td>
|
---|
2622 | <td class="code"><pre>''</pre></td>
|
---|
2623 | </tr>
|
---|
2624 |
|
---|
2625 | <tr>
|
---|
2626 | <td>LOGOUT_URL</td>
|
---|
2627 | <td class="code"><pre>'/accounts/logout/'</pre></td>
|
---|
2628 | </tr>
|
---|
2629 |
|
---|
2630 | <tr>
|
---|
2631 | <td>EMAIL_USE_TLS</td>
|
---|
2632 | <td class="code"><pre>False</pre></td>
|
---|
2633 | </tr>
|
---|
2634 |
|
---|
2635 | <tr>
|
---|
2636 | <td>FIXTURE_DIRS</td>
|
---|
2637 | <td class="code"><pre>()</pre></td>
|
---|
2638 | </tr>
|
---|
2639 |
|
---|
2640 | <tr>
|
---|
2641 | <td>EMAIL_HOST</td>
|
---|
2642 | <td class="code"><pre>'localhost'</pre></td>
|
---|
2643 | </tr>
|
---|
2644 |
|
---|
2645 | <tr>
|
---|
2646 | <td>DATE_FORMAT</td>
|
---|
2647 | <td class="code"><pre>'N j, Y'</pre></td>
|
---|
2648 | </tr>
|
---|
2649 |
|
---|
2650 | <tr>
|
---|
2651 | <td>MEDIA_ROOT</td>
|
---|
2652 | <td class="code"><pre>''</pre></td>
|
---|
2653 | </tr>
|
---|
2654 |
|
---|
2655 | <tr>
|
---|
2656 | <td>DEFAULT_EXCEPTION_REPORTER_FILTER</td>
|
---|
2657 | <td class="code"><pre>'django.views.debug.SafeExceptionReporterFilter'</pre></td>
|
---|
2658 | </tr>
|
---|
2659 |
|
---|
2660 | <tr>
|
---|
2661 | <td>ADMINS</td>
|
---|
2662 | <td class="code"><pre>()</pre></td>
|
---|
2663 | </tr>
|
---|
2664 |
|
---|
2665 | <tr>
|
---|
2666 | <td>FORMAT_MODULE_PATH</td>
|
---|
2667 | <td class="code"><pre>None</pre></td>
|
---|
2668 | </tr>
|
---|
2669 |
|
---|
2670 | <tr>
|
---|
2671 | <td>DEFAULT_FROM_EMAIL</td>
|
---|
2672 | <td class="code"><pre>'webmaster@localhost'</pre></td>
|
---|
2673 | </tr>
|
---|
2674 |
|
---|
2675 | <tr>
|
---|
2676 | <td>MEDIA_URL</td>
|
---|
2677 | <td class="code"><pre>''</pre></td>
|
---|
2678 | </tr>
|
---|
2679 |
|
---|
2680 | <tr>
|
---|
2681 | <td>DATETIME_FORMAT</td>
|
---|
2682 | <td class="code"><pre>'N j, Y, P'</pre></td>
|
---|
2683 | </tr>
|
---|
2684 |
|
---|
2685 | <tr>
|
---|
2686 | <td>TEMPLATE_DIRS</td>
|
---|
2687 | <td class="code"><pre>()</pre></td>
|
---|
2688 | </tr>
|
---|
2689 |
|
---|
2690 | <tr>
|
---|
2691 | <td>SITE_ID</td>
|
---|
2692 | <td class="code"><pre>1</pre></td>
|
---|
2693 | </tr>
|
---|
2694 |
|
---|
2695 | <tr>
|
---|
2696 | <td>DISALLOWED_USER_AGENTS</td>
|
---|
2697 | <td class="code"><pre>()</pre></td>
|
---|
2698 | </tr>
|
---|
2699 |
|
---|
2700 | <tr>
|
---|
2701 | <td>ALLOWED_INCLUDE_ROOTS</td>
|
---|
2702 | <td class="code"><pre>()</pre></td>
|
---|
2703 | </tr>
|
---|
2704 |
|
---|
2705 | <tr>
|
---|
2706 | <td>DECIMAL_SEPARATOR</td>
|
---|
2707 | <td class="code"><pre>'.'</pre></td>
|
---|
2708 | </tr>
|
---|
2709 |
|
---|
2710 | <tr>
|
---|
2711 | <td>SHORT_DATE_FORMAT</td>
|
---|
2712 | <td class="code"><pre>'m/d/Y'</pre></td>
|
---|
2713 | </tr>
|
---|
2714 |
|
---|
2715 | <tr>
|
---|
2716 | <td>TEST_RUNNER</td>
|
---|
2717 | <td class="code"><pre>'django.test.simple.DjangoTestSuiteRunner'</pre></td>
|
---|
2718 | </tr>
|
---|
2719 |
|
---|
2720 | <tr>
|
---|
2721 | <td>CACHE_MIDDLEWARE_KEY_PREFIX</td>
|
---|
2722 | <td class="code"><pre>u'********************'</pre></td>
|
---|
2723 | </tr>
|
---|
2724 |
|
---|
2725 | <tr>
|
---|
2726 | <td>TIME_ZONE</td>
|
---|
2727 | <td class="code"><pre>'Europe/Madrid'</pre></td>
|
---|
2728 | </tr>
|
---|
2729 |
|
---|
2730 | <tr>
|
---|
2731 | <td>FILE_UPLOAD_MAX_MEMORY_SIZE</td>
|
---|
2732 | <td class="code"><pre>2621440</pre></td>
|
---|
2733 | </tr>
|
---|
2734 |
|
---|
2735 | <tr>
|
---|
2736 | <td>EMAIL_BACKEND</td>
|
---|
2737 | <td class="code"><pre>'django.core.mail.backends.smtp.EmailBackend'</pre></td>
|
---|
2738 | </tr>
|
---|
2739 |
|
---|
2740 | <tr>
|
---|
2741 | <td>DEFAULT_TABLESPACE</td>
|
---|
2742 | <td class="code"><pre>''</pre></td>
|
---|
2743 | </tr>
|
---|
2744 |
|
---|
2745 | <tr>
|
---|
2746 | <td>TEMPLATE_CONTEXT_PROCESSORS</td>
|
---|
2747 | <td class="code"><pre>('django.contrib.auth.context_processors.auth',
|
---|
2748 | 'django.core.context_processors.debug',
|
---|
2749 | 'django.core.context_processors.i18n',
|
---|
2750 | 'django.core.context_processors.media',
|
---|
2751 | 'django.core.context_processors.static',
|
---|
2752 | 'django.core.context_processors.tz',
|
---|
2753 | 'django.contrib.messages.context_processors.messages')</pre></td>
|
---|
2754 | </tr>
|
---|
2755 |
|
---|
2756 | <tr>
|
---|
2757 | <td>SESSION_COOKIE_AGE</td>
|
---|
2758 | <td class="code"><pre>1209600</pre></td>
|
---|
2759 | </tr>
|
---|
2760 |
|
---|
2761 | <tr>
|
---|
2762 | <td>SETTINGS_MODULE</td>
|
---|
2763 | <td class="code"><pre>'fjavieralba_com.settings'</pre></td>
|
---|
2764 | </tr>
|
---|
2765 |
|
---|
2766 | <tr>
|
---|
2767 | <td>USE_ETAGS</td>
|
---|
2768 | <td class="code"><pre>False</pre></td>
|
---|
2769 | </tr>
|
---|
2770 |
|
---|
2771 | <tr>
|
---|
2772 | <td>LANGUAGES_BIDI</td>
|
---|
2773 | <td class="code"><pre>('he', 'ar', 'fa')</pre></td>
|
---|
2774 | </tr>
|
---|
2775 |
|
---|
2776 | <tr>
|
---|
2777 | <td>FILE_UPLOAD_TEMP_DIR</td>
|
---|
2778 | <td class="code"><pre>None</pre></td>
|
---|
2779 | </tr>
|
---|
2780 |
|
---|
2781 | <tr>
|
---|
2782 | <td>INTERNAL_IPS</td>
|
---|
2783 | <td class="code"><pre>()</pre></td>
|
---|
2784 | </tr>
|
---|
2785 |
|
---|
2786 | <tr>
|
---|
2787 | <td>STATIC_URL</td>
|
---|
2788 | <td class="code"><pre>'/static/'</pre></td>
|
---|
2789 | </tr>
|
---|
2790 |
|
---|
2791 | <tr>
|
---|
2792 | <td>EMAIL_PORT</td>
|
---|
2793 | <td class="code"><pre>25</pre></td>
|
---|
2794 | </tr>
|
---|
2795 |
|
---|
2796 | <tr>
|
---|
2797 | <td>USE_TZ</td>
|
---|
2798 | <td class="code"><pre>True</pre></td>
|
---|
2799 | </tr>
|
---|
2800 |
|
---|
2801 | <tr>
|
---|
2802 | <td>SHORT_DATETIME_FORMAT</td>
|
---|
2803 | <td class="code"><pre>'m/d/Y P'</pre></td>
|
---|
2804 | </tr>
|
---|
2805 |
|
---|
2806 | <tr>
|
---|
2807 | <td>PASSWORD_HASHERS</td>
|
---|
2808 | <td class="code"><pre>u'********************'</pre></td>
|
---|
2809 | </tr>
|
---|
2810 |
|
---|
2811 | <tr>
|
---|
2812 | <td>ABSOLUTE_URL_OVERRIDES</td>
|
---|
2813 | <td class="code"><pre>{}</pre></td>
|
---|
2814 | </tr>
|
---|
2815 |
|
---|
2816 | <tr>
|
---|
2817 | <td>CACHE_MIDDLEWARE_SECONDS</td>
|
---|
2818 | <td class="code"><pre>600</pre></td>
|
---|
2819 | </tr>
|
---|
2820 |
|
---|
2821 | <tr>
|
---|
2822 | <td>DATETIME_INPUT_FORMATS</td>
|
---|
2823 | <td class="code"><pre>('%Y-%m-%d %H:%M:%S',
|
---|
2824 | '%Y-%m-%d %H:%M:%S.%f',
|
---|
2825 | '%Y-%m-%d %H:%M',
|
---|
2826 | '%Y-%m-%d',
|
---|
2827 | '%m/%d/%Y %H:%M:%S',
|
---|
2828 | '%m/%d/%Y %H:%M:%S.%f',
|
---|
2829 | '%m/%d/%Y %H:%M',
|
---|
2830 | '%m/%d/%Y',
|
---|
2831 | '%m/%d/%y %H:%M:%S',
|
---|
2832 | '%m/%d/%y %H:%M:%S.%f',
|
---|
2833 | '%m/%d/%y %H:%M',
|
---|
2834 | '%m/%d/%y')</pre></td>
|
---|
2835 | </tr>
|
---|
2836 |
|
---|
2837 | <tr>
|
---|
2838 | <td>EMAIL_HOST_USER</td>
|
---|
2839 | <td class="code"><pre>''</pre></td>
|
---|
2840 | </tr>
|
---|
2841 |
|
---|
2842 | <tr>
|
---|
2843 | <td>PROFANITIES_LIST</td>
|
---|
2844 | <td class="code"><pre>u'********************'</pre></td>
|
---|
2845 | </tr>
|
---|
2846 |
|
---|
2847 | </tbody>
|
---|
2848 | </table>
|
---|
2849 |
|
---|
2850 | </div>
|
---|
2851 |
|
---|
2852 | <div id="explanation">
|
---|
2853 | <p>
|
---|
2854 | You're seeing this error because you have <code>DEBUG = True</code> in your
|
---|
2855 | Django settings file. Change that to <code>False</code>, and Django will
|
---|
2856 | display a standard 500 page.
|
---|
2857 | </p>
|
---|
2858 | </div>
|
---|
2859 |
|
---|
2860 |
|
---|
2861 |
|
---|
2862 | </body></html>
|
---|