| 1 |
|
|---|
| 2 | <!DOCTYPE html>
|
|---|
| 3 | <html lang="en">
|
|---|
| 4 | <head>
|
|---|
| 5 | <meta http-equiv="content-type" content="text/html; charset=utf-8">
|
|---|
| 6 | <meta name="robots" content="NONE,NOARCHIVE">
|
|---|
| 7 | <title>MultiValueDictKeyError at /admin/levi/lin/40/</title>
|
|---|
| 8 | <style type="text/css">
|
|---|
| 9 | html * { padding:0; margin:0; }
|
|---|
| 10 | body * { padding:10px 20px; }
|
|---|
| 11 | body * * { padding:0; }
|
|---|
| 12 | body { font:small sans-serif; }
|
|---|
| 13 | body>div { border-bottom:1px solid #ddd; }
|
|---|
| 14 | h1 { font-weight:normal; }
|
|---|
| 15 | h2 { margin-bottom:.8em; }
|
|---|
| 16 | h2 span { font-size:80%; color:#666; font-weight:normal; }
|
|---|
| 17 | h3 { margin:1em 0 .5em 0; }
|
|---|
| 18 | h4 { margin:0 0 .5em 0; font-weight: normal; }
|
|---|
| 19 | code, pre { font-size: 100%; white-space: pre-wrap; }
|
|---|
| 20 | table { border:1px solid #ccc; border-collapse: collapse; width:100%; background:white; }
|
|---|
| 21 | tbody td, tbody th { vertical-align:top; padding:2px 3px; }
|
|---|
| 22 | thead th { padding:1px 6px 1px 3px; background:#fefefe; text-align:left; font-weight:normal; font-size:11px; border:1px solid #ddd; }
|
|---|
| 23 | tbody th { width:12em; text-align:right; color:#666; padding-right:.5em; }
|
|---|
| 24 | table.vars { margin:5px 0 2px 40px; }
|
|---|
| 25 | table.vars td, table.req td { font-family:monospace; }
|
|---|
| 26 | table td.code { width:100%; }
|
|---|
| 27 | table td.code pre { overflow:hidden; }
|
|---|
| 28 | table.source th { color:#666; }
|
|---|
| 29 | table.source td { font-family:monospace; white-space:pre; border-bottom:1px solid #eee; }
|
|---|
| 30 | ul.traceback { list-style-type:none; color: #222; }
|
|---|
| 31 | ul.traceback li.frame { padding-bottom:1em; color:#666; }
|
|---|
| 32 | ul.traceback li.user { background-color:#e0e0e0; color:#000 }
|
|---|
| 33 | div.context { padding:10px 0; overflow:hidden; }
|
|---|
| 34 | div.context ol { padding-left:30px; margin:0 10px; list-style-position: inside; }
|
|---|
| 35 | div.context ol li { font-family:monospace; white-space:pre; color:#777; cursor:pointer; }
|
|---|
| 36 | div.context ol li pre { display:inline; }
|
|---|
| 37 | div.context ol.context-line li { color:#505050; background-color:#dfdfdf; }
|
|---|
| 38 | div.context ol.context-line li span { position:absolute; right:32px; }
|
|---|
| 39 | .user div.context ol.context-line li { background-color:#bbb; color:#000; }
|
|---|
| 40 | .user div.context ol li { color:#666; }
|
|---|
| 41 | div.commands { margin-left: 40px; }
|
|---|
| 42 | div.commands a { color:#555; text-decoration:none; }
|
|---|
| 43 | .user div.commands a { color: black; }
|
|---|
| 44 | #summary { background: #ffc; }
|
|---|
| 45 | #summary h2 { font-weight: normal; color: #666; }
|
|---|
| 46 | #explanation { background:#eee; }
|
|---|
| 47 | #template, #template-not-exist { background:#f6f6f6; }
|
|---|
| 48 | #template-not-exist ul { margin: 0 0 0 20px; }
|
|---|
| 49 | #unicode-hint { background:#eee; }
|
|---|
| 50 | #traceback { background:#eee; }
|
|---|
| 51 | #requestinfo { background:#f6f6f6; padding-left:120px; }
|
|---|
| 52 | #summary table { border:none; background:transparent; }
|
|---|
| 53 | #requestinfo h2, #requestinfo h3 { position:relative; margin-left:-100px; }
|
|---|
| 54 | #requestinfo h3 { margin-bottom:-1em; }
|
|---|
| 55 | .error { background: #ffc; }
|
|---|
| 56 | .specific { color:#cc3300; font-weight:bold; }
|
|---|
| 57 | h2 span.commands { font-size:.7em;}
|
|---|
| 58 | span.commands a:link {color:#5E5694;}
|
|---|
| 59 | pre.exception_value { font-family: sans-serif; color: #666; font-size: 1.5em; margin: 10px 0 10px 0; }
|
|---|
| 60 | </style>
|
|---|
| 61 |
|
|---|
| 62 | <script type="text/javascript">
|
|---|
| 63 | //<!--
|
|---|
| 64 | function getElementsByClassName(oElm, strTagName, strClassName){
|
|---|
| 65 | // Written by Jonathan Snook, http://www.snook.ca/jon; Add-ons by Robert Nyman, http://www.robertnyman.com
|
|---|
| 66 | var arrElements = (strTagName == "*" && document.all)? document.all :
|
|---|
| 67 | oElm.getElementsByTagName(strTagName);
|
|---|
| 68 | var arrReturnElements = new Array();
|
|---|
| 69 | strClassName = strClassName.replace(/\-/g, "\-");
|
|---|
| 70 | var oRegExp = new RegExp("(^|\s)" + strClassName + "(\s|$)");
|
|---|
| 71 | var oElement;
|
|---|
| 72 | for(var i=0; i<arrElements.length; i++){
|
|---|
| 73 | oElement = arrElements[i];
|
|---|
| 74 | if(oRegExp.test(oElement.className)){
|
|---|
| 75 | arrReturnElements.push(oElement);
|
|---|
| 76 | }
|
|---|
| 77 | }
|
|---|
| 78 | return (arrReturnElements)
|
|---|
| 79 | }
|
|---|
| 80 | function hideAll(elems) {
|
|---|
| 81 | for (var e = 0; e < elems.length; e++) {
|
|---|
| 82 | elems[e].style.display = 'none';
|
|---|
| 83 | }
|
|---|
| 84 | }
|
|---|
| 85 | window.onload = function() {
|
|---|
| 86 | hideAll(getElementsByClassName(document, 'table', 'vars'));
|
|---|
| 87 | hideAll(getElementsByClassName(document, 'ol', 'pre-context'));
|
|---|
| 88 | hideAll(getElementsByClassName(document, 'ol', 'post-context'));
|
|---|
| 89 | hideAll(getElementsByClassName(document, 'div', 'pastebin'));
|
|---|
| 90 | }
|
|---|
| 91 | function toggle() {
|
|---|
| 92 | for (var i = 0; i < arguments.length; i++) {
|
|---|
| 93 | var e = document.getElementById(arguments[i]);
|
|---|
| 94 | if (e) {
|
|---|
| 95 | e.style.display = e.style.display == 'none' ? 'block' : 'none';
|
|---|
| 96 | }
|
|---|
| 97 | }
|
|---|
| 98 | return false;
|
|---|
| 99 | }
|
|---|
| 100 | function varToggle(link, id) {
|
|---|
| 101 | toggle('v' + id);
|
|---|
| 102 | var s = link.getElementsByTagName('span')[0];
|
|---|
| 103 | var uarr = String.fromCharCode(0x25b6);
|
|---|
| 104 | var darr = String.fromCharCode(0x25bc);
|
|---|
| 105 | s.innerHTML = s.innerHTML == uarr ? darr : uarr;
|
|---|
| 106 | return false;
|
|---|
| 107 | }
|
|---|
| 108 | function switchPastebinFriendly(link) {
|
|---|
| 109 | s1 = "Switch to copy-and-paste view";
|
|---|
| 110 | s2 = "Switch back to interactive view";
|
|---|
| 111 | link.innerHTML = link.innerHTML == s1 ? s2 : s1;
|
|---|
| 112 | toggle('browserTraceback', 'pastebinTraceback');
|
|---|
| 113 | return false;
|
|---|
| 114 | }
|
|---|
| 115 | //-->
|
|---|
| 116 | </script>
|
|---|
| 117 |
|
|---|
| 118 | </head>
|
|---|
| 119 | <body>
|
|---|
| 120 | <div id="summary">
|
|---|
| 121 | <h1>MultiValueDictKeyError at /admin/levi/lin/40/</h1>
|
|---|
| 122 | <pre class="exception_value">"Key 'rot_set-0-rotid' not found in <QueryDict: {u'rot_set-1-rotto': [u'829'], u'rot_set-2-rotkm': [u''], u'rot_set-__prefix__-rotprice': [u''], u'rot_set-0-rotlin': [u'40'], u'rot_set-MAX_NUM_FORMS': [u''], u'rot_set-0-rotfrom': [u''], u'rot_set-1-rotisactive': [u'on'], u'rot_set-3-rottimemnt': [u''], u'rot_set-2-rotto': [u'832'], u'rot_set-__prefix__-rotfrom': [u''], u'rot_set-2-rottimemnt': [u''], u'rot_set-1-rotkm': [u''], u'rot_set-0-rotkm': [u''], u'_save': [u'Save'], u'rot_set-__prefix__-rotto': [u''], u'rot_set-0-rottimemnt': [u''], u'rot_set-3-rotprice': [u''], u'rot_set-2-rotlin': [u'40'], u'rot_set-0-rotisactive': [u'on'], u'rot_set-__prefix__-rotisactive': [u'on'], u'rot_set-4-rotisactive': [u'on'], u'rot_set-__prefix__-rotkm': [u''], u'csrfmiddlewaretoken': [u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'], u'rot_set-3-rotfrom': [u'832'], u'rot_set-0-rotto': [u'828'], u'linbsn': [u'867'], u'rot_set-__prefix__-rotlin': [u'40'], u'rot_set-4-rottimemnt': [u''], u'rot_set-2-rotisactive': [u'on'], u'rot_set-2-rotfrom': [u'829'], u'rot_set-4-rotkm': [u''], u'rot_set-4-rotto': [u'831'], u'rot_set-INITIAL_FORMS': [u'5'], u'rot_set-1-rotprice': [u''], u'rot_set-3-rotlin': [u'40'], u'rot_set-4-rotprice': [u''], u'rot_set-0-rotprice': [u''], u'rot_set-__prefix__-rottimemnt': [u''], u'rot_set-4-rotfrom': [u'830'], u'rot_set-3-rotkm': [u''], u'rot_set-TOTAL_FORMS': [u'5'], u'rot_set-3-rotisactive': [u'on'], u'rot_set-1-rottimemnt': [u''], u'rot_set-1-rotfrom': [u'828'], u'rot_set-2-rotprice': [u''], u'rot_set-3-rotto': [u'830'], u'rot_set-1-rotlin': [u'40'], u'rot_set-4-rotlin': [u'40']}>"</pre>
|
|---|
| 123 | <table class="meta">
|
|---|
| 124 |
|
|---|
| 125 | <tr>
|
|---|
| 126 | <th>Request Method:</th>
|
|---|
| 127 | <td>POST</td>
|
|---|
| 128 | </tr>
|
|---|
| 129 | <tr>
|
|---|
| 130 | <th>Request URL:</th>
|
|---|
| 131 | <td>http://127.0.0.1:8000/admin/levi/lin/40/</td>
|
|---|
| 132 | </tr>
|
|---|
| 133 |
|
|---|
| 134 | <tr>
|
|---|
| 135 | <th>Django Version:</th>
|
|---|
| 136 | <td>1.4.2</td>
|
|---|
| 137 | </tr>
|
|---|
| 138 |
|
|---|
| 139 | <tr>
|
|---|
| 140 | <th>Exception Type:</th>
|
|---|
| 141 | <td>MultiValueDictKeyError</td>
|
|---|
| 142 | </tr>
|
|---|
| 143 |
|
|---|
| 144 |
|
|---|
| 145 | <tr>
|
|---|
| 146 | <th>Exception Value:</th>
|
|---|
| 147 | <td><pre>"Key 'rot_set-0-rotid' not found in <QueryDict: {u'rot_set-1-rotto': [u'829'], u'rot_set-2-rotkm': [u''], u'rot_set-__prefix__-rotprice': [u''], u'rot_set-0-rotlin': [u'40'], u'rot_set-MAX_NUM_FORMS': [u''], u'rot_set-0-rotfrom': [u''], u'rot_set-1-rotisactive': [u'on'], u'rot_set-3-rottimemnt': [u''], u'rot_set-2-rotto': [u'832'], u'rot_set-__prefix__-rotfrom': [u''], u'rot_set-2-rottimemnt': [u''], u'rot_set-1-rotkm': [u''], u'rot_set-0-rotkm': [u''], u'_save': [u'Save'], u'rot_set-__prefix__-rotto': [u''], u'rot_set-0-rottimemnt': [u''], u'rot_set-3-rotprice': [u''], u'rot_set-2-rotlin': [u'40'], u'rot_set-0-rotisactive': [u'on'], u'rot_set-__prefix__-rotisactive': [u'on'], u'rot_set-4-rotisactive': [u'on'], u'rot_set-__prefix__-rotkm': [u''], u'csrfmiddlewaretoken': [u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'], u'rot_set-3-rotfrom': [u'832'], u'rot_set-0-rotto': [u'828'], u'linbsn': [u'867'], u'rot_set-__prefix__-rotlin': [u'40'], u'rot_set-4-rottimemnt': [u''], u'rot_set-2-rotisactive': [u'on'], u'rot_set-2-rotfrom': [u'829'], u'rot_set-4-rotkm': [u''], u'rot_set-4-rotto': [u'831'], u'rot_set-INITIAL_FORMS': [u'5'], u'rot_set-1-rotprice': [u''], u'rot_set-3-rotlin': [u'40'], u'rot_set-4-rotprice': [u''], u'rot_set-0-rotprice': [u''], u'rot_set-__prefix__-rottimemnt': [u''], u'rot_set-4-rotfrom': [u'830'], u'rot_set-3-rotkm': [u''], u'rot_set-TOTAL_FORMS': [u'5'], u'rot_set-3-rotisactive': [u'on'], u'rot_set-1-rottimemnt': [u''], u'rot_set-1-rotfrom': [u'828'], u'rot_set-2-rotprice': [u''], u'rot_set-3-rotto': [u'830'], u'rot_set-1-rotlin': [u'40'], u'rot_set-4-rotlin': [u'40']}>"</pre></td>
|
|---|
| 148 | </tr>
|
|---|
| 149 |
|
|---|
| 150 |
|
|---|
| 151 | <tr>
|
|---|
| 152 | <th>Exception Location:</th>
|
|---|
| 153 | <td>C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\utils\datastructures.py in __getitem__, line 258</td>
|
|---|
| 154 | </tr>
|
|---|
| 155 |
|
|---|
| 156 | <tr>
|
|---|
| 157 | <th>Python Executable:</th>
|
|---|
| 158 | <td>C:\Python27\python.exe</td>
|
|---|
| 159 | </tr>
|
|---|
| 160 | <tr>
|
|---|
| 161 | <th>Python Version:</th>
|
|---|
| 162 | <td>2.7.2</td>
|
|---|
| 163 | </tr>
|
|---|
| 164 | <tr>
|
|---|
| 165 | <th>Python Path:</th>
|
|---|
| 166 | <td><pre>['Z:\\Documents\\prolog\\django\\levipy',
|
|---|
| 167 | 'Z:\\Documents\\prolog\\django\\levipy',
|
|---|
| 168 | 'C:\\Windows\\SYSTEM32\\python27.zip',
|
|---|
| 169 | 'C:\\Python27\\DLLs',
|
|---|
| 170 | 'C:\\Python27\\lib',
|
|---|
| 171 | 'C:\\Python27\\lib\\plat-win',
|
|---|
| 172 | 'C:\\Python27\\lib\\lib-tk',
|
|---|
| 173 | 'C:\\Python27',
|
|---|
| 174 | 'C:\\Users\\adampahlevi\\AppData\\Roaming\\Python\\Python27\\site-packages',
|
|---|
| 175 | 'C:\\Python27\\lib\\site-packages',
|
|---|
| 176 | 'C:\\Python27\\lib\\site-packages\\win32',
|
|---|
| 177 | 'C:\\Python27\\lib\\site-packages\\win32\\lib',
|
|---|
| 178 | 'C:\\Python27\\lib\\site-packages\\Pythonwin',
|
|---|
| 179 | 'C:\\Python27\\lib\\site-packages\\setuptools-0.6c11-py2.7.egg-info']</pre></td>
|
|---|
| 180 | </tr>
|
|---|
| 181 | <tr>
|
|---|
| 182 | <th>Server time:</th>
|
|---|
| 183 | <td>Tue, 16 Jul 2013 07:07:25 +0800</td>
|
|---|
| 184 | </tr>
|
|---|
| 185 | </table>
|
|---|
| 186 | </div>
|
|---|
| 187 |
|
|---|
| 188 |
|
|---|
| 189 |
|
|---|
| 190 |
|
|---|
| 191 | <div id="traceback">
|
|---|
| 192 | <h2>Traceback <span class="commands"><a href="#" onclick="return switchPastebinFriendly(this);">Switch to copy-and-paste view</a></span></h2>
|
|---|
| 193 |
|
|---|
| 194 | <div id="browserTraceback">
|
|---|
| 195 | <ul class="traceback">
|
|---|
| 196 |
|
|---|
| 197 | <li class="frame django">
|
|---|
| 198 | <code>C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\core\handlers\base.py</code> in <code>get_response</code>
|
|---|
| 199 |
|
|---|
| 200 |
|
|---|
| 201 | <div class="context" id="c51388544">
|
|---|
| 202 |
|
|---|
| 203 | <ol start="104" class="pre-context" id="pre51388544"><li onclick="toggle('pre51388544', 'post51388544')"><pre> for middleware_method in self._view_middleware:</pre></li><li onclick="toggle('pre51388544', 'post51388544')"><pre> response = middleware_method(request, callback, callback_args, callback_kwargs)</pre></li><li onclick="toggle('pre51388544', 'post51388544')"><pre> if response:</pre></li><li onclick="toggle('pre51388544', 'post51388544')"><pre> break</pre></li><li onclick="toggle('pre51388544', 'post51388544')"><pre></pre></li><li onclick="toggle('pre51388544', 'post51388544')"><pre> if response is None:</pre></li><li onclick="toggle('pre51388544', 'post51388544')"><pre> try:</pre></li></ol>
|
|---|
| 204 |
|
|---|
| 205 | <ol start="111" class="context-line"><li onclick="toggle('pre51388544', 'post51388544')"><pre> response = callback(request, *callback_args, **callback_kwargs)</pre> <span>...</span></li></ol>
|
|---|
| 206 |
|
|---|
| 207 | <ol start='112' class="post-context" id="post51388544"><li onclick="toggle('pre51388544', 'post51388544')"><pre> except Exception, e:</pre></li><li onclick="toggle('pre51388544', 'post51388544')"><pre> # If the view raised an exception, run it through exception</pre></li><li onclick="toggle('pre51388544', 'post51388544')"><pre> # middleware, and if the exception middleware returns a</pre></li><li onclick="toggle('pre51388544', 'post51388544')"><pre> # response, use that. Otherwise, reraise the exception.</pre></li><li onclick="toggle('pre51388544', 'post51388544')"><pre> for middleware_method in self._exception_middleware:</pre></li><li onclick="toggle('pre51388544', 'post51388544')"><pre> response = middleware_method(request, e)</pre></li></ol>
|
|---|
| 208 |
|
|---|
| 209 | </div>
|
|---|
| 210 |
|
|---|
| 211 |
|
|---|
| 212 |
|
|---|
| 213 | <div class="commands">
|
|---|
| 214 |
|
|---|
| 215 | <a href="#" onclick="return varToggle(this, '51388544')"><span>▶</span> Local vars</a>
|
|---|
| 216 |
|
|---|
| 217 | </div>
|
|---|
| 218 | <table class="vars" id="v51388544">
|
|---|
| 219 | <thead>
|
|---|
| 220 | <tr>
|
|---|
| 221 | <th>Variable</th>
|
|---|
| 222 | <th>Value</th>
|
|---|
| 223 | </tr>
|
|---|
| 224 | </thead>
|
|---|
| 225 | <tbody>
|
|---|
| 226 |
|
|---|
| 227 | <tr>
|
|---|
| 228 | <td>exceptions</td>
|
|---|
| 229 | <td class="code"><pre><module 'django.core.exceptions' from 'C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\core\exceptions.pyc'></pre></td>
|
|---|
| 230 | </tr>
|
|---|
| 231 |
|
|---|
| 232 | <tr>
|
|---|
| 233 | <td>e</td>
|
|---|
| 234 | <td class="code"><pre>MultiValueDictKeyError("Key 'rot_set-0-rotid' not found in <QueryDict: {u'rot_set-1-rotto': [u'829'], u'rot_set-2-rotkm': [u''], u'rot_set-__prefix__-rotprice': [u''], u'rot_set-0-rotlin': [u'40'], u'rot_set-MAX_NUM_FORMS': [u''], u'rot_set-0-rotfrom': [u''], u'rot_set-1-rotisactive': [u'on'], u'rot_set-3-rottimemnt': [u''], u'rot_set-2-rotto': [u'832'], u'rot_set-__prefix__-rotfrom': [u''], u'rot_set-2-rottimemnt': [u''], u'rot_set-1-rotkm': [u''], u'rot_set-0-rotkm': [u''], u'_save': [u'Save'], u'rot_set-__prefix__-rotto': [u''], u'rot_set-0-rottimemnt': [u''], u'rot_set-3-rotprice': [u''], u'rot_set-2-rotlin': [u'40'], u'rot_set-0-rotisactive': [u'on'], u'rot_set-__prefix__-rotisactive': [u'on'], u'rot_set-4-rotisactive': [u'on'], u'rot_set-__prefix__-rotkm': [u''], u'csrfmiddlewaretoken': [u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'], u'rot_set-3-rotfrom': [u'832'], u'rot_set-0-rotto': [u'828'], u'linbsn': [u'867'], u'rot_set-__prefix__-rotlin': [u'40'], u'rot_set-4-rottimemnt': [u''], u'rot_set-2-rotisactive': [u'on'], u'rot_set-2-rotfrom': [u'829'], u'rot_set-4-rotkm': [u''], u'rot_set-4-rotto': [u'831'], u'rot_set-INITIAL_FORMS': [u'5'], u'rot_set-1-rotprice': [u''], u'rot_set-3-rotlin': [u'40'], u'rot_set-4-rotprice': [u''], u'rot_set-0-rotprice': [u''], u'rot_set-__prefix__-rottimemnt': [u''], u'rot_set-4-rotfrom': [u'830'], u'rot_set-3-rotkm': [u''], u'rot_set-TOTAL_FORMS': [u'5'], u'rot_set-3-rotisactive': [u'on'], u'rot_set-1-rottimemnt': [u''], u'rot_set-1-rotfrom': [u'828'], u'rot_set-2-rotprice': [u''], u'rot_set-3-rotto': [u'830'], u'rot_set-1-rotlin': [u'40'], u'rot_set-4-rotlin': [u'40']}>",)</pre></td>
|
|---|
| 235 | </tr>
|
|---|
| 236 |
|
|---|
| 237 | <tr>
|
|---|
| 238 | <td>callback_args</td>
|
|---|
| 239 | <td class="code"><pre>(u'40',)</pre></td>
|
|---|
| 240 | </tr>
|
|---|
| 241 |
|
|---|
| 242 | <tr>
|
|---|
| 243 | <td>settings</td>
|
|---|
| 244 | <td class="code"><pre><django.conf.LazySettings object at 0x024C9450></pre></td>
|
|---|
| 245 | </tr>
|
|---|
| 246 |
|
|---|
| 247 | <tr>
|
|---|
| 248 | <td>middleware_method</td>
|
|---|
| 249 | <td class="code"><pre><bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x02FD3C90>></pre></td>
|
|---|
| 250 | </tr>
|
|---|
| 251 |
|
|---|
| 252 | <tr>
|
|---|
| 253 | <td>self</td>
|
|---|
| 254 | <td class="code"><pre><django.core.handlers.wsgi.WSGIHandler object at 0x02FD3630></pre></td>
|
|---|
| 255 | </tr>
|
|---|
| 256 |
|
|---|
| 257 | <tr>
|
|---|
| 258 | <td>request</td>
|
|---|
| 259 | <td class="code"><pre>"<WSGIRequest\npath:/admin/levi/lin/40/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {u'rot_set-1-rotto': [u'829'], u'rot_set-2-rotkm': [u''], u'rot_set-__prefix__-rotprice': [u''], u'rot_set-0-rotlin': [u'40'], u'rot_set-MAX_NUM_FORMS': [u''], u'rot_set-0-rotfrom': [u''], u'rot_set-1-rotisactive': [u'on'], u'rot_set-3-rottimemnt': [u''], u'rot_set-2-rotto': [u'832'], u'rot_set-__prefix__-rotfrom': [u''], u'rot_set-2-rottimemnt': [u''], u'rot_set-1-rotkm': [u''], u'rot_set-0-rotkm': [u''], u'_save': [u'Save'], u'rot_set-__prefix__-rotto': [u''], u'rot_set-0-rottimemnt': [u''], u'rot_set-3-rotprice': [u''], u'rot_set-2-rotlin': [u'40'], u'rot_set-0-rotisactive': [u'on'], u'rot_set-__prefix__-rotisactive': [u'on'], u'rot_set-4-rotisactive': [u'on'], u'rot_set-__prefix__-rotkm': [u''], u'csrfmiddlewaretoken': [u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'], u'rot_set-3-rotfrom': [u'832'], u'rot_set-0-rotto': [u'828'], u'linbsn': [u'867'], u'rot_set-__prefix__-rotlin': [u'40'], u'rot_set-4-rottimemnt': [u''], u'rot_set-2-rotisactive': [u'on'], u'rot_set-2-rotfrom': [u'829'], u'rot_set-4-rotkm': [u''], u'rot_set-4-rotto': [u'831'], u'rot_set-INITIAL_FORMS': [u'5'], u'rot_set-1-rotprice': [u''], u'rot_set-3-rotlin': [u'40'], u'rot_set-4-rotprice': [u''], u'rot_set-0-rotprice': [u''], u'rot_set-__prefix__-rottimemnt': [u''], u'rot_set-4-rotfrom': [u'830'], u'rot_set-3-rotkm': [u''], u'rot_set-TOTAL_FORMS': [u'5'], u'rot_set-3-rotisactive': [u'on'], u'rot_set-1-rottimemnt': [u''], u'rot_set-1-rotfrom': [u'828'], u'rot_set-2-rotprice': [u''], u'rot_set-3-rotto': [u'830'], u'rot_set-1-rotlin': [u'40'], u'rot_set-4-rotlin': [u'40']}>,\nCOOKIES:{'csrftoken': 'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd',\n 'sessionid': 'b294a764b7bad938401f98691c0d8d3d'},\nMETA:{'ALLUSERSPROFILE': 'C:\\\\ProgramData',\n 'APPDATA': 'C:\\\\Users\\\\adampahlevi\\\\AppData\\\\Roaming',\n 'COMMONPROGRAMFILES': 'C:\\\\Program Files (x86)\\\\Common Files',\n 'COMMONPROGRAMFILES(X86)': 'C:\\\\Program Files (x86)\\\\Common Files',\n 'COMMONPROGRAMW6432': 'C:\\\\Program Files\\\\Common Files',\n 'COMPUTERNAME': 'ADAMPAHLEVID59C',\n 'COMSPEC': 'C:\\\\Windows\\\\system32\\\\cmd.exe',\n 'CONTENT_LENGTH': '5296',\n 'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------3001650601650',\n 'CSRF_COOKIE': 'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd',\n 'DJANGO_SETTINGS_MODULE': 'levipy.settings',\n 'FP_NO_HOST_CHECK': 'NO',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HOMEDRIVE': 'C:',\n 'HOMEPATH': '\\\\Users\\\\adampahlevi',\n 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',\n 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',\n 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5',\n 'HTTP_CONNECTION': 'keep-alive',\n 'HTTP_COOKIE': 'csrftoken=C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd; sessionid=b294a764b7bad938401f98691c0d8d3d',\n 'HTTP_HOST': '127.0.0.1:8000',\n 'HTTP_REFERER': 'http://127.0.0.1:8000/admin/levi/lin/40/',\n 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0',\n 'LOCALAPPDATA': 'C:\\\\Users\\\\adampahlevi\\\\AppData\\\\Local',\n 'LOGONSERVER': '\\\\\\\\ADAMPAHLEVID59C',\n 'NUMBER_OF_PROCESSORS': '1',\n 'OS': 'Windows_NT',\n 'PATH': 'C:\\\\Program Files (x86)\\\\JetBrains\\\\PyCharm 2.7.3\\\\bin\\\\..\\\\.\\\\bin;C:\\\\Python27\\\\;C:\\\\Python27\\\\Scripts;C:\\\\Python32\\\\;C:\\\\Python32\\\\Scripts;C:\\\\Program Files (x86)\\\\Parallels\\\\Parallels Tools\\\\Applications;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Program Files (x86)\\\\Windows Kits\\\\8.0\\\\Windows Performance Toolkit\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Python33;C:\\\\Python33\\\\Scripts;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\ManagementStudio\\\\;C:\\\\Program Files\\\\Microsoft\\\\Web Platform Installer\\\\;C:\\\\Program Files (x86)\\\\Microsoft ASP.NET\\\\ASP.NET Web Pages\\\\v1.0\\\\;C:\\\\Python27\\\\;C:\\\\Python27\\\\Scripts;C:\\\\Python32\\\\;C:\\\\Python32\\\\Scripts;C:\\\\Program Files (x86)\\\\Parallels\\\\Parallels Tools\\\\Applications;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Program Files (x86)\\\\Windows Kits\\\\8.0\\\\Windows Performance Toolkit\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Python33;C:\\\\Python33\\\\Scripts;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\ManagementStudio\\\\;C:\\\\Program Files\\\\Microsoft\\\\Web Platform Installer\\\\;C:\\\\Program Files (x86)\\\\Microsoft ASP.NET\\\\ASP.NET Web Pages\\\\v1.0\\\\;C:\\\\Users\\\\adampahlevi\\\\AppData\\\\Roaming\\\\Python\\\\Scripts;c:\\\\program files (x86)\\\\jetbrains\\\\pycharm 2.7.3\\\\jre\\\\jre\\\\bin',\n 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py;.pyw',\n 'PATH_INFO': u'/admin/levi/lin/40/',\n 'PROCESSOR_ARCHITECTURE': 'x86',\n 'PROCESSOR_ARCHITEW6432': 'AMD64',\n 'PROCESSOR_IDENTIFIER': 'Intel64 Family 6 Model 58 Stepping 9, GenuineIntel',\n 'PROCESSOR_LEVEL': '6',\n 'PROCESSOR_REVISION': '3a09',\n 'PROGRAMDATA': 'C:\\\\ProgramData',\n 'PROGRAMFILES': 'C:\\\\Program Files (x86)',\n 'PROGRAMFILES(X86)': 'C:\\\\Program Files (x86)',\n 'PROGRAMW6432': 'C:\\\\Program Files',\n 'PSMODULEPATH': 'C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\PowerShell\\\\Modules\\\\',\n 'PUBLIC': 'C:\\\\Users\\\\Public',\n 'PYCHARM_HOSTED': '1',\n 'PYTHONIOENCODING': 'UTF-8',\n 'PYTHONPATH': 'Z:\\\\Documents\\\\prolog\\\\django\\\\levipy',\n 'PYTHONUNBUFFERED': '1',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '127.0.0.1',\n 'REMOTE_HOST': '',\n 'REQUEST_METHOD': 'POST',\n 'RUN_MAIN': 'true',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'ADAMPAHLEVID59C',\n 'SERVER_PORT': '8000',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.2',\n 'SESSIONNAME': 'Console',\n 'SYSTEMDRIVE': 'C:',\n 'SYSTEMROOT': 'C:\\\\Windows',\n 'TEMP': 'C:\\\\Users\\\\ADAMPA~1\\\\AppData\\\\Local\\\\Temp',\n 'TMP': 'C:\\\\Users\\\\ADAMPA~1\\\\AppData\\\\Local\\\\Temp',\n 'USERDOMAIN': 'ADAMPAHLEVID59C',\n 'USERDOMAIN_ROAMINGPROFILE': 'ADAMPAHLEVID59C',\n 'USERNAME': 'adampahlevi',\n 'USERPROFILE': 'C:\\\\Users\\\\adampahlevi',\n 'VS110COMNTOOLS': 'C:\\\\Program Files (x86)\\\\Microsoft Visual Studio 11.0\\\\Common7\\\\Tools\\\\',\n 'WINDIR': 'C:\\\\Windows',\n 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x01E250D0>,\n 'wsgi.file_wrapper': <class wsgiref.util.FileWrapper at 0x02B5CEA0>,\n 'wsgi.input': <socket._fileobject object at 0x02FE8B30>,\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>
|
|---|
| 260 | </tr>
|
|---|
| 261 |
|
|---|
| 262 | <tr>
|
|---|
| 263 | <td>callback</td>
|
|---|
| 264 | <td class="code"><pre><function change_view at 0x02E7DA30></pre></td>
|
|---|
| 265 | </tr>
|
|---|
| 266 |
|
|---|
| 267 | <tr>
|
|---|
| 268 | <td>resolver</td>
|
|---|
| 269 | <td class="code"><pre><RegexURLResolver levipy.urls (None:None) ^/></pre></td>
|
|---|
| 270 | </tr>
|
|---|
| 271 |
|
|---|
| 272 | <tr>
|
|---|
| 273 | <td>urlresolvers</td>
|
|---|
| 274 | <td class="code"><pre><module 'django.core.urlresolvers' from 'C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\core\urlresolvers.pyc'></pre></td>
|
|---|
| 275 | </tr>
|
|---|
| 276 |
|
|---|
| 277 | <tr>
|
|---|
| 278 | <td>callback_kwargs</td>
|
|---|
| 279 | <td class="code"><pre>{}</pre></td>
|
|---|
| 280 | </tr>
|
|---|
| 281 |
|
|---|
| 282 | <tr>
|
|---|
| 283 | <td>response</td>
|
|---|
| 284 | <td class="code"><pre>None</pre></td>
|
|---|
| 285 | </tr>
|
|---|
| 286 |
|
|---|
| 287 | <tr>
|
|---|
| 288 | <td>urlconf</td>
|
|---|
| 289 | <td class="code"><pre>'levipy.urls'</pre></td>
|
|---|
| 290 | </tr>
|
|---|
| 291 |
|
|---|
| 292 | </tbody>
|
|---|
| 293 | </table>
|
|---|
| 294 |
|
|---|
| 295 | </li>
|
|---|
| 296 |
|
|---|
| 297 | <li class="frame django">
|
|---|
| 298 | <code>C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\contrib\admin\options.py</code> in <code>wrapper</code>
|
|---|
| 299 |
|
|---|
| 300 |
|
|---|
| 301 | <div class="context" id="c51391664">
|
|---|
| 302 |
|
|---|
| 303 | <ol start="359" class="pre-context" id="pre51391664"><li onclick="toggle('pre51391664', 'post51391664')"><pre> return inline_instances</pre></li><li onclick="toggle('pre51391664', 'post51391664')"><pre></pre></li><li onclick="toggle('pre51391664', 'post51391664')"><pre> def get_urls(self):</pre></li><li onclick="toggle('pre51391664', 'post51391664')"><pre> from django.conf.urls import patterns, url</pre></li><li onclick="toggle('pre51391664', 'post51391664')"><pre></pre></li><li onclick="toggle('pre51391664', 'post51391664')"><pre> def wrap(view):</pre></li><li onclick="toggle('pre51391664', 'post51391664')"><pre> def wrapper(*args, **kwargs):</pre></li></ol>
|
|---|
| 304 |
|
|---|
| 305 | <ol start="366" class="context-line"><li onclick="toggle('pre51391664', 'post51391664')"><pre> return self.admin_site.admin_view(view)(*args, **kwargs)</pre> <span>...</span></li></ol>
|
|---|
| 306 |
|
|---|
| 307 | <ol start='367' class="post-context" id="post51391664"><li onclick="toggle('pre51391664', 'post51391664')"><pre> return update_wrapper(wrapper, view)</pre></li><li onclick="toggle('pre51391664', 'post51391664')"><pre></pre></li><li onclick="toggle('pre51391664', 'post51391664')"><pre> info = self.model._meta.app_label, self.model._meta.module_name</pre></li><li onclick="toggle('pre51391664', 'post51391664')"><pre></pre></li><li onclick="toggle('pre51391664', 'post51391664')"><pre> urlpatterns = patterns('',</pre></li><li onclick="toggle('pre51391664', 'post51391664')"><pre> url(r'^$',</pre></li></ol>
|
|---|
| 308 |
|
|---|
| 309 | </div>
|
|---|
| 310 |
|
|---|
| 311 |
|
|---|
| 312 |
|
|---|
| 313 | <div class="commands">
|
|---|
| 314 |
|
|---|
| 315 | <a href="#" onclick="return varToggle(this, '51391664')"><span>▶</span> Local vars</a>
|
|---|
| 316 |
|
|---|
| 317 | </div>
|
|---|
| 318 | <table class="vars" id="v51391664">
|
|---|
| 319 | <thead>
|
|---|
| 320 | <tr>
|
|---|
| 321 | <th>Variable</th>
|
|---|
| 322 | <th>Value</th>
|
|---|
| 323 | </tr>
|
|---|
| 324 | </thead>
|
|---|
| 325 | <tbody>
|
|---|
| 326 |
|
|---|
| 327 | <tr>
|
|---|
| 328 | <td>self</td>
|
|---|
| 329 | <td class="code"><pre><levi.admin.LinAdmin object at 0x02E8BFF0></pre></td>
|
|---|
| 330 | </tr>
|
|---|
| 331 |
|
|---|
| 332 | <tr>
|
|---|
| 333 | <td>args</td>
|
|---|
| 334 | <td class="code"><pre>(<WSGIRequest
|
|---|
| 335 | path:/admin/levi/lin/40/,
|
|---|
| 336 | GET:<QueryDict: {}>,
|
|---|
| 337 | POST:<QueryDict: {u'rot_set-1-rotto': [u'829'], u'rot_set-2-rotkm': [u''], u'rot_set-__prefix__-rotprice': [u''], u'rot_set-0-rotlin': [u'40'], u'rot_set-MAX_NUM_FORMS': [u''], u'rot_set-0-rotfrom': [u''], u'rot_set-1-rotisactive': [u'on'], u'rot_set-3-rottimemnt': [u''], u'rot_set-2-rotto': [u'832'], u'rot_set-__prefix__-rotfrom': [u''], u'rot_set-2-rottimemnt': [u''], u'rot_set-1-rotkm': [u''], u'rot_set-0-rotkm': [u''], u'_save': [u'Save'], u'rot_set-__prefix__-rotto': [u''], u'rot_set-0-rottimemnt': [u''], u'rot_set-3-rotprice': [u''], u'rot_set-2-rotlin': [u'40'], u'rot_set-0-rotisactive': [u'on'], u'rot_set-__prefix__-rotisactive': [u'on'], u'rot_set-4-rotisactive': [u'on'], u'rot_set-__prefix__-rotkm': [u''], u'csrfmiddlewaretoken': [u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'], u'rot_set-3-rotfrom': [u'832'], u'rot_set-0-rotto': [u'828'], u'linbsn': [u'867'], u'rot_set-__prefix__-rotlin': [u'40'], u'rot_set-4-rottimemnt': [u''], u'rot_set-2-rotisactive': [u'on'], u'rot_set-2-rotfrom': [u'829'], u'rot_set-4-rotkm': [u''], u'rot_set-4-rotto': [u'831'], u'rot_set-INITIAL_FORMS': [u'5'], u'rot_set-1-rotprice': [u''], u'rot_set-3-rotlin': [u'40'], u'rot_set-4-rotprice': [u''], u'rot_set-0-rotprice': [u''], u'rot_set-__prefix__-rottimemnt': [u''], u'rot_set-4-rotfrom': [u'830'], u'rot_set-3-rotkm': [u''], u'rot_set-TOTAL_FORMS': [u'5'], u'rot_set-3-rotisactive': [u'on'], u'rot_set-1-rottimemnt': [u''], u'rot_set-1-rotfrom': [u'828'], u'rot_set-2-rotprice': [u''], u'rot_set-3-rotto': [u'830'], u'rot_set-1-rotlin': [u'40'], u'rot_set-4-rotlin': [u'40']}>,
|
|---|
| 338 | COOKIES:{'csrftoken': 'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd',
|
|---|
| 339 | 'sessionid': 'b294a764b7bad938401f98691c0d8d3d'},
|
|---|
| 340 | META:{'ALLUSERSPROFILE': 'C:\\ProgramData',
|
|---|
| 341 | 'APPDATA': 'C:\\Users\\adampahlevi\\AppData\\Roaming',
|
|---|
| 342 | 'COMMONPROGRAMFILES': 'C:\\Program Files (x86)\\Common Files',
|
|---|
| 343 | 'COMMONPROGRAMFILES(X86)': 'C:\\Program Files (x86)\\Common Files',
|
|---|
| 344 | 'COMMONPROGRAMW6432': 'C:\\Program Files\\Common Files',
|
|---|
| 345 | 'COMPUTERNAME': 'ADAMPAHLEVID59C',
|
|---|
| 346 | 'COMSPEC': 'C:\\Windows\\system32\\cmd.exe',
|
|---|
| 347 | 'CONTENT_LENGTH': '5296',
|
|---|
| 348 | 'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------3001650601650',
|
|---|
| 349 | 'CSRF_COOKIE': 'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd',
|
|---|
| 350 | 'DJANGO_SETTINGS_MODULE': 'levipy.settings',
|
|---|
| 351 | 'FP_NO_HOST_CHECK': 'NO',
|
|---|
| 352 | 'GATEWAY_INTERFACE': 'CGI/1.1',
|
|---|
| 353 | 'HOMEDRIVE': 'C:',
|
|---|
| 354 | 'HOMEPATH': '\\Users\\adampahlevi',
|
|---|
| 355 | 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
|
|---|
| 356 | 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
|
|---|
| 357 | 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5',
|
|---|
| 358 | 'HTTP_CONNECTION': 'keep-alive',
|
|---|
| 359 | 'HTTP_COOKIE': 'csrftoken=C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd; sessionid=b294a764b7bad938401f98691c0d8d3d',
|
|---|
| 360 | 'HTTP_HOST': '127.0.0.1:8000',
|
|---|
| 361 | 'HTTP_REFERER': 'http://127.0.0.1:8000/admin/levi/lin/40/',
|
|---|
| 362 | 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0',
|
|---|
| 363 | 'LOCALAPPDATA': 'C:\\Users\\adampahlevi\\AppData\\Local',
|
|---|
| 364 | 'LOGONSERVER': '\\\\ADAMPAHLEVID59C',
|
|---|
| 365 | 'NUMBER_OF_PROCESSORS': '1',
|
|---|
| 366 | 'OS': 'Windows_NT',
|
|---|
| 367 | 'PATH': 'C:\\Program Files (x86)\\JetBrains\\PyCharm 2.7.3\\bin\\..\\.\\bin;C:\\Python27\\;C:\\Python27\\Scripts;C:\\Python32\\;C:\\Python32\\Scripts;C:\\Program Files (x86)\\Parallels\\Parallels Tools\\Applications;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Windows Kits\\8.0\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Python33;C:\\Python33\\Scripts;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\ManagementStudio\\;C:\\Program Files\\Microsoft\\Web Platform Installer\\;C:\\Program Files (x86)\\Microsoft ASP.NET\\ASP.NET Web Pages\\v1.0\\;C:\\Python27\\;C:\\Python27\\Scripts;C:\\Python32\\;C:\\Python32\\Scripts;C:\\Program Files (x86)\\Parallels\\Parallels Tools\\Applications;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Windows Kits\\8.0\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Python33;C:\\Python33\\Scripts;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\ManagementStudio\\;C:\\Program Files\\Microsoft\\Web Platform Installer\\;C:\\Program Files (x86)\\Microsoft ASP.NET\\ASP.NET Web Pages\\v1.0\\;C:\\Users\\adampahlevi\\AppData\\Roaming\\Python\\Scripts;c:\\program files (x86)\\jetbrains\\pycharm 2.7.3\\jre\\jre\\bin',
|
|---|
| 368 | 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py;.pyw',
|
|---|
| 369 | 'PATH_INFO': u'/admin/levi/lin/40/',
|
|---|
| 370 | 'PROCESSOR_ARCHITECTURE': 'x86',
|
|---|
| 371 | 'PROCESSOR_ARCHITEW6432': 'AMD64',
|
|---|
| 372 | 'PROCESSOR_IDENTIFIER': 'Intel64 Family 6 Model 58 Stepping 9, GenuineIntel',
|
|---|
| 373 | 'PROCESSOR_LEVEL': '6',
|
|---|
| 374 | 'PROCESSOR_REVISION': '3a09',
|
|---|
| 375 | 'PROGRAMDATA': 'C:\\ProgramData',
|
|---|
| 376 | 'PROGRAMFILES': 'C:\\Program Files (x86)',
|
|---|
| 377 | 'PROGRAMFILES(X86)': 'C:\\Program Files (x86)',
|
|---|
| 378 | 'PROGRAMW6432': 'C:\\Program Files',
|
|---|
| 379 | 'PSMODULEPATH': 'C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\PowerShell\\Modules\\',
|
|---|
| 380 | 'PUBLIC': 'C:\\Users\\Public',
|
|---|
| 381 | 'PYCHARM_HOSTED': '1',
|
|---|
| 382 | 'PYTHONIOENCODING': 'UTF-8',
|
|---|
| 383 | 'PYTHONPATH': 'Z:\\Documents\\prolog\\django\\levipy',
|
|---|
| 384 | 'PYTHONUNBUFFERED': '1',
|
|---|
| 385 | 'QUERY_STRING': '',
|
|---|
| 386 | 'REMOTE_ADDR': '127.0.0.1',
|
|---|
| 387 | 'REMOTE_HOST': '',
|
|---|
| 388 | 'REQUEST_METHOD': 'POST',
|
|---|
| 389 | 'RUN_MAIN': 'true',
|
|---|
| 390 | 'SCRIPT_NAME': u'',
|
|---|
| 391 | 'SERVER_NAME': 'ADAMPAHLEVID59C',
|
|---|
| 392 | 'SERVER_PORT': '8000',
|
|---|
| 393 | 'SERVER_PROTOCOL': 'HTTP/1.1',
|
|---|
| 394 | 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.2',
|
|---|
| 395 | 'SESSIONNAME': 'Console',
|
|---|
| 396 | 'SYSTEMDRIVE': 'C:',
|
|---|
| 397 | 'SYSTEMROOT': 'C:\\Windows',
|
|---|
| 398 | 'TEMP': 'C:\\Users\\ADAMPA~1\\AppData\\Local\\Temp',
|
|---|
| 399 | 'TMP': 'C:\\Users\\ADAMPA~1\\AppData\\Local\\Temp',
|
|---|
| 400 | 'USERDOMAIN': 'ADAMPAHLEVID59C',
|
|---|
| 401 | 'USERDOMAIN_ROAMINGPROFILE': 'ADAMPAHLEVID59C',
|
|---|
| 402 | 'USERNAME': 'adampahlevi',
|
|---|
| 403 | 'USERPROFILE': 'C:\\Users\\adampahlevi',
|
|---|
| 404 | 'VS110COMNTOOLS': 'C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\Common7\\Tools\\',
|
|---|
| 405 | 'WINDIR': 'C:\\Windows',
|
|---|
| 406 | 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x01E250D0>,
|
|---|
| 407 | 'wsgi.file_wrapper': <class wsgiref.util.FileWrapper at 0x02B5CEA0>,
|
|---|
| 408 | 'wsgi.input': <socket._fileobject object at 0x02FE8B30>,
|
|---|
| 409 | 'wsgi.multiprocess': False,
|
|---|
| 410 | 'wsgi.multithread': True,
|
|---|
| 411 | 'wsgi.run_once': False,
|
|---|
| 412 | 'wsgi.url_scheme': 'http',
|
|---|
| 413 | 'wsgi.version': (1, 0)}>,
|
|---|
| 414 | u'40')</pre></td>
|
|---|
| 415 | </tr>
|
|---|
| 416 |
|
|---|
| 417 | <tr>
|
|---|
| 418 | <td>view</td>
|
|---|
| 419 | <td class="code"><pre><bound method LinAdmin.change_view of <levi.admin.LinAdmin object at 0x02E8BFF0>></pre></td>
|
|---|
| 420 | </tr>
|
|---|
| 421 |
|
|---|
| 422 | <tr>
|
|---|
| 423 | <td>kwargs</td>
|
|---|
| 424 | <td class="code"><pre>{}</pre></td>
|
|---|
| 425 | </tr>
|
|---|
| 426 |
|
|---|
| 427 | </tbody>
|
|---|
| 428 | </table>
|
|---|
| 429 |
|
|---|
| 430 | </li>
|
|---|
| 431 |
|
|---|
| 432 | <li class="frame django">
|
|---|
| 433 | <code>C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\utils\decorators.py</code> in <code>_wrapped_view</code>
|
|---|
| 434 |
|
|---|
| 435 |
|
|---|
| 436 | <div class="context" id="c51389664">
|
|---|
| 437 |
|
|---|
| 438 | <ol start="84" class="pre-context" id="pre51389664"><li onclick="toggle('pre51389664', 'post51389664')"><pre> if result is not None:</pre></li><li onclick="toggle('pre51389664', 'post51389664')"><pre> return result</pre></li><li onclick="toggle('pre51389664', 'post51389664')"><pre> if hasattr(middleware, 'process_view'):</pre></li><li onclick="toggle('pre51389664', 'post51389664')"><pre> result = middleware.process_view(request, view_func, args, kwargs)</pre></li><li onclick="toggle('pre51389664', 'post51389664')"><pre> if result is not None:</pre></li><li onclick="toggle('pre51389664', 'post51389664')"><pre> return result</pre></li><li onclick="toggle('pre51389664', 'post51389664')"><pre> try:</pre></li></ol>
|
|---|
| 439 |
|
|---|
| 440 | <ol start="91" class="context-line"><li onclick="toggle('pre51389664', 'post51389664')"><pre> response = view_func(request, *args, **kwargs)</pre> <span>...</span></li></ol>
|
|---|
| 441 |
|
|---|
| 442 | <ol start='92' class="post-context" id="post51389664"><li onclick="toggle('pre51389664', 'post51389664')"><pre> except Exception, e:</pre></li><li onclick="toggle('pre51389664', 'post51389664')"><pre> if hasattr(middleware, 'process_exception'):</pre></li><li onclick="toggle('pre51389664', 'post51389664')"><pre> result = middleware.process_exception(request, e)</pre></li><li onclick="toggle('pre51389664', 'post51389664')"><pre> if result is not None:</pre></li><li onclick="toggle('pre51389664', 'post51389664')"><pre> return result</pre></li><li onclick="toggle('pre51389664', 'post51389664')"><pre> raise</pre></li></ol>
|
|---|
| 443 |
|
|---|
| 444 | </div>
|
|---|
| 445 |
|
|---|
| 446 |
|
|---|
| 447 |
|
|---|
| 448 | <div class="commands">
|
|---|
| 449 |
|
|---|
| 450 | <a href="#" onclick="return varToggle(this, '51389664')"><span>▶</span> Local vars</a>
|
|---|
| 451 |
|
|---|
| 452 | </div>
|
|---|
| 453 | <table class="vars" id="v51389664">
|
|---|
| 454 | <thead>
|
|---|
| 455 | <tr>
|
|---|
| 456 | <th>Variable</th>
|
|---|
| 457 | <th>Value</th>
|
|---|
| 458 | </tr>
|
|---|
| 459 | </thead>
|
|---|
| 460 | <tbody>
|
|---|
| 461 |
|
|---|
| 462 | <tr>
|
|---|
| 463 | <td>e</td>
|
|---|
| 464 | <td class="code"><pre>MultiValueDictKeyError("Key 'rot_set-0-rotid' not found in <QueryDict: {u'rot_set-1-rotto': [u'829'], u'rot_set-2-rotkm': [u''], u'rot_set-__prefix__-rotprice': [u''], u'rot_set-0-rotlin': [u'40'], u'rot_set-MAX_NUM_FORMS': [u''], u'rot_set-0-rotfrom': [u''], u'rot_set-1-rotisactive': [u'on'], u'rot_set-3-rottimemnt': [u''], u'rot_set-2-rotto': [u'832'], u'rot_set-__prefix__-rotfrom': [u''], u'rot_set-2-rottimemnt': [u''], u'rot_set-1-rotkm': [u''], u'rot_set-0-rotkm': [u''], u'_save': [u'Save'], u'rot_set-__prefix__-rotto': [u''], u'rot_set-0-rottimemnt': [u''], u'rot_set-3-rotprice': [u''], u'rot_set-2-rotlin': [u'40'], u'rot_set-0-rotisactive': [u'on'], u'rot_set-__prefix__-rotisactive': [u'on'], u'rot_set-4-rotisactive': [u'on'], u'rot_set-__prefix__-rotkm': [u''], u'csrfmiddlewaretoken': [u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'], u'rot_set-3-rotfrom': [u'832'], u'rot_set-0-rotto': [u'828'], u'linbsn': [u'867'], u'rot_set-__prefix__-rotlin': [u'40'], u'rot_set-4-rottimemnt': [u''], u'rot_set-2-rotisactive': [u'on'], u'rot_set-2-rotfrom': [u'829'], u'rot_set-4-rotkm': [u''], u'rot_set-4-rotto': [u'831'], u'rot_set-INITIAL_FORMS': [u'5'], u'rot_set-1-rotprice': [u''], u'rot_set-3-rotlin': [u'40'], u'rot_set-4-rotprice': [u''], u'rot_set-0-rotprice': [u''], u'rot_set-__prefix__-rottimemnt': [u''], u'rot_set-4-rotfrom': [u'830'], u'rot_set-3-rotkm': [u''], u'rot_set-TOTAL_FORMS': [u'5'], u'rot_set-3-rotisactive': [u'on'], u'rot_set-1-rottimemnt': [u''], u'rot_set-1-rotfrom': [u'828'], u'rot_set-2-rotprice': [u''], u'rot_set-3-rotto': [u'830'], u'rot_set-1-rotlin': [u'40'], u'rot_set-4-rotlin': [u'40']}>",)</pre></td>
|
|---|
| 465 | </tr>
|
|---|
| 466 |
|
|---|
| 467 | <tr>
|
|---|
| 468 | <td>middleware</td>
|
|---|
| 469 | <td class="code"><pre><django.middleware.csrf.CsrfViewMiddleware object at 0x02E0EDF0></pre></td>
|
|---|
| 470 | </tr>
|
|---|
| 471 |
|
|---|
| 472 | <tr>
|
|---|
| 473 | <td>args</td>
|
|---|
| 474 | <td class="code"><pre>(u'40',)</pre></td>
|
|---|
| 475 | </tr>
|
|---|
| 476 |
|
|---|
| 477 | <tr>
|
|---|
| 478 | <td>request</td>
|
|---|
| 479 | <td class="code"><pre>"<WSGIRequest\npath:/admin/levi/lin/40/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {u'rot_set-1-rotto': [u'829'], u'rot_set-2-rotkm': [u''], u'rot_set-__prefix__-rotprice': [u''], u'rot_set-0-rotlin': [u'40'], u'rot_set-MAX_NUM_FORMS': [u''], u'rot_set-0-rotfrom': [u''], u'rot_set-1-rotisactive': [u'on'], u'rot_set-3-rottimemnt': [u''], u'rot_set-2-rotto': [u'832'], u'rot_set-__prefix__-rotfrom': [u''], u'rot_set-2-rottimemnt': [u''], u'rot_set-1-rotkm': [u''], u'rot_set-0-rotkm': [u''], u'_save': [u'Save'], u'rot_set-__prefix__-rotto': [u''], u'rot_set-0-rottimemnt': [u''], u'rot_set-3-rotprice': [u''], u'rot_set-2-rotlin': [u'40'], u'rot_set-0-rotisactive': [u'on'], u'rot_set-__prefix__-rotisactive': [u'on'], u'rot_set-4-rotisactive': [u'on'], u'rot_set-__prefix__-rotkm': [u''], u'csrfmiddlewaretoken': [u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'], u'rot_set-3-rotfrom': [u'832'], u'rot_set-0-rotto': [u'828'], u'linbsn': [u'867'], u'rot_set-__prefix__-rotlin': [u'40'], u'rot_set-4-rottimemnt': [u''], u'rot_set-2-rotisactive': [u'on'], u'rot_set-2-rotfrom': [u'829'], u'rot_set-4-rotkm': [u''], u'rot_set-4-rotto': [u'831'], u'rot_set-INITIAL_FORMS': [u'5'], u'rot_set-1-rotprice': [u''], u'rot_set-3-rotlin': [u'40'], u'rot_set-4-rotprice': [u''], u'rot_set-0-rotprice': [u''], u'rot_set-__prefix__-rottimemnt': [u''], u'rot_set-4-rotfrom': [u'830'], u'rot_set-3-rotkm': [u''], u'rot_set-TOTAL_FORMS': [u'5'], u'rot_set-3-rotisactive': [u'on'], u'rot_set-1-rottimemnt': [u''], u'rot_set-1-rotfrom': [u'828'], u'rot_set-2-rotprice': [u''], u'rot_set-3-rotto': [u'830'], u'rot_set-1-rotlin': [u'40'], u'rot_set-4-rotlin': [u'40']}>,\nCOOKIES:{'csrftoken': 'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd',\n 'sessionid': 'b294a764b7bad938401f98691c0d8d3d'},\nMETA:{'ALLUSERSPROFILE': 'C:\\\\ProgramData',\n 'APPDATA': 'C:\\\\Users\\\\adampahlevi\\\\AppData\\\\Roaming',\n 'COMMONPROGRAMFILES': 'C:\\\\Program Files (x86)\\\\Common Files',\n 'COMMONPROGRAMFILES(X86)': 'C:\\\\Program Files (x86)\\\\Common Files',\n 'COMMONPROGRAMW6432': 'C:\\\\Program Files\\\\Common Files',\n 'COMPUTERNAME': 'ADAMPAHLEVID59C',\n 'COMSPEC': 'C:\\\\Windows\\\\system32\\\\cmd.exe',\n 'CONTENT_LENGTH': '5296',\n 'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------3001650601650',\n 'CSRF_COOKIE': 'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd',\n 'DJANGO_SETTINGS_MODULE': 'levipy.settings',\n 'FP_NO_HOST_CHECK': 'NO',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HOMEDRIVE': 'C:',\n 'HOMEPATH': '\\\\Users\\\\adampahlevi',\n 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',\n 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',\n 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5',\n 'HTTP_CONNECTION': 'keep-alive',\n 'HTTP_COOKIE': 'csrftoken=C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd; sessionid=b294a764b7bad938401f98691c0d8d3d',\n 'HTTP_HOST': '127.0.0.1:8000',\n 'HTTP_REFERER': 'http://127.0.0.1:8000/admin/levi/lin/40/',\n 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0',\n 'LOCALAPPDATA': 'C:\\\\Users\\\\adampahlevi\\\\AppData\\\\Local',\n 'LOGONSERVER': '\\\\\\\\ADAMPAHLEVID59C',\n 'NUMBER_OF_PROCESSORS': '1',\n 'OS': 'Windows_NT',\n 'PATH': 'C:\\\\Program Files (x86)\\\\JetBrains\\\\PyCharm 2.7.3\\\\bin\\\\..\\\\.\\\\bin;C:\\\\Python27\\\\;C:\\\\Python27\\\\Scripts;C:\\\\Python32\\\\;C:\\\\Python32\\\\Scripts;C:\\\\Program Files (x86)\\\\Parallels\\\\Parallels Tools\\\\Applications;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Program Files (x86)\\\\Windows Kits\\\\8.0\\\\Windows Performance Toolkit\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Python33;C:\\\\Python33\\\\Scripts;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\ManagementStudio\\\\;C:\\\\Program Files\\\\Microsoft\\\\Web Platform Installer\\\\;C:\\\\Program Files (x86)\\\\Microsoft ASP.NET\\\\ASP.NET Web Pages\\\\v1.0\\\\;C:\\\\Python27\\\\;C:\\\\Python27\\\\Scripts;C:\\\\Python32\\\\;C:\\\\Python32\\\\Scripts;C:\\\\Program Files (x86)\\\\Parallels\\\\Parallels Tools\\\\Applications;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Program Files (x86)\\\\Windows Kits\\\\8.0\\\\Windows Performance Toolkit\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Python33;C:\\\\Python33\\\\Scripts;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\ManagementStudio\\\\;C:\\\\Program Files\\\\Microsoft\\\\Web Platform Installer\\\\;C:\\\\Program Files (x86)\\\\Microsoft ASP.NET\\\\ASP.NET Web Pages\\\\v1.0\\\\;C:\\\\Users\\\\adampahlevi\\\\AppData\\\\Roaming\\\\Python\\\\Scripts;c:\\\\program files (x86)\\\\jetbrains\\\\pycharm 2.7.3\\\\jre\\\\jre\\\\bin',\n 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py;.pyw',\n 'PATH_INFO': u'/admin/levi/lin/40/',\n 'PROCESSOR_ARCHITECTURE': 'x86',\n 'PROCESSOR_ARCHITEW6432': 'AMD64',\n 'PROCESSOR_IDENTIFIER': 'Intel64 Family 6 Model 58 Stepping 9, GenuineIntel',\n 'PROCESSOR_LEVEL': '6',\n 'PROCESSOR_REVISION': '3a09',\n 'PROGRAMDATA': 'C:\\\\ProgramData',\n 'PROGRAMFILES': 'C:\\\\Program Files (x86)',\n 'PROGRAMFILES(X86)': 'C:\\\\Program Files (x86)',\n 'PROGRAMW6432': 'C:\\\\Program Files',\n 'PSMODULEPATH': 'C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\PowerShell\\\\Modules\\\\',\n 'PUBLIC': 'C:\\\\Users\\\\Public',\n 'PYCHARM_HOSTED': '1',\n 'PYTHONIOENCODING': 'UTF-8',\n 'PYTHONPATH': 'Z:\\\\Documents\\\\prolog\\\\django\\\\levipy',\n 'PYTHONUNBUFFERED': '1',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '127.0.0.1',\n 'REMOTE_HOST': '',\n 'REQUEST_METHOD': 'POST',\n 'RUN_MAIN': 'true',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'ADAMPAHLEVID59C',\n 'SERVER_PORT': '8000',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.2',\n 'SESSIONNAME': 'Console',\n 'SYSTEMDRIVE': 'C:',\n 'SYSTEMROOT': 'C:\\\\Windows',\n 'TEMP': 'C:\\\\Users\\\\ADAMPA~1\\\\AppData\\\\Local\\\\Temp',\n 'TMP': 'C:\\\\Users\\\\ADAMPA~1\\\\AppData\\\\Local\\\\Temp',\n 'USERDOMAIN': 'ADAMPAHLEVID59C',\n 'USERDOMAIN_ROAMINGPROFILE': 'ADAMPAHLEVID59C',\n 'USERNAME': 'adampahlevi',\n 'USERPROFILE': 'C:\\\\Users\\\\adampahlevi',\n 'VS110COMNTOOLS': 'C:\\\\Program Files (x86)\\\\Microsoft Visual Studio 11.0\\\\Common7\\\\Tools\\\\',\n 'WINDIR': 'C:\\\\Windows',\n 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x01E250D0>,\n 'wsgi.file_wrapper': <class wsgiref.util.FileWrapper at 0x02B5CEA0>,\n 'wsgi.input': <socket._fileobject object at 0x02FE8B30>,\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>
|
|---|
| 480 | </tr>
|
|---|
| 481 |
|
|---|
| 482 | <tr>
|
|---|
| 483 | <td>result</td>
|
|---|
| 484 | <td class="code"><pre>None</pre></td>
|
|---|
| 485 | </tr>
|
|---|
| 486 |
|
|---|
| 487 | <tr>
|
|---|
| 488 | <td>kwargs</td>
|
|---|
| 489 | <td class="code"><pre>{}</pre></td>
|
|---|
| 490 | </tr>
|
|---|
| 491 |
|
|---|
| 492 | <tr>
|
|---|
| 493 | <td>view_func</td>
|
|---|
| 494 | <td class="code"><pre><function inner at 0x03090070></pre></td>
|
|---|
| 495 | </tr>
|
|---|
| 496 |
|
|---|
| 497 | </tbody>
|
|---|
| 498 | </table>
|
|---|
| 499 |
|
|---|
| 500 | </li>
|
|---|
| 501 |
|
|---|
| 502 | <li class="frame django">
|
|---|
| 503 | <code>C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\views\decorators\cache.py</code> in <code>_wrapped_view_func</code>
|
|---|
| 504 |
|
|---|
| 505 |
|
|---|
| 506 | <div class="context" id="c51388464">
|
|---|
| 507 |
|
|---|
| 508 | <ol start="82" class="pre-context" id="pre51388464"><li onclick="toggle('pre51388464', 'post51388464')"><pre>def never_cache(view_func):</pre></li><li onclick="toggle('pre51388464', 'post51388464')"><pre> """</pre></li><li onclick="toggle('pre51388464', 'post51388464')"><pre> Decorator that adds headers to a response so that it will</pre></li><li onclick="toggle('pre51388464', 'post51388464')"><pre> never be cached.</pre></li><li onclick="toggle('pre51388464', 'post51388464')"><pre> """</pre></li><li onclick="toggle('pre51388464', 'post51388464')"><pre> @wraps(view_func, assigned=available_attrs(view_func))</pre></li><li onclick="toggle('pre51388464', 'post51388464')"><pre> def _wrapped_view_func(request, *args, **kwargs):</pre></li></ol>
|
|---|
| 509 |
|
|---|
| 510 | <ol start="89" class="context-line"><li onclick="toggle('pre51388464', 'post51388464')"><pre> response = view_func(request, *args, **kwargs)</pre> <span>...</span></li></ol>
|
|---|
| 511 |
|
|---|
| 512 | <ol start='90' class="post-context" id="post51388464"><li onclick="toggle('pre51388464', 'post51388464')"><pre> add_never_cache_headers(response)</pre></li><li onclick="toggle('pre51388464', 'post51388464')"><pre> return response</pre></li><li onclick="toggle('pre51388464', 'post51388464')"><pre> return _wrapped_view_func</pre></li></ol>
|
|---|
| 513 |
|
|---|
| 514 | </div>
|
|---|
| 515 |
|
|---|
| 516 |
|
|---|
| 517 |
|
|---|
| 518 | <div class="commands">
|
|---|
| 519 |
|
|---|
| 520 | <a href="#" onclick="return varToggle(this, '51388464')"><span>▶</span> Local vars</a>
|
|---|
| 521 |
|
|---|
| 522 | </div>
|
|---|
| 523 | <table class="vars" id="v51388464">
|
|---|
| 524 | <thead>
|
|---|
| 525 | <tr>
|
|---|
| 526 | <th>Variable</th>
|
|---|
| 527 | <th>Value</th>
|
|---|
| 528 | </tr>
|
|---|
| 529 | </thead>
|
|---|
| 530 | <tbody>
|
|---|
| 531 |
|
|---|
| 532 | <tr>
|
|---|
| 533 | <td>args</td>
|
|---|
| 534 | <td class="code"><pre>(u'40',)</pre></td>
|
|---|
| 535 | </tr>
|
|---|
| 536 |
|
|---|
| 537 | <tr>
|
|---|
| 538 | <td>request</td>
|
|---|
| 539 | <td class="code"><pre>"<WSGIRequest\npath:/admin/levi/lin/40/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {u'rot_set-1-rotto': [u'829'], u'rot_set-2-rotkm': [u''], u'rot_set-__prefix__-rotprice': [u''], u'rot_set-0-rotlin': [u'40'], u'rot_set-MAX_NUM_FORMS': [u''], u'rot_set-0-rotfrom': [u''], u'rot_set-1-rotisactive': [u'on'], u'rot_set-3-rottimemnt': [u''], u'rot_set-2-rotto': [u'832'], u'rot_set-__prefix__-rotfrom': [u''], u'rot_set-2-rottimemnt': [u''], u'rot_set-1-rotkm': [u''], u'rot_set-0-rotkm': [u''], u'_save': [u'Save'], u'rot_set-__prefix__-rotto': [u''], u'rot_set-0-rottimemnt': [u''], u'rot_set-3-rotprice': [u''], u'rot_set-2-rotlin': [u'40'], u'rot_set-0-rotisactive': [u'on'], u'rot_set-__prefix__-rotisactive': [u'on'], u'rot_set-4-rotisactive': [u'on'], u'rot_set-__prefix__-rotkm': [u''], u'csrfmiddlewaretoken': [u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'], u'rot_set-3-rotfrom': [u'832'], u'rot_set-0-rotto': [u'828'], u'linbsn': [u'867'], u'rot_set-__prefix__-rotlin': [u'40'], u'rot_set-4-rottimemnt': [u''], u'rot_set-2-rotisactive': [u'on'], u'rot_set-2-rotfrom': [u'829'], u'rot_set-4-rotkm': [u''], u'rot_set-4-rotto': [u'831'], u'rot_set-INITIAL_FORMS': [u'5'], u'rot_set-1-rotprice': [u''], u'rot_set-3-rotlin': [u'40'], u'rot_set-4-rotprice': [u''], u'rot_set-0-rotprice': [u''], u'rot_set-__prefix__-rottimemnt': [u''], u'rot_set-4-rotfrom': [u'830'], u'rot_set-3-rotkm': [u''], u'rot_set-TOTAL_FORMS': [u'5'], u'rot_set-3-rotisactive': [u'on'], u'rot_set-1-rottimemnt': [u''], u'rot_set-1-rotfrom': [u'828'], u'rot_set-2-rotprice': [u''], u'rot_set-3-rotto': [u'830'], u'rot_set-1-rotlin': [u'40'], u'rot_set-4-rotlin': [u'40']}>,\nCOOKIES:{'csrftoken': 'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd',\n 'sessionid': 'b294a764b7bad938401f98691c0d8d3d'},\nMETA:{'ALLUSERSPROFILE': 'C:\\\\ProgramData',\n 'APPDATA': 'C:\\\\Users\\\\adampahlevi\\\\AppData\\\\Roaming',\n 'COMMONPROGRAMFILES': 'C:\\\\Program Files (x86)\\\\Common Files',\n 'COMMONPROGRAMFILES(X86)': 'C:\\\\Program Files (x86)\\\\Common Files',\n 'COMMONPROGRAMW6432': 'C:\\\\Program Files\\\\Common Files',\n 'COMPUTERNAME': 'ADAMPAHLEVID59C',\n 'COMSPEC': 'C:\\\\Windows\\\\system32\\\\cmd.exe',\n 'CONTENT_LENGTH': '5296',\n 'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------3001650601650',\n 'CSRF_COOKIE': 'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd',\n 'DJANGO_SETTINGS_MODULE': 'levipy.settings',\n 'FP_NO_HOST_CHECK': 'NO',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HOMEDRIVE': 'C:',\n 'HOMEPATH': '\\\\Users\\\\adampahlevi',\n 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',\n 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',\n 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5',\n 'HTTP_CONNECTION': 'keep-alive',\n 'HTTP_COOKIE': 'csrftoken=C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd; sessionid=b294a764b7bad938401f98691c0d8d3d',\n 'HTTP_HOST': '127.0.0.1:8000',\n 'HTTP_REFERER': 'http://127.0.0.1:8000/admin/levi/lin/40/',\n 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0',\n 'LOCALAPPDATA': 'C:\\\\Users\\\\adampahlevi\\\\AppData\\\\Local',\n 'LOGONSERVER': '\\\\\\\\ADAMPAHLEVID59C',\n 'NUMBER_OF_PROCESSORS': '1',\n 'OS': 'Windows_NT',\n 'PATH': 'C:\\\\Program Files (x86)\\\\JetBrains\\\\PyCharm 2.7.3\\\\bin\\\\..\\\\.\\\\bin;C:\\\\Python27\\\\;C:\\\\Python27\\\\Scripts;C:\\\\Python32\\\\;C:\\\\Python32\\\\Scripts;C:\\\\Program Files (x86)\\\\Parallels\\\\Parallels Tools\\\\Applications;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Program Files (x86)\\\\Windows Kits\\\\8.0\\\\Windows Performance Toolkit\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Python33;C:\\\\Python33\\\\Scripts;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\ManagementStudio\\\\;C:\\\\Program Files\\\\Microsoft\\\\Web Platform Installer\\\\;C:\\\\Program Files (x86)\\\\Microsoft ASP.NET\\\\ASP.NET Web Pages\\\\v1.0\\\\;C:\\\\Python27\\\\;C:\\\\Python27\\\\Scripts;C:\\\\Python32\\\\;C:\\\\Python32\\\\Scripts;C:\\\\Program Files (x86)\\\\Parallels\\\\Parallels Tools\\\\Applications;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Program Files (x86)\\\\Windows Kits\\\\8.0\\\\Windows Performance Toolkit\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Python33;C:\\\\Python33\\\\Scripts;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\ManagementStudio\\\\;C:\\\\Program Files\\\\Microsoft\\\\Web Platform Installer\\\\;C:\\\\Program Files (x86)\\\\Microsoft ASP.NET\\\\ASP.NET Web Pages\\\\v1.0\\\\;C:\\\\Users\\\\adampahlevi\\\\AppData\\\\Roaming\\\\Python\\\\Scripts;c:\\\\program files (x86)\\\\jetbrains\\\\pycharm 2.7.3\\\\jre\\\\jre\\\\bin',\n 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py;.pyw',\n 'PATH_INFO': u'/admin/levi/lin/40/',\n 'PROCESSOR_ARCHITECTURE': 'x86',\n 'PROCESSOR_ARCHITEW6432': 'AMD64',\n 'PROCESSOR_IDENTIFIER': 'Intel64 Family 6 Model 58 Stepping 9, GenuineIntel',\n 'PROCESSOR_LEVEL': '6',\n 'PROCESSOR_REVISION': '3a09',\n 'PROGRAMDATA': 'C:\\\\ProgramData',\n 'PROGRAMFILES': 'C:\\\\Program Files (x86)',\n 'PROGRAMFILES(X86)': 'C:\\\\Program Files (x86)',\n 'PROGRAMW6432': 'C:\\\\Program Files',\n 'PSMODULEPATH': 'C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\PowerShell\\\\Modules\\\\',\n 'PUBLIC': 'C:\\\\Users\\\\Public',\n 'PYCHARM_HOSTED': '1',\n 'PYTHONIOENCODING': 'UTF-8',\n 'PYTHONPATH': 'Z:\\\\Documents\\\\prolog\\\\django\\\\levipy',\n 'PYTHONUNBUFFERED': '1',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '127.0.0.1',\n 'REMOTE_HOST': '',\n 'REQUEST_METHOD': 'POST',\n 'RUN_MAIN': 'true',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'ADAMPAHLEVID59C',\n 'SERVER_PORT': '8000',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.2',\n 'SESSIONNAME': 'Console',\n 'SYSTEMDRIVE': 'C:',\n 'SYSTEMROOT': 'C:\\\\Windows',\n 'TEMP': 'C:\\\\Users\\\\ADAMPA~1\\\\AppData\\\\Local\\\\Temp',\n 'TMP': 'C:\\\\Users\\\\ADAMPA~1\\\\AppData\\\\Local\\\\Temp',\n 'USERDOMAIN': 'ADAMPAHLEVID59C',\n 'USERDOMAIN_ROAMINGPROFILE': 'ADAMPAHLEVID59C',\n 'USERNAME': 'adampahlevi',\n 'USERPROFILE': 'C:\\\\Users\\\\adampahlevi',\n 'VS110COMNTOOLS': 'C:\\\\Program Files (x86)\\\\Microsoft Visual Studio 11.0\\\\Common7\\\\Tools\\\\',\n 'WINDIR': 'C:\\\\Windows',\n 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x01E250D0>,\n 'wsgi.file_wrapper': <class wsgiref.util.FileWrapper at 0x02B5CEA0>,\n 'wsgi.input': <socket._fileobject object at 0x02FE8B30>,\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>
|
|---|
| 540 | </tr>
|
|---|
| 541 |
|
|---|
| 542 | <tr>
|
|---|
| 543 | <td>view_func</td>
|
|---|
| 544 | <td class="code"><pre><function inner at 0x03090A70></pre></td>
|
|---|
| 545 | </tr>
|
|---|
| 546 |
|
|---|
| 547 | <tr>
|
|---|
| 548 | <td>kwargs</td>
|
|---|
| 549 | <td class="code"><pre>{}</pre></td>
|
|---|
| 550 | </tr>
|
|---|
| 551 |
|
|---|
| 552 | </tbody>
|
|---|
| 553 | </table>
|
|---|
| 554 |
|
|---|
| 555 | </li>
|
|---|
| 556 |
|
|---|
| 557 | <li class="frame django">
|
|---|
| 558 | <code>C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\contrib\admin\sites.py</code> in <code>inner</code>
|
|---|
| 559 |
|
|---|
| 560 |
|
|---|
| 561 | <div class="context" id="c51388984">
|
|---|
| 562 |
|
|---|
| 563 | <ol start="189" class="pre-context" id="pre51388984"><li onclick="toggle('pre51388984', 'post51388984')"><pre> def inner(request, *args, **kwargs):</pre></li><li onclick="toggle('pre51388984', 'post51388984')"><pre> if not self.has_permission(request):</pre></li><li onclick="toggle('pre51388984', 'post51388984')"><pre> if request.path == reverse('admin:logout',</pre></li><li onclick="toggle('pre51388984', 'post51388984')"><pre> current_app=self.name):</pre></li><li onclick="toggle('pre51388984', 'post51388984')"><pre> index_path = reverse('admin:index', current_app=self.name)</pre></li><li onclick="toggle('pre51388984', 'post51388984')"><pre> return HttpResponseRedirect(index_path)</pre></li><li onclick="toggle('pre51388984', 'post51388984')"><pre> return self.login(request)</pre></li></ol>
|
|---|
| 564 |
|
|---|
| 565 | <ol start="196" class="context-line"><li onclick="toggle('pre51388984', 'post51388984')"><pre> return view(request, *args, **kwargs)</pre> <span>...</span></li></ol>
|
|---|
| 566 |
|
|---|
| 567 | <ol start='197' class="post-context" id="post51388984"><li onclick="toggle('pre51388984', 'post51388984')"><pre> if not cacheable:</pre></li><li onclick="toggle('pre51388984', 'post51388984')"><pre> inner = never_cache(inner)</pre></li><li onclick="toggle('pre51388984', 'post51388984')"><pre> # We add csrf_protect here so this function can be used as a utility</pre></li><li onclick="toggle('pre51388984', 'post51388984')"><pre> # function for any view, without having to repeat 'csrf_protect'.</pre></li><li onclick="toggle('pre51388984', 'post51388984')"><pre> if not getattr(view, 'csrf_exempt', False):</pre></li><li onclick="toggle('pre51388984', 'post51388984')"><pre> inner = csrf_protect(inner)</pre></li></ol>
|
|---|
| 568 |
|
|---|
| 569 | </div>
|
|---|
| 570 |
|
|---|
| 571 |
|
|---|
| 572 |
|
|---|
| 573 | <div class="commands">
|
|---|
| 574 |
|
|---|
| 575 | <a href="#" onclick="return varToggle(this, '51388984')"><span>▶</span> Local vars</a>
|
|---|
| 576 |
|
|---|
| 577 | </div>
|
|---|
| 578 | <table class="vars" id="v51388984">
|
|---|
| 579 | <thead>
|
|---|
| 580 | <tr>
|
|---|
| 581 | <th>Variable</th>
|
|---|
| 582 | <th>Value</th>
|
|---|
| 583 | </tr>
|
|---|
| 584 | </thead>
|
|---|
| 585 | <tbody>
|
|---|
| 586 |
|
|---|
| 587 | <tr>
|
|---|
| 588 | <td>self</td>
|
|---|
| 589 | <td class="code"><pre><django.contrib.admin.sites.AdminSite object at 0x02ECDFB0></pre></td>
|
|---|
| 590 | </tr>
|
|---|
| 591 |
|
|---|
| 592 | <tr>
|
|---|
| 593 | <td>args</td>
|
|---|
| 594 | <td class="code"><pre>(u'40',)</pre></td>
|
|---|
| 595 | </tr>
|
|---|
| 596 |
|
|---|
| 597 | <tr>
|
|---|
| 598 | <td>request</td>
|
|---|
| 599 | <td class="code"><pre>"<WSGIRequest\npath:/admin/levi/lin/40/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {u'rot_set-1-rotto': [u'829'], u'rot_set-2-rotkm': [u''], u'rot_set-__prefix__-rotprice': [u''], u'rot_set-0-rotlin': [u'40'], u'rot_set-MAX_NUM_FORMS': [u''], u'rot_set-0-rotfrom': [u''], u'rot_set-1-rotisactive': [u'on'], u'rot_set-3-rottimemnt': [u''], u'rot_set-2-rotto': [u'832'], u'rot_set-__prefix__-rotfrom': [u''], u'rot_set-2-rottimemnt': [u''], u'rot_set-1-rotkm': [u''], u'rot_set-0-rotkm': [u''], u'_save': [u'Save'], u'rot_set-__prefix__-rotto': [u''], u'rot_set-0-rottimemnt': [u''], u'rot_set-3-rotprice': [u''], u'rot_set-2-rotlin': [u'40'], u'rot_set-0-rotisactive': [u'on'], u'rot_set-__prefix__-rotisactive': [u'on'], u'rot_set-4-rotisactive': [u'on'], u'rot_set-__prefix__-rotkm': [u''], u'csrfmiddlewaretoken': [u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'], u'rot_set-3-rotfrom': [u'832'], u'rot_set-0-rotto': [u'828'], u'linbsn': [u'867'], u'rot_set-__prefix__-rotlin': [u'40'], u'rot_set-4-rottimemnt': [u''], u'rot_set-2-rotisactive': [u'on'], u'rot_set-2-rotfrom': [u'829'], u'rot_set-4-rotkm': [u''], u'rot_set-4-rotto': [u'831'], u'rot_set-INITIAL_FORMS': [u'5'], u'rot_set-1-rotprice': [u''], u'rot_set-3-rotlin': [u'40'], u'rot_set-4-rotprice': [u''], u'rot_set-0-rotprice': [u''], u'rot_set-__prefix__-rottimemnt': [u''], u'rot_set-4-rotfrom': [u'830'], u'rot_set-3-rotkm': [u''], u'rot_set-TOTAL_FORMS': [u'5'], u'rot_set-3-rotisactive': [u'on'], u'rot_set-1-rottimemnt': [u''], u'rot_set-1-rotfrom': [u'828'], u'rot_set-2-rotprice': [u''], u'rot_set-3-rotto': [u'830'], u'rot_set-1-rotlin': [u'40'], u'rot_set-4-rotlin': [u'40']}>,\nCOOKIES:{'csrftoken': 'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd',\n 'sessionid': 'b294a764b7bad938401f98691c0d8d3d'},\nMETA:{'ALLUSERSPROFILE': 'C:\\\\ProgramData',\n 'APPDATA': 'C:\\\\Users\\\\adampahlevi\\\\AppData\\\\Roaming',\n 'COMMONPROGRAMFILES': 'C:\\\\Program Files (x86)\\\\Common Files',\n 'COMMONPROGRAMFILES(X86)': 'C:\\\\Program Files (x86)\\\\Common Files',\n 'COMMONPROGRAMW6432': 'C:\\\\Program Files\\\\Common Files',\n 'COMPUTERNAME': 'ADAMPAHLEVID59C',\n 'COMSPEC': 'C:\\\\Windows\\\\system32\\\\cmd.exe',\n 'CONTENT_LENGTH': '5296',\n 'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------3001650601650',\n 'CSRF_COOKIE': 'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd',\n 'DJANGO_SETTINGS_MODULE': 'levipy.settings',\n 'FP_NO_HOST_CHECK': 'NO',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HOMEDRIVE': 'C:',\n 'HOMEPATH': '\\\\Users\\\\adampahlevi',\n 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',\n 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',\n 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5',\n 'HTTP_CONNECTION': 'keep-alive',\n 'HTTP_COOKIE': 'csrftoken=C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd; sessionid=b294a764b7bad938401f98691c0d8d3d',\n 'HTTP_HOST': '127.0.0.1:8000',\n 'HTTP_REFERER': 'http://127.0.0.1:8000/admin/levi/lin/40/',\n 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0',\n 'LOCALAPPDATA': 'C:\\\\Users\\\\adampahlevi\\\\AppData\\\\Local',\n 'LOGONSERVER': '\\\\\\\\ADAMPAHLEVID59C',\n 'NUMBER_OF_PROCESSORS': '1',\n 'OS': 'Windows_NT',\n 'PATH': 'C:\\\\Program Files (x86)\\\\JetBrains\\\\PyCharm 2.7.3\\\\bin\\\\..\\\\.\\\\bin;C:\\\\Python27\\\\;C:\\\\Python27\\\\Scripts;C:\\\\Python32\\\\;C:\\\\Python32\\\\Scripts;C:\\\\Program Files (x86)\\\\Parallels\\\\Parallels Tools\\\\Applications;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Program Files (x86)\\\\Windows Kits\\\\8.0\\\\Windows Performance Toolkit\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Python33;C:\\\\Python33\\\\Scripts;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\ManagementStudio\\\\;C:\\\\Program Files\\\\Microsoft\\\\Web Platform Installer\\\\;C:\\\\Program Files (x86)\\\\Microsoft ASP.NET\\\\ASP.NET Web Pages\\\\v1.0\\\\;C:\\\\Python27\\\\;C:\\\\Python27\\\\Scripts;C:\\\\Python32\\\\;C:\\\\Python32\\\\Scripts;C:\\\\Program Files (x86)\\\\Parallels\\\\Parallels Tools\\\\Applications;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Program Files (x86)\\\\Windows Kits\\\\8.0\\\\Windows Performance Toolkit\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Python33;C:\\\\Python33\\\\Scripts;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\ManagementStudio\\\\;C:\\\\Program Files\\\\Microsoft\\\\Web Platform Installer\\\\;C:\\\\Program Files (x86)\\\\Microsoft ASP.NET\\\\ASP.NET Web Pages\\\\v1.0\\\\;C:\\\\Users\\\\adampahlevi\\\\AppData\\\\Roaming\\\\Python\\\\Scripts;c:\\\\program files (x86)\\\\jetbrains\\\\pycharm 2.7.3\\\\jre\\\\jre\\\\bin',\n 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py;.pyw',\n 'PATH_INFO': u'/admin/levi/lin/40/',\n 'PROCESSOR_ARCHITECTURE': 'x86',\n 'PROCESSOR_ARCHITEW6432': 'AMD64',\n 'PROCESSOR_IDENTIFIER': 'Intel64 Family 6 Model 58 Stepping 9, GenuineIntel',\n 'PROCESSOR_LEVEL': '6',\n 'PROCESSOR_REVISION': '3a09',\n 'PROGRAMDATA': 'C:\\\\ProgramData',\n 'PROGRAMFILES': 'C:\\\\Program Files (x86)',\n 'PROGRAMFILES(X86)': 'C:\\\\Program Files (x86)',\n 'PROGRAMW6432': 'C:\\\\Program Files',\n 'PSMODULEPATH': 'C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\PowerShell\\\\Modules\\\\',\n 'PUBLIC': 'C:\\\\Users\\\\Public',\n 'PYCHARM_HOSTED': '1',\n 'PYTHONIOENCODING': 'UTF-8',\n 'PYTHONPATH': 'Z:\\\\Documents\\\\prolog\\\\django\\\\levipy',\n 'PYTHONUNBUFFERED': '1',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '127.0.0.1',\n 'REMOTE_HOST': '',\n 'REQUEST_METHOD': 'POST',\n 'RUN_MAIN': 'true',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'ADAMPAHLEVID59C',\n 'SERVER_PORT': '8000',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.2',\n 'SESSIONNAME': 'Console',\n 'SYSTEMDRIVE': 'C:',\n 'SYSTEMROOT': 'C:\\\\Windows',\n 'TEMP': 'C:\\\\Users\\\\ADAMPA~1\\\\AppData\\\\Local\\\\Temp',\n 'TMP': 'C:\\\\Users\\\\ADAMPA~1\\\\AppData\\\\Local\\\\Temp',\n 'USERDOMAIN': 'ADAMPAHLEVID59C',\n 'USERDOMAIN_ROAMINGPROFILE': 'ADAMPAHLEVID59C',\n 'USERNAME': 'adampahlevi',\n 'USERPROFILE': 'C:\\\\Users\\\\adampahlevi',\n 'VS110COMNTOOLS': 'C:\\\\Program Files (x86)\\\\Microsoft Visual Studio 11.0\\\\Common7\\\\Tools\\\\',\n 'WINDIR': 'C:\\\\Windows',\n 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x01E250D0>,\n 'wsgi.file_wrapper': <class wsgiref.util.FileWrapper at 0x02B5CEA0>,\n 'wsgi.input': <socket._fileobject object at 0x02FE8B30>,\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>
|
|---|
| 600 | </tr>
|
|---|
| 601 |
|
|---|
| 602 | <tr>
|
|---|
| 603 | <td>view</td>
|
|---|
| 604 | <td class="code"><pre><bound method LinAdmin.change_view of <levi.admin.LinAdmin object at 0x02E8BFF0>></pre></td>
|
|---|
| 605 | </tr>
|
|---|
| 606 |
|
|---|
| 607 | <tr>
|
|---|
| 608 | <td>kwargs</td>
|
|---|
| 609 | <td class="code"><pre>{}</pre></td>
|
|---|
| 610 | </tr>
|
|---|
| 611 |
|
|---|
| 612 | </tbody>
|
|---|
| 613 | </table>
|
|---|
| 614 |
|
|---|
| 615 | </li>
|
|---|
| 616 |
|
|---|
| 617 | <li class="frame django">
|
|---|
| 618 | <code>C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\utils\decorators.py</code> in <code>_wrapper</code>
|
|---|
| 619 |
|
|---|
| 620 |
|
|---|
| 621 | <div class="context" id="c51392424">
|
|---|
| 622 |
|
|---|
| 623 | <ol start="18" class="pre-context" id="pre51392424"><li onclick="toggle('pre51392424', 'post51392424')"><pre> def _wrapper(self, *args, **kwargs):</pre></li><li onclick="toggle('pre51392424', 'post51392424')"><pre> @decorator</pre></li><li onclick="toggle('pre51392424', 'post51392424')"><pre> def bound_func(*args2, **kwargs2):</pre></li><li onclick="toggle('pre51392424', 'post51392424')"><pre> return func(self, *args2, **kwargs2)</pre></li><li onclick="toggle('pre51392424', 'post51392424')"><pre> # bound_func has the signature that 'decorator' expects i.e. no</pre></li><li onclick="toggle('pre51392424', 'post51392424')"><pre> # 'self' argument, but it is a closure over self so it can call</pre></li><li onclick="toggle('pre51392424', 'post51392424')"><pre> # 'func' correctly.</pre></li></ol>
|
|---|
| 624 |
|
|---|
| 625 | <ol start="25" class="context-line"><li onclick="toggle('pre51392424', 'post51392424')"><pre> return bound_func(*args, **kwargs)</pre> <span>...</span></li></ol>
|
|---|
| 626 |
|
|---|
| 627 | <ol start='26' class="post-context" id="post51392424"><li onclick="toggle('pre51392424', 'post51392424')"><pre> # In case 'decorator' adds attributes to the function it decorates, we</pre></li><li onclick="toggle('pre51392424', 'post51392424')"><pre> # want to copy those. We don't have access to bound_func in this scope,</pre></li><li onclick="toggle('pre51392424', 'post51392424')"><pre> # but we can cheat by using it on a dummy function.</pre></li><li onclick="toggle('pre51392424', 'post51392424')"><pre> @decorator</pre></li><li onclick="toggle('pre51392424', 'post51392424')"><pre> def dummy(*args, **kwargs):</pre></li><li onclick="toggle('pre51392424', 'post51392424')"><pre> pass</pre></li></ol>
|
|---|
| 628 |
|
|---|
| 629 | </div>
|
|---|
| 630 |
|
|---|
| 631 |
|
|---|
| 632 |
|
|---|
| 633 | <div class="commands">
|
|---|
| 634 |
|
|---|
| 635 | <a href="#" onclick="return varToggle(this, '51392424')"><span>▶</span> Local vars</a>
|
|---|
| 636 |
|
|---|
| 637 | </div>
|
|---|
| 638 | <table class="vars" id="v51392424">
|
|---|
| 639 | <thead>
|
|---|
| 640 | <tr>
|
|---|
| 641 | <th>Variable</th>
|
|---|
| 642 | <th>Value</th>
|
|---|
| 643 | </tr>
|
|---|
| 644 | </thead>
|
|---|
| 645 | <tbody>
|
|---|
| 646 |
|
|---|
| 647 | <tr>
|
|---|
| 648 | <td>self</td>
|
|---|
| 649 | <td class="code"><pre><levi.admin.LinAdmin object at 0x02E8BFF0></pre></td>
|
|---|
| 650 | </tr>
|
|---|
| 651 |
|
|---|
| 652 | <tr>
|
|---|
| 653 | <td>args</td>
|
|---|
| 654 | <td class="code"><pre>(<WSGIRequest
|
|---|
| 655 | path:/admin/levi/lin/40/,
|
|---|
| 656 | GET:<QueryDict: {}>,
|
|---|
| 657 | POST:<QueryDict: {u'rot_set-1-rotto': [u'829'], u'rot_set-2-rotkm': [u''], u'rot_set-__prefix__-rotprice': [u''], u'rot_set-0-rotlin': [u'40'], u'rot_set-MAX_NUM_FORMS': [u''], u'rot_set-0-rotfrom': [u''], u'rot_set-1-rotisactive': [u'on'], u'rot_set-3-rottimemnt': [u''], u'rot_set-2-rotto': [u'832'], u'rot_set-__prefix__-rotfrom': [u''], u'rot_set-2-rottimemnt': [u''], u'rot_set-1-rotkm': [u''], u'rot_set-0-rotkm': [u''], u'_save': [u'Save'], u'rot_set-__prefix__-rotto': [u''], u'rot_set-0-rottimemnt': [u''], u'rot_set-3-rotprice': [u''], u'rot_set-2-rotlin': [u'40'], u'rot_set-0-rotisactive': [u'on'], u'rot_set-__prefix__-rotisactive': [u'on'], u'rot_set-4-rotisactive': [u'on'], u'rot_set-__prefix__-rotkm': [u''], u'csrfmiddlewaretoken': [u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'], u'rot_set-3-rotfrom': [u'832'], u'rot_set-0-rotto': [u'828'], u'linbsn': [u'867'], u'rot_set-__prefix__-rotlin': [u'40'], u'rot_set-4-rottimemnt': [u''], u'rot_set-2-rotisactive': [u'on'], u'rot_set-2-rotfrom': [u'829'], u'rot_set-4-rotkm': [u''], u'rot_set-4-rotto': [u'831'], u'rot_set-INITIAL_FORMS': [u'5'], u'rot_set-1-rotprice': [u''], u'rot_set-3-rotlin': [u'40'], u'rot_set-4-rotprice': [u''], u'rot_set-0-rotprice': [u''], u'rot_set-__prefix__-rottimemnt': [u''], u'rot_set-4-rotfrom': [u'830'], u'rot_set-3-rotkm': [u''], u'rot_set-TOTAL_FORMS': [u'5'], u'rot_set-3-rotisactive': [u'on'], u'rot_set-1-rottimemnt': [u''], u'rot_set-1-rotfrom': [u'828'], u'rot_set-2-rotprice': [u''], u'rot_set-3-rotto': [u'830'], u'rot_set-1-rotlin': [u'40'], u'rot_set-4-rotlin': [u'40']}>,
|
|---|
| 658 | COOKIES:{'csrftoken': 'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd',
|
|---|
| 659 | 'sessionid': 'b294a764b7bad938401f98691c0d8d3d'},
|
|---|
| 660 | META:{'ALLUSERSPROFILE': 'C:\\ProgramData',
|
|---|
| 661 | 'APPDATA': 'C:\\Users\\adampahlevi\\AppData\\Roaming',
|
|---|
| 662 | 'COMMONPROGRAMFILES': 'C:\\Program Files (x86)\\Common Files',
|
|---|
| 663 | 'COMMONPROGRAMFILES(X86)': 'C:\\Program Files (x86)\\Common Files',
|
|---|
| 664 | 'COMMONPROGRAMW6432': 'C:\\Program Files\\Common Files',
|
|---|
| 665 | 'COMPUTERNAME': 'ADAMPAHLEVID59C',
|
|---|
| 666 | 'COMSPEC': 'C:\\Windows\\system32\\cmd.exe',
|
|---|
| 667 | 'CONTENT_LENGTH': '5296',
|
|---|
| 668 | 'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------3001650601650',
|
|---|
| 669 | 'CSRF_COOKIE': 'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd',
|
|---|
| 670 | 'DJANGO_SETTINGS_MODULE': 'levipy.settings',
|
|---|
| 671 | 'FP_NO_HOST_CHECK': 'NO',
|
|---|
| 672 | 'GATEWAY_INTERFACE': 'CGI/1.1',
|
|---|
| 673 | 'HOMEDRIVE': 'C:',
|
|---|
| 674 | 'HOMEPATH': '\\Users\\adampahlevi',
|
|---|
| 675 | 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
|
|---|
| 676 | 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
|
|---|
| 677 | 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5',
|
|---|
| 678 | 'HTTP_CONNECTION': 'keep-alive',
|
|---|
| 679 | 'HTTP_COOKIE': 'csrftoken=C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd; sessionid=b294a764b7bad938401f98691c0d8d3d',
|
|---|
| 680 | 'HTTP_HOST': '127.0.0.1:8000',
|
|---|
| 681 | 'HTTP_REFERER': 'http://127.0.0.1:8000/admin/levi/lin/40/',
|
|---|
| 682 | 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0',
|
|---|
| 683 | 'LOCALAPPDATA': 'C:\\Users\\adampahlevi\\AppData\\Local',
|
|---|
| 684 | 'LOGONSERVER': '\\\\ADAMPAHLEVID59C',
|
|---|
| 685 | 'NUMBER_OF_PROCESSORS': '1',
|
|---|
| 686 | 'OS': 'Windows_NT',
|
|---|
| 687 | 'PATH': 'C:\\Program Files (x86)\\JetBrains\\PyCharm 2.7.3\\bin\\..\\.\\bin;C:\\Python27\\;C:\\Python27\\Scripts;C:\\Python32\\;C:\\Python32\\Scripts;C:\\Program Files (x86)\\Parallels\\Parallels Tools\\Applications;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Windows Kits\\8.0\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Python33;C:\\Python33\\Scripts;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\ManagementStudio\\;C:\\Program Files\\Microsoft\\Web Platform Installer\\;C:\\Program Files (x86)\\Microsoft ASP.NET\\ASP.NET Web Pages\\v1.0\\;C:\\Python27\\;C:\\Python27\\Scripts;C:\\Python32\\;C:\\Python32\\Scripts;C:\\Program Files (x86)\\Parallels\\Parallels Tools\\Applications;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Windows Kits\\8.0\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Python33;C:\\Python33\\Scripts;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\ManagementStudio\\;C:\\Program Files\\Microsoft\\Web Platform Installer\\;C:\\Program Files (x86)\\Microsoft ASP.NET\\ASP.NET Web Pages\\v1.0\\;C:\\Users\\adampahlevi\\AppData\\Roaming\\Python\\Scripts;c:\\program files (x86)\\jetbrains\\pycharm 2.7.3\\jre\\jre\\bin',
|
|---|
| 688 | 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py;.pyw',
|
|---|
| 689 | 'PATH_INFO': u'/admin/levi/lin/40/',
|
|---|
| 690 | 'PROCESSOR_ARCHITECTURE': 'x86',
|
|---|
| 691 | 'PROCESSOR_ARCHITEW6432': 'AMD64',
|
|---|
| 692 | 'PROCESSOR_IDENTIFIER': 'Intel64 Family 6 Model 58 Stepping 9, GenuineIntel',
|
|---|
| 693 | 'PROCESSOR_LEVEL': '6',
|
|---|
| 694 | 'PROCESSOR_REVISION': '3a09',
|
|---|
| 695 | 'PROGRAMDATA': 'C:\\ProgramData',
|
|---|
| 696 | 'PROGRAMFILES': 'C:\\Program Files (x86)',
|
|---|
| 697 | 'PROGRAMFILES(X86)': 'C:\\Program Files (x86)',
|
|---|
| 698 | 'PROGRAMW6432': 'C:\\Program Files',
|
|---|
| 699 | 'PSMODULEPATH': 'C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\PowerShell\\Modules\\',
|
|---|
| 700 | 'PUBLIC': 'C:\\Users\\Public',
|
|---|
| 701 | 'PYCHARM_HOSTED': '1',
|
|---|
| 702 | 'PYTHONIOENCODING': 'UTF-8',
|
|---|
| 703 | 'PYTHONPATH': 'Z:\\Documents\\prolog\\django\\levipy',
|
|---|
| 704 | 'PYTHONUNBUFFERED': '1',
|
|---|
| 705 | 'QUERY_STRING': '',
|
|---|
| 706 | 'REMOTE_ADDR': '127.0.0.1',
|
|---|
| 707 | 'REMOTE_HOST': '',
|
|---|
| 708 | 'REQUEST_METHOD': 'POST',
|
|---|
| 709 | 'RUN_MAIN': 'true',
|
|---|
| 710 | 'SCRIPT_NAME': u'',
|
|---|
| 711 | 'SERVER_NAME': 'ADAMPAHLEVID59C',
|
|---|
| 712 | 'SERVER_PORT': '8000',
|
|---|
| 713 | 'SERVER_PROTOCOL': 'HTTP/1.1',
|
|---|
| 714 | 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.2',
|
|---|
| 715 | 'SESSIONNAME': 'Console',
|
|---|
| 716 | 'SYSTEMDRIVE': 'C:',
|
|---|
| 717 | 'SYSTEMROOT': 'C:\\Windows',
|
|---|
| 718 | 'TEMP': 'C:\\Users\\ADAMPA~1\\AppData\\Local\\Temp',
|
|---|
| 719 | 'TMP': 'C:\\Users\\ADAMPA~1\\AppData\\Local\\Temp',
|
|---|
| 720 | 'USERDOMAIN': 'ADAMPAHLEVID59C',
|
|---|
| 721 | 'USERDOMAIN_ROAMINGPROFILE': 'ADAMPAHLEVID59C',
|
|---|
| 722 | 'USERNAME': 'adampahlevi',
|
|---|
| 723 | 'USERPROFILE': 'C:\\Users\\adampahlevi',
|
|---|
| 724 | 'VS110COMNTOOLS': 'C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\Common7\\Tools\\',
|
|---|
| 725 | 'WINDIR': 'C:\\Windows',
|
|---|
| 726 | 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x01E250D0>,
|
|---|
| 727 | 'wsgi.file_wrapper': <class wsgiref.util.FileWrapper at 0x02B5CEA0>,
|
|---|
| 728 | 'wsgi.input': <socket._fileobject object at 0x02FE8B30>,
|
|---|
| 729 | 'wsgi.multiprocess': False,
|
|---|
| 730 | 'wsgi.multithread': True,
|
|---|
| 731 | 'wsgi.run_once': False,
|
|---|
| 732 | 'wsgi.url_scheme': 'http',
|
|---|
| 733 | 'wsgi.version': (1, 0)}>,
|
|---|
| 734 | u'40')</pre></td>
|
|---|
| 735 | </tr>
|
|---|
| 736 |
|
|---|
| 737 | <tr>
|
|---|
| 738 | <td>bound_func</td>
|
|---|
| 739 | <td class="code"><pre><function bound_func at 0x030F1CB0></pre></td>
|
|---|
| 740 | </tr>
|
|---|
| 741 |
|
|---|
| 742 | <tr>
|
|---|
| 743 | <td>func</td>
|
|---|
| 744 | <td class="code"><pre><function change_view at 0x02E1C1B0></pre></td>
|
|---|
| 745 | </tr>
|
|---|
| 746 |
|
|---|
| 747 | <tr>
|
|---|
| 748 | <td>kwargs</td>
|
|---|
| 749 | <td class="code"><pre>{}</pre></td>
|
|---|
| 750 | </tr>
|
|---|
| 751 |
|
|---|
| 752 | <tr>
|
|---|
| 753 | <td>decorator</td>
|
|---|
| 754 | <td class="code"><pre><function csrf_protect at 0x02E15230></pre></td>
|
|---|
| 755 | </tr>
|
|---|
| 756 |
|
|---|
| 757 | </tbody>
|
|---|
| 758 | </table>
|
|---|
| 759 |
|
|---|
| 760 | </li>
|
|---|
| 761 |
|
|---|
| 762 | <li class="frame django">
|
|---|
| 763 | <code>C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\utils\decorators.py</code> in <code>_wrapped_view</code>
|
|---|
| 764 |
|
|---|
| 765 |
|
|---|
| 766 | <div class="context" id="c51850456">
|
|---|
| 767 |
|
|---|
| 768 | <ol start="84" class="pre-context" id="pre51850456"><li onclick="toggle('pre51850456', 'post51850456')"><pre> if result is not None:</pre></li><li onclick="toggle('pre51850456', 'post51850456')"><pre> return result</pre></li><li onclick="toggle('pre51850456', 'post51850456')"><pre> if hasattr(middleware, 'process_view'):</pre></li><li onclick="toggle('pre51850456', 'post51850456')"><pre> result = middleware.process_view(request, view_func, args, kwargs)</pre></li><li onclick="toggle('pre51850456', 'post51850456')"><pre> if result is not None:</pre></li><li onclick="toggle('pre51850456', 'post51850456')"><pre> return result</pre></li><li onclick="toggle('pre51850456', 'post51850456')"><pre> try:</pre></li></ol>
|
|---|
| 769 |
|
|---|
| 770 | <ol start="91" class="context-line"><li onclick="toggle('pre51850456', 'post51850456')"><pre> response = view_func(request, *args, **kwargs)</pre> <span>...</span></li></ol>
|
|---|
| 771 |
|
|---|
| 772 | <ol start='92' class="post-context" id="post51850456"><li onclick="toggle('pre51850456', 'post51850456')"><pre> except Exception, e:</pre></li><li onclick="toggle('pre51850456', 'post51850456')"><pre> if hasattr(middleware, 'process_exception'):</pre></li><li onclick="toggle('pre51850456', 'post51850456')"><pre> result = middleware.process_exception(request, e)</pre></li><li onclick="toggle('pre51850456', 'post51850456')"><pre> if result is not None:</pre></li><li onclick="toggle('pre51850456', 'post51850456')"><pre> return result</pre></li><li onclick="toggle('pre51850456', 'post51850456')"><pre> raise</pre></li></ol>
|
|---|
| 773 |
|
|---|
| 774 | </div>
|
|---|
| 775 |
|
|---|
| 776 |
|
|---|
| 777 |
|
|---|
| 778 | <div class="commands">
|
|---|
| 779 |
|
|---|
| 780 | <a href="#" onclick="return varToggle(this, '51850456')"><span>▶</span> Local vars</a>
|
|---|
| 781 |
|
|---|
| 782 | </div>
|
|---|
| 783 | <table class="vars" id="v51850456">
|
|---|
| 784 | <thead>
|
|---|
| 785 | <tr>
|
|---|
| 786 | <th>Variable</th>
|
|---|
| 787 | <th>Value</th>
|
|---|
| 788 | </tr>
|
|---|
| 789 | </thead>
|
|---|
| 790 | <tbody>
|
|---|
| 791 |
|
|---|
| 792 | <tr>
|
|---|
| 793 | <td>e</td>
|
|---|
| 794 | <td class="code"><pre>MultiValueDictKeyError("Key 'rot_set-0-rotid' not found in <QueryDict: {u'rot_set-1-rotto': [u'829'], u'rot_set-2-rotkm': [u''], u'rot_set-__prefix__-rotprice': [u''], u'rot_set-0-rotlin': [u'40'], u'rot_set-MAX_NUM_FORMS': [u''], u'rot_set-0-rotfrom': [u''], u'rot_set-1-rotisactive': [u'on'], u'rot_set-3-rottimemnt': [u''], u'rot_set-2-rotto': [u'832'], u'rot_set-__prefix__-rotfrom': [u''], u'rot_set-2-rottimemnt': [u''], u'rot_set-1-rotkm': [u''], u'rot_set-0-rotkm': [u''], u'_save': [u'Save'], u'rot_set-__prefix__-rotto': [u''], u'rot_set-0-rottimemnt': [u''], u'rot_set-3-rotprice': [u''], u'rot_set-2-rotlin': [u'40'], u'rot_set-0-rotisactive': [u'on'], u'rot_set-__prefix__-rotisactive': [u'on'], u'rot_set-4-rotisactive': [u'on'], u'rot_set-__prefix__-rotkm': [u''], u'csrfmiddlewaretoken': [u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'], u'rot_set-3-rotfrom': [u'832'], u'rot_set-0-rotto': [u'828'], u'linbsn': [u'867'], u'rot_set-__prefix__-rotlin': [u'40'], u'rot_set-4-rottimemnt': [u''], u'rot_set-2-rotisactive': [u'on'], u'rot_set-2-rotfrom': [u'829'], u'rot_set-4-rotkm': [u''], u'rot_set-4-rotto': [u'831'], u'rot_set-INITIAL_FORMS': [u'5'], u'rot_set-1-rotprice': [u''], u'rot_set-3-rotlin': [u'40'], u'rot_set-4-rotprice': [u''], u'rot_set-0-rotprice': [u''], u'rot_set-__prefix__-rottimemnt': [u''], u'rot_set-4-rotfrom': [u'830'], u'rot_set-3-rotkm': [u''], u'rot_set-TOTAL_FORMS': [u'5'], u'rot_set-3-rotisactive': [u'on'], u'rot_set-1-rottimemnt': [u''], u'rot_set-1-rotfrom': [u'828'], u'rot_set-2-rotprice': [u''], u'rot_set-3-rotto': [u'830'], u'rot_set-1-rotlin': [u'40'], u'rot_set-4-rotlin': [u'40']}>",)</pre></td>
|
|---|
| 795 | </tr>
|
|---|
| 796 |
|
|---|
| 797 | <tr>
|
|---|
| 798 | <td>middleware</td>
|
|---|
| 799 | <td class="code"><pre><django.middleware.csrf.CsrfViewMiddleware object at 0x02E0EDF0></pre></td>
|
|---|
| 800 | </tr>
|
|---|
| 801 |
|
|---|
| 802 | <tr>
|
|---|
| 803 | <td>args</td>
|
|---|
| 804 | <td class="code"><pre>(u'40',)</pre></td>
|
|---|
| 805 | </tr>
|
|---|
| 806 |
|
|---|
| 807 | <tr>
|
|---|
| 808 | <td>request</td>
|
|---|
| 809 | <td class="code"><pre>"<WSGIRequest\npath:/admin/levi/lin/40/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {u'rot_set-1-rotto': [u'829'], u'rot_set-2-rotkm': [u''], u'rot_set-__prefix__-rotprice': [u''], u'rot_set-0-rotlin': [u'40'], u'rot_set-MAX_NUM_FORMS': [u''], u'rot_set-0-rotfrom': [u''], u'rot_set-1-rotisactive': [u'on'], u'rot_set-3-rottimemnt': [u''], u'rot_set-2-rotto': [u'832'], u'rot_set-__prefix__-rotfrom': [u''], u'rot_set-2-rottimemnt': [u''], u'rot_set-1-rotkm': [u''], u'rot_set-0-rotkm': [u''], u'_save': [u'Save'], u'rot_set-__prefix__-rotto': [u''], u'rot_set-0-rottimemnt': [u''], u'rot_set-3-rotprice': [u''], u'rot_set-2-rotlin': [u'40'], u'rot_set-0-rotisactive': [u'on'], u'rot_set-__prefix__-rotisactive': [u'on'], u'rot_set-4-rotisactive': [u'on'], u'rot_set-__prefix__-rotkm': [u''], u'csrfmiddlewaretoken': [u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'], u'rot_set-3-rotfrom': [u'832'], u'rot_set-0-rotto': [u'828'], u'linbsn': [u'867'], u'rot_set-__prefix__-rotlin': [u'40'], u'rot_set-4-rottimemnt': [u''], u'rot_set-2-rotisactive': [u'on'], u'rot_set-2-rotfrom': [u'829'], u'rot_set-4-rotkm': [u''], u'rot_set-4-rotto': [u'831'], u'rot_set-INITIAL_FORMS': [u'5'], u'rot_set-1-rotprice': [u''], u'rot_set-3-rotlin': [u'40'], u'rot_set-4-rotprice': [u''], u'rot_set-0-rotprice': [u''], u'rot_set-__prefix__-rottimemnt': [u''], u'rot_set-4-rotfrom': [u'830'], u'rot_set-3-rotkm': [u''], u'rot_set-TOTAL_FORMS': [u'5'], u'rot_set-3-rotisactive': [u'on'], u'rot_set-1-rottimemnt': [u''], u'rot_set-1-rotfrom': [u'828'], u'rot_set-2-rotprice': [u''], u'rot_set-3-rotto': [u'830'], u'rot_set-1-rotlin': [u'40'], u'rot_set-4-rotlin': [u'40']}>,\nCOOKIES:{'csrftoken': 'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd',\n 'sessionid': 'b294a764b7bad938401f98691c0d8d3d'},\nMETA:{'ALLUSERSPROFILE': 'C:\\\\ProgramData',\n 'APPDATA': 'C:\\\\Users\\\\adampahlevi\\\\AppData\\\\Roaming',\n 'COMMONPROGRAMFILES': 'C:\\\\Program Files (x86)\\\\Common Files',\n 'COMMONPROGRAMFILES(X86)': 'C:\\\\Program Files (x86)\\\\Common Files',\n 'COMMONPROGRAMW6432': 'C:\\\\Program Files\\\\Common Files',\n 'COMPUTERNAME': 'ADAMPAHLEVID59C',\n 'COMSPEC': 'C:\\\\Windows\\\\system32\\\\cmd.exe',\n 'CONTENT_LENGTH': '5296',\n 'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------3001650601650',\n 'CSRF_COOKIE': 'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd',\n 'DJANGO_SETTINGS_MODULE': 'levipy.settings',\n 'FP_NO_HOST_CHECK': 'NO',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HOMEDRIVE': 'C:',\n 'HOMEPATH': '\\\\Users\\\\adampahlevi',\n 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',\n 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',\n 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5',\n 'HTTP_CONNECTION': 'keep-alive',\n 'HTTP_COOKIE': 'csrftoken=C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd; sessionid=b294a764b7bad938401f98691c0d8d3d',\n 'HTTP_HOST': '127.0.0.1:8000',\n 'HTTP_REFERER': 'http://127.0.0.1:8000/admin/levi/lin/40/',\n 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0',\n 'LOCALAPPDATA': 'C:\\\\Users\\\\adampahlevi\\\\AppData\\\\Local',\n 'LOGONSERVER': '\\\\\\\\ADAMPAHLEVID59C',\n 'NUMBER_OF_PROCESSORS': '1',\n 'OS': 'Windows_NT',\n 'PATH': 'C:\\\\Program Files (x86)\\\\JetBrains\\\\PyCharm 2.7.3\\\\bin\\\\..\\\\.\\\\bin;C:\\\\Python27\\\\;C:\\\\Python27\\\\Scripts;C:\\\\Python32\\\\;C:\\\\Python32\\\\Scripts;C:\\\\Program Files (x86)\\\\Parallels\\\\Parallels Tools\\\\Applications;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Program Files (x86)\\\\Windows Kits\\\\8.0\\\\Windows Performance Toolkit\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Python33;C:\\\\Python33\\\\Scripts;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\ManagementStudio\\\\;C:\\\\Program Files\\\\Microsoft\\\\Web Platform Installer\\\\;C:\\\\Program Files (x86)\\\\Microsoft ASP.NET\\\\ASP.NET Web Pages\\\\v1.0\\\\;C:\\\\Python27\\\\;C:\\\\Python27\\\\Scripts;C:\\\\Python32\\\\;C:\\\\Python32\\\\Scripts;C:\\\\Program Files (x86)\\\\Parallels\\\\Parallels Tools\\\\Applications;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Program Files (x86)\\\\Windows Kits\\\\8.0\\\\Windows Performance Toolkit\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Python33;C:\\\\Python33\\\\Scripts;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\ManagementStudio\\\\;C:\\\\Program Files\\\\Microsoft\\\\Web Platform Installer\\\\;C:\\\\Program Files (x86)\\\\Microsoft ASP.NET\\\\ASP.NET Web Pages\\\\v1.0\\\\;C:\\\\Users\\\\adampahlevi\\\\AppData\\\\Roaming\\\\Python\\\\Scripts;c:\\\\program files (x86)\\\\jetbrains\\\\pycharm 2.7.3\\\\jre\\\\jre\\\\bin',\n 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py;.pyw',\n 'PATH_INFO': u'/admin/levi/lin/40/',\n 'PROCESSOR_ARCHITECTURE': 'x86',\n 'PROCESSOR_ARCHITEW6432': 'AMD64',\n 'PROCESSOR_IDENTIFIER': 'Intel64 Family 6 Model 58 Stepping 9, GenuineIntel',\n 'PROCESSOR_LEVEL': '6',\n 'PROCESSOR_REVISION': '3a09',\n 'PROGRAMDATA': 'C:\\\\ProgramData',\n 'PROGRAMFILES': 'C:\\\\Program Files (x86)',\n 'PROGRAMFILES(X86)': 'C:\\\\Program Files (x86)',\n 'PROGRAMW6432': 'C:\\\\Program Files',\n 'PSMODULEPATH': 'C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\PowerShell\\\\Modules\\\\',\n 'PUBLIC': 'C:\\\\Users\\\\Public',\n 'PYCHARM_HOSTED': '1',\n 'PYTHONIOENCODING': 'UTF-8',\n 'PYTHONPATH': 'Z:\\\\Documents\\\\prolog\\\\django\\\\levipy',\n 'PYTHONUNBUFFERED': '1',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '127.0.0.1',\n 'REMOTE_HOST': '',\n 'REQUEST_METHOD': 'POST',\n 'RUN_MAIN': 'true',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'ADAMPAHLEVID59C',\n 'SERVER_PORT': '8000',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.2',\n 'SESSIONNAME': 'Console',\n 'SYSTEMDRIVE': 'C:',\n 'SYSTEMROOT': 'C:\\\\Windows',\n 'TEMP': 'C:\\\\Users\\\\ADAMPA~1\\\\AppData\\\\Local\\\\Temp',\n 'TMP': 'C:\\\\Users\\\\ADAMPA~1\\\\AppData\\\\Local\\\\Temp',\n 'USERDOMAIN': 'ADAMPAHLEVID59C',\n 'USERDOMAIN_ROAMINGPROFILE': 'ADAMPAHLEVID59C',\n 'USERNAME': 'adampahlevi',\n 'USERPROFILE': 'C:\\\\Users\\\\adampahlevi',\n 'VS110COMNTOOLS': 'C:\\\\Program Files (x86)\\\\Microsoft Visual Studio 11.0\\\\Common7\\\\Tools\\\\',\n 'WINDIR': 'C:\\\\Windows',\n 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x01E250D0>,\n 'wsgi.file_wrapper': <class wsgiref.util.FileWrapper at 0x02B5CEA0>,\n 'wsgi.input': <socket._fileobject object at 0x02FE8B30>,\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>
|
|---|
| 810 | </tr>
|
|---|
| 811 |
|
|---|
| 812 | <tr>
|
|---|
| 813 | <td>result</td>
|
|---|
| 814 | <td class="code"><pre>None</pre></td>
|
|---|
| 815 | </tr>
|
|---|
| 816 |
|
|---|
| 817 | <tr>
|
|---|
| 818 | <td>kwargs</td>
|
|---|
| 819 | <td class="code"><pre>{}</pre></td>
|
|---|
| 820 | </tr>
|
|---|
| 821 |
|
|---|
| 822 | <tr>
|
|---|
| 823 | <td>view_func</td>
|
|---|
| 824 | <td class="code"><pre><function bound_func at 0x030F16B0></pre></td>
|
|---|
| 825 | </tr>
|
|---|
| 826 |
|
|---|
| 827 | </tbody>
|
|---|
| 828 | </table>
|
|---|
| 829 |
|
|---|
| 830 | </li>
|
|---|
| 831 |
|
|---|
| 832 | <li class="frame django">
|
|---|
| 833 | <code>C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\utils\decorators.py</code> in <code>bound_func</code>
|
|---|
| 834 |
|
|---|
| 835 |
|
|---|
| 836 | <div class="context" id="c51847856">
|
|---|
| 837 |
|
|---|
| 838 | <ol start="14" class="pre-context" id="pre51847856"><li onclick="toggle('pre51847856', 'post51847856')"><pre> """</pre></li><li onclick="toggle('pre51847856', 'post51847856')"><pre> # 'func' is a function at the time it is passed to _dec, but will eventually</pre></li><li onclick="toggle('pre51847856', 'post51847856')"><pre> # be a method of the class it is defined it.</pre></li><li onclick="toggle('pre51847856', 'post51847856')"><pre> def _dec(func):</pre></li><li onclick="toggle('pre51847856', 'post51847856')"><pre> def _wrapper(self, *args, **kwargs):</pre></li><li onclick="toggle('pre51847856', 'post51847856')"><pre> @decorator</pre></li><li onclick="toggle('pre51847856', 'post51847856')"><pre> def bound_func(*args2, **kwargs2):</pre></li></ol>
|
|---|
| 839 |
|
|---|
| 840 | <ol start="21" class="context-line"><li onclick="toggle('pre51847856', 'post51847856')"><pre> return func(self, *args2, **kwargs2)</pre> <span>...</span></li></ol>
|
|---|
| 841 |
|
|---|
| 842 | <ol start='22' class="post-context" id="post51847856"><li onclick="toggle('pre51847856', 'post51847856')"><pre> # bound_func has the signature that 'decorator' expects i.e. no</pre></li><li onclick="toggle('pre51847856', 'post51847856')"><pre> # 'self' argument, but it is a closure over self so it can call</pre></li><li onclick="toggle('pre51847856', 'post51847856')"><pre> # 'func' correctly.</pre></li><li onclick="toggle('pre51847856', 'post51847856')"><pre> return bound_func(*args, **kwargs)</pre></li><li onclick="toggle('pre51847856', 'post51847856')"><pre> # In case 'decorator' adds attributes to the function it decorates, we</pre></li><li onclick="toggle('pre51847856', 'post51847856')"><pre> # want to copy those. We don't have access to bound_func in this scope,</pre></li></ol>
|
|---|
| 843 |
|
|---|
| 844 | </div>
|
|---|
| 845 |
|
|---|
| 846 |
|
|---|
| 847 |
|
|---|
| 848 | <div class="commands">
|
|---|
| 849 |
|
|---|
| 850 | <a href="#" onclick="return varToggle(this, '51847856')"><span>▶</span> Local vars</a>
|
|---|
| 851 |
|
|---|
| 852 | </div>
|
|---|
| 853 | <table class="vars" id="v51847856">
|
|---|
| 854 | <thead>
|
|---|
| 855 | <tr>
|
|---|
| 856 | <th>Variable</th>
|
|---|
| 857 | <th>Value</th>
|
|---|
| 858 | </tr>
|
|---|
| 859 | </thead>
|
|---|
| 860 | <tbody>
|
|---|
| 861 |
|
|---|
| 862 | <tr>
|
|---|
| 863 | <td>args2</td>
|
|---|
| 864 | <td class="code"><pre>(<WSGIRequest
|
|---|
| 865 | path:/admin/levi/lin/40/,
|
|---|
| 866 | GET:<QueryDict: {}>,
|
|---|
| 867 | POST:<QueryDict: {u'rot_set-1-rotto': [u'829'], u'rot_set-2-rotkm': [u''], u'rot_set-__prefix__-rotprice': [u''], u'rot_set-0-rotlin': [u'40'], u'rot_set-MAX_NUM_FORMS': [u''], u'rot_set-0-rotfrom': [u''], u'rot_set-1-rotisactive': [u'on'], u'rot_set-3-rottimemnt': [u''], u'rot_set-2-rotto': [u'832'], u'rot_set-__prefix__-rotfrom': [u''], u'rot_set-2-rottimemnt': [u''], u'rot_set-1-rotkm': [u''], u'rot_set-0-rotkm': [u''], u'_save': [u'Save'], u'rot_set-__prefix__-rotto': [u''], u'rot_set-0-rottimemnt': [u''], u'rot_set-3-rotprice': [u''], u'rot_set-2-rotlin': [u'40'], u'rot_set-0-rotisactive': [u'on'], u'rot_set-__prefix__-rotisactive': [u'on'], u'rot_set-4-rotisactive': [u'on'], u'rot_set-__prefix__-rotkm': [u''], u'csrfmiddlewaretoken': [u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'], u'rot_set-3-rotfrom': [u'832'], u'rot_set-0-rotto': [u'828'], u'linbsn': [u'867'], u'rot_set-__prefix__-rotlin': [u'40'], u'rot_set-4-rottimemnt': [u''], u'rot_set-2-rotisactive': [u'on'], u'rot_set-2-rotfrom': [u'829'], u'rot_set-4-rotkm': [u''], u'rot_set-4-rotto': [u'831'], u'rot_set-INITIAL_FORMS': [u'5'], u'rot_set-1-rotprice': [u''], u'rot_set-3-rotlin': [u'40'], u'rot_set-4-rotprice': [u''], u'rot_set-0-rotprice': [u''], u'rot_set-__prefix__-rottimemnt': [u''], u'rot_set-4-rotfrom': [u'830'], u'rot_set-3-rotkm': [u''], u'rot_set-TOTAL_FORMS': [u'5'], u'rot_set-3-rotisactive': [u'on'], u'rot_set-1-rottimemnt': [u''], u'rot_set-1-rotfrom': [u'828'], u'rot_set-2-rotprice': [u''], u'rot_set-3-rotto': [u'830'], u'rot_set-1-rotlin': [u'40'], u'rot_set-4-rotlin': [u'40']}>,
|
|---|
| 868 | COOKIES:{'csrftoken': 'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd',
|
|---|
| 869 | 'sessionid': 'b294a764b7bad938401f98691c0d8d3d'},
|
|---|
| 870 | META:{'ALLUSERSPROFILE': 'C:\\ProgramData',
|
|---|
| 871 | 'APPDATA': 'C:\\Users\\adampahlevi\\AppData\\Roaming',
|
|---|
| 872 | 'COMMONPROGRAMFILES': 'C:\\Program Files (x86)\\Common Files',
|
|---|
| 873 | 'COMMONPROGRAMFILES(X86)': 'C:\\Program Files (x86)\\Common Files',
|
|---|
| 874 | 'COMMONPROGRAMW6432': 'C:\\Program Files\\Common Files',
|
|---|
| 875 | 'COMPUTERNAME': 'ADAMPAHLEVID59C',
|
|---|
| 876 | 'COMSPEC': 'C:\\Windows\\system32\\cmd.exe',
|
|---|
| 877 | 'CONTENT_LENGTH': '5296',
|
|---|
| 878 | 'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------3001650601650',
|
|---|
| 879 | 'CSRF_COOKIE': 'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd',
|
|---|
| 880 | 'DJANGO_SETTINGS_MODULE': 'levipy.settings',
|
|---|
| 881 | 'FP_NO_HOST_CHECK': 'NO',
|
|---|
| 882 | 'GATEWAY_INTERFACE': 'CGI/1.1',
|
|---|
| 883 | 'HOMEDRIVE': 'C:',
|
|---|
| 884 | 'HOMEPATH': '\\Users\\adampahlevi',
|
|---|
| 885 | 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
|
|---|
| 886 | 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
|
|---|
| 887 | 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5',
|
|---|
| 888 | 'HTTP_CONNECTION': 'keep-alive',
|
|---|
| 889 | 'HTTP_COOKIE': 'csrftoken=C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd; sessionid=b294a764b7bad938401f98691c0d8d3d',
|
|---|
| 890 | 'HTTP_HOST': '127.0.0.1:8000',
|
|---|
| 891 | 'HTTP_REFERER': 'http://127.0.0.1:8000/admin/levi/lin/40/',
|
|---|
| 892 | 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0',
|
|---|
| 893 | 'LOCALAPPDATA': 'C:\\Users\\adampahlevi\\AppData\\Local',
|
|---|
| 894 | 'LOGONSERVER': '\\\\ADAMPAHLEVID59C',
|
|---|
| 895 | 'NUMBER_OF_PROCESSORS': '1',
|
|---|
| 896 | 'OS': 'Windows_NT',
|
|---|
| 897 | 'PATH': 'C:\\Program Files (x86)\\JetBrains\\PyCharm 2.7.3\\bin\\..\\.\\bin;C:\\Python27\\;C:\\Python27\\Scripts;C:\\Python32\\;C:\\Python32\\Scripts;C:\\Program Files (x86)\\Parallels\\Parallels Tools\\Applications;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Windows Kits\\8.0\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Python33;C:\\Python33\\Scripts;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\ManagementStudio\\;C:\\Program Files\\Microsoft\\Web Platform Installer\\;C:\\Program Files (x86)\\Microsoft ASP.NET\\ASP.NET Web Pages\\v1.0\\;C:\\Python27\\;C:\\Python27\\Scripts;C:\\Python32\\;C:\\Python32\\Scripts;C:\\Program Files (x86)\\Parallels\\Parallels Tools\\Applications;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Windows Kits\\8.0\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Python33;C:\\Python33\\Scripts;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\ManagementStudio\\;C:\\Program Files\\Microsoft\\Web Platform Installer\\;C:\\Program Files (x86)\\Microsoft ASP.NET\\ASP.NET Web Pages\\v1.0\\;C:\\Users\\adampahlevi\\AppData\\Roaming\\Python\\Scripts;c:\\program files (x86)\\jetbrains\\pycharm 2.7.3\\jre\\jre\\bin',
|
|---|
| 898 | 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py;.pyw',
|
|---|
| 899 | 'PATH_INFO': u'/admin/levi/lin/40/',
|
|---|
| 900 | 'PROCESSOR_ARCHITECTURE': 'x86',
|
|---|
| 901 | 'PROCESSOR_ARCHITEW6432': 'AMD64',
|
|---|
| 902 | 'PROCESSOR_IDENTIFIER': 'Intel64 Family 6 Model 58 Stepping 9, GenuineIntel',
|
|---|
| 903 | 'PROCESSOR_LEVEL': '6',
|
|---|
| 904 | 'PROCESSOR_REVISION': '3a09',
|
|---|
| 905 | 'PROGRAMDATA': 'C:\\ProgramData',
|
|---|
| 906 | 'PROGRAMFILES': 'C:\\Program Files (x86)',
|
|---|
| 907 | 'PROGRAMFILES(X86)': 'C:\\Program Files (x86)',
|
|---|
| 908 | 'PROGRAMW6432': 'C:\\Program Files',
|
|---|
| 909 | 'PSMODULEPATH': 'C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\PowerShell\\Modules\\',
|
|---|
| 910 | 'PUBLIC': 'C:\\Users\\Public',
|
|---|
| 911 | 'PYCHARM_HOSTED': '1',
|
|---|
| 912 | 'PYTHONIOENCODING': 'UTF-8',
|
|---|
| 913 | 'PYTHONPATH': 'Z:\\Documents\\prolog\\django\\levipy',
|
|---|
| 914 | 'PYTHONUNBUFFERED': '1',
|
|---|
| 915 | 'QUERY_STRING': '',
|
|---|
| 916 | 'REMOTE_ADDR': '127.0.0.1',
|
|---|
| 917 | 'REMOTE_HOST': '',
|
|---|
| 918 | 'REQUEST_METHOD': 'POST',
|
|---|
| 919 | 'RUN_MAIN': 'true',
|
|---|
| 920 | 'SCRIPT_NAME': u'',
|
|---|
| 921 | 'SERVER_NAME': 'ADAMPAHLEVID59C',
|
|---|
| 922 | 'SERVER_PORT': '8000',
|
|---|
| 923 | 'SERVER_PROTOCOL': 'HTTP/1.1',
|
|---|
| 924 | 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.2',
|
|---|
| 925 | 'SESSIONNAME': 'Console',
|
|---|
| 926 | 'SYSTEMDRIVE': 'C:',
|
|---|
| 927 | 'SYSTEMROOT': 'C:\\Windows',
|
|---|
| 928 | 'TEMP': 'C:\\Users\\ADAMPA~1\\AppData\\Local\\Temp',
|
|---|
| 929 | 'TMP': 'C:\\Users\\ADAMPA~1\\AppData\\Local\\Temp',
|
|---|
| 930 | 'USERDOMAIN': 'ADAMPAHLEVID59C',
|
|---|
| 931 | 'USERDOMAIN_ROAMINGPROFILE': 'ADAMPAHLEVID59C',
|
|---|
| 932 | 'USERNAME': 'adampahlevi',
|
|---|
| 933 | 'USERPROFILE': 'C:\\Users\\adampahlevi',
|
|---|
| 934 | 'VS110COMNTOOLS': 'C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\Common7\\Tools\\',
|
|---|
| 935 | 'WINDIR': 'C:\\Windows',
|
|---|
| 936 | 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x01E250D0>,
|
|---|
| 937 | 'wsgi.file_wrapper': <class wsgiref.util.FileWrapper at 0x02B5CEA0>,
|
|---|
| 938 | 'wsgi.input': <socket._fileobject object at 0x02FE8B30>,
|
|---|
| 939 | 'wsgi.multiprocess': False,
|
|---|
| 940 | 'wsgi.multithread': True,
|
|---|
| 941 | 'wsgi.run_once': False,
|
|---|
| 942 | 'wsgi.url_scheme': 'http',
|
|---|
| 943 | 'wsgi.version': (1, 0)}>,
|
|---|
| 944 | u'40')</pre></td>
|
|---|
| 945 | </tr>
|
|---|
| 946 |
|
|---|
| 947 | <tr>
|
|---|
| 948 | <td>func</td>
|
|---|
| 949 | <td class="code"><pre><function change_view at 0x02E1C1B0></pre></td>
|
|---|
| 950 | </tr>
|
|---|
| 951 |
|
|---|
| 952 | <tr>
|
|---|
| 953 | <td>self</td>
|
|---|
| 954 | <td class="code"><pre><levi.admin.LinAdmin object at 0x02E8BFF0></pre></td>
|
|---|
| 955 | </tr>
|
|---|
| 956 |
|
|---|
| 957 | <tr>
|
|---|
| 958 | <td>kwargs2</td>
|
|---|
| 959 | <td class="code"><pre>{}</pre></td>
|
|---|
| 960 | </tr>
|
|---|
| 961 |
|
|---|
| 962 | </tbody>
|
|---|
| 963 | </table>
|
|---|
| 964 |
|
|---|
| 965 | </li>
|
|---|
| 966 |
|
|---|
| 967 | <li class="frame django">
|
|---|
| 968 | <code>C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\db\transaction.py</code> in <code>inner</code>
|
|---|
| 969 |
|
|---|
| 970 |
|
|---|
| 971 | <div class="context" id="c51850656">
|
|---|
| 972 |
|
|---|
| 973 | <ol start="202" class="pre-context" id="pre51850656"><li onclick="toggle('pre51850656', 'post51850656')"><pre> def __exit__(self, exc_type, exc_value, traceback):</pre></li><li onclick="toggle('pre51850656', 'post51850656')"><pre> self.exiting(exc_value, self.using)</pre></li><li onclick="toggle('pre51850656', 'post51850656')"><pre></pre></li><li onclick="toggle('pre51850656', 'post51850656')"><pre> def __call__(self, func):</pre></li><li onclick="toggle('pre51850656', 'post51850656')"><pre> @wraps(func)</pre></li><li onclick="toggle('pre51850656', 'post51850656')"><pre> def inner(*args, **kwargs):</pre></li><li onclick="toggle('pre51850656', 'post51850656')"><pre> with self:</pre></li></ol>
|
|---|
| 974 |
|
|---|
| 975 | <ol start="209" class="context-line"><li onclick="toggle('pre51850656', 'post51850656')"><pre> return func(*args, **kwargs)</pre> <span>...</span></li></ol>
|
|---|
| 976 |
|
|---|
| 977 | <ol start='210' class="post-context" id="post51850656"><li onclick="toggle('pre51850656', 'post51850656')"><pre> return inner</pre></li><li onclick="toggle('pre51850656', 'post51850656')"><pre></pre></li><li onclick="toggle('pre51850656', 'post51850656')"><pre>def _transaction_func(entering, exiting, using):</pre></li><li onclick="toggle('pre51850656', 'post51850656')"><pre> """</pre></li><li onclick="toggle('pre51850656', 'post51850656')"><pre> Takes 3 things, an entering function (what to do to start this block of</pre></li><li onclick="toggle('pre51850656', 'post51850656')"><pre> transaction management), an exiting function (what to do to end it, on both</pre></li></ol>
|
|---|
| 978 |
|
|---|
| 979 | </div>
|
|---|
| 980 |
|
|---|
| 981 |
|
|---|
| 982 |
|
|---|
| 983 | <div class="commands">
|
|---|
| 984 |
|
|---|
| 985 | <a href="#" onclick="return varToggle(this, '51850656')"><span>▶</span> Local vars</a>
|
|---|
| 986 |
|
|---|
| 987 | </div>
|
|---|
| 988 | <table class="vars" id="v51850656">
|
|---|
| 989 | <thead>
|
|---|
| 990 | <tr>
|
|---|
| 991 | <th>Variable</th>
|
|---|
| 992 | <th>Value</th>
|
|---|
| 993 | </tr>
|
|---|
| 994 | </thead>
|
|---|
| 995 | <tbody>
|
|---|
| 996 |
|
|---|
| 997 | <tr>
|
|---|
| 998 | <td>self</td>
|
|---|
| 999 | <td class="code"><pre><django.db.transaction.Transaction object at 0x02E17B10></pre></td>
|
|---|
| 1000 | </tr>
|
|---|
| 1001 |
|
|---|
| 1002 | <tr>
|
|---|
| 1003 | <td>args</td>
|
|---|
| 1004 | <td class="code"><pre>(<levi.admin.LinAdmin object at 0x02E8BFF0>,
|
|---|
| 1005 | <WSGIRequest
|
|---|
| 1006 | path:/admin/levi/lin/40/,
|
|---|
| 1007 | GET:<QueryDict: {}>,
|
|---|
| 1008 | POST:<QueryDict: {u'rot_set-1-rotto': [u'829'], u'rot_set-2-rotkm': [u''], u'rot_set-__prefix__-rotprice': [u''], u'rot_set-0-rotlin': [u'40'], u'rot_set-MAX_NUM_FORMS': [u''], u'rot_set-0-rotfrom': [u''], u'rot_set-1-rotisactive': [u'on'], u'rot_set-3-rottimemnt': [u''], u'rot_set-2-rotto': [u'832'], u'rot_set-__prefix__-rotfrom': [u''], u'rot_set-2-rottimemnt': [u''], u'rot_set-1-rotkm': [u''], u'rot_set-0-rotkm': [u''], u'_save': [u'Save'], u'rot_set-__prefix__-rotto': [u''], u'rot_set-0-rottimemnt': [u''], u'rot_set-3-rotprice': [u''], u'rot_set-2-rotlin': [u'40'], u'rot_set-0-rotisactive': [u'on'], u'rot_set-__prefix__-rotisactive': [u'on'], u'rot_set-4-rotisactive': [u'on'], u'rot_set-__prefix__-rotkm': [u''], u'csrfmiddlewaretoken': [u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'], u'rot_set-3-rotfrom': [u'832'], u'rot_set-0-rotto': [u'828'], u'linbsn': [u'867'], u'rot_set-__prefix__-rotlin': [u'40'], u'rot_set-4-rottimemnt': [u''], u'rot_set-2-rotisactive': [u'on'], u'rot_set-2-rotfrom': [u'829'], u'rot_set-4-rotkm': [u''], u'rot_set-4-rotto': [u'831'], u'rot_set-INITIAL_FORMS': [u'5'], u'rot_set-1-rotprice': [u''], u'rot_set-3-rotlin': [u'40'], u'rot_set-4-rotprice': [u''], u'rot_set-0-rotprice': [u''], u'rot_set-__prefix__-rottimemnt': [u''], u'rot_set-4-rotfrom': [u'830'], u'rot_set-3-rotkm': [u''], u'rot_set-TOTAL_FORMS': [u'5'], u'rot_set-3-rotisactive': [u'on'], u'rot_set-1-rottimemnt': [u''], u'rot_set-1-rotfrom': [u'828'], u'rot_set-2-rotprice': [u''], u'rot_set-3-rotto': [u'830'], u'rot_set-1-rotlin': [u'40'], u'rot_set-4-rotlin': [u'40']}>,
|
|---|
| 1009 | COOKIES:{'csrftoken': 'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd',
|
|---|
| 1010 | 'sessionid': 'b294a764b7bad938401f98691c0d8d3d'},
|
|---|
| 1011 | META:{'ALLUSERSPROFILE': 'C:\\ProgramData',
|
|---|
| 1012 | 'APPDATA': 'C:\\Users\\adampahlevi\\AppData\\Roaming',
|
|---|
| 1013 | 'COMMONPROGRAMFILES': 'C:\\Program Files (x86)\\Common Files',
|
|---|
| 1014 | 'COMMONPROGRAMFILES(X86)': 'C:\\Program Files (x86)\\Common Files',
|
|---|
| 1015 | 'COMMONPROGRAMW6432': 'C:\\Program Files\\Common Files',
|
|---|
| 1016 | 'COMPUTERNAME': 'ADAMPAHLEVID59C',
|
|---|
| 1017 | 'COMSPEC': 'C:\\Windows\\system32\\cmd.exe',
|
|---|
| 1018 | 'CONTENT_LENGTH': '5296',
|
|---|
| 1019 | 'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------3001650601650',
|
|---|
| 1020 | 'CSRF_COOKIE': 'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd',
|
|---|
| 1021 | 'DJANGO_SETTINGS_MODULE': 'levipy.settings',
|
|---|
| 1022 | 'FP_NO_HOST_CHECK': 'NO',
|
|---|
| 1023 | 'GATEWAY_INTERFACE': 'CGI/1.1',
|
|---|
| 1024 | 'HOMEDRIVE': 'C:',
|
|---|
| 1025 | 'HOMEPATH': '\\Users\\adampahlevi',
|
|---|
| 1026 | 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
|
|---|
| 1027 | 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
|
|---|
| 1028 | 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5',
|
|---|
| 1029 | 'HTTP_CONNECTION': 'keep-alive',
|
|---|
| 1030 | 'HTTP_COOKIE': 'csrftoken=C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd; sessionid=b294a764b7bad938401f98691c0d8d3d',
|
|---|
| 1031 | 'HTTP_HOST': '127.0.0.1:8000',
|
|---|
| 1032 | 'HTTP_REFERER': 'http://127.0.0.1:8000/admin/levi/lin/40/',
|
|---|
| 1033 | 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0',
|
|---|
| 1034 | 'LOCALAPPDATA': 'C:\\Users\\adampahlevi\\AppData\\Local',
|
|---|
| 1035 | 'LOGONSERVER': '\\\\ADAMPAHLEVID59C',
|
|---|
| 1036 | 'NUMBER_OF_PROCESSORS': '1',
|
|---|
| 1037 | 'OS': 'Windows_NT',
|
|---|
| 1038 | 'PATH': 'C:\\Program Files (x86)\\JetBrains\\PyCharm 2.7.3\\bin\\..\\.\\bin;C:\\Python27\\;C:\\Python27\\Scripts;C:\\Python32\\;C:\\Python32\\Scripts;C:\\Program Files (x86)\\Parallels\\Parallels Tools\\Applications;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Windows Kits\\8.0\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Python33;C:\\Python33\\Scripts;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\ManagementStudio\\;C:\\Program Files\\Microsoft\\Web Platform Installer\\;C:\\Program Files (x86)\\Microsoft ASP.NET\\ASP.NET Web Pages\\v1.0\\;C:\\Python27\\;C:\\Python27\\Scripts;C:\\Python32\\;C:\\Python32\\Scripts;C:\\Program Files (x86)\\Parallels\\Parallels Tools\\Applications;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Windows Kits\\8.0\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Python33;C:\\Python33\\Scripts;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\ManagementStudio\\;C:\\Program Files\\Microsoft\\Web Platform Installer\\;C:\\Program Files (x86)\\Microsoft ASP.NET\\ASP.NET Web Pages\\v1.0\\;C:\\Users\\adampahlevi\\AppData\\Roaming\\Python\\Scripts;c:\\program files (x86)\\jetbrains\\pycharm 2.7.3\\jre\\jre\\bin',
|
|---|
| 1039 | 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py;.pyw',
|
|---|
| 1040 | 'PATH_INFO': u'/admin/levi/lin/40/',
|
|---|
| 1041 | 'PROCESSOR_ARCHITECTURE': 'x86',
|
|---|
| 1042 | 'PROCESSOR_ARCHITEW6432': 'AMD64',
|
|---|
| 1043 | 'PROCESSOR_IDENTIFIER': 'Intel64 Family 6 Model 58 Stepping 9, GenuineIntel',
|
|---|
| 1044 | 'PROCESSOR_LEVEL': '6',
|
|---|
| 1045 | 'PROCESSOR_REVISION': '3a09',
|
|---|
| 1046 | 'PROGRAMDATA': 'C:\\ProgramData',
|
|---|
| 1047 | 'PROGRAMFILES': 'C:\\Program Files (x86)',
|
|---|
| 1048 | 'PROGRAMFILES(X86)': 'C:\\Program Files (x86)',
|
|---|
| 1049 | 'PROGRAMW6432': 'C:\\Program Files',
|
|---|
| 1050 | 'PSMODULEPATH': 'C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\PowerShell\\Modules\\',
|
|---|
| 1051 | 'PUBLIC': 'C:\\Users\\Public',
|
|---|
| 1052 | 'PYCHARM_HOSTED': '1',
|
|---|
| 1053 | 'PYTHONIOENCODING': 'UTF-8',
|
|---|
| 1054 | 'PYTHONPATH': 'Z:\\Documents\\prolog\\django\\levipy',
|
|---|
| 1055 | 'PYTHONUNBUFFERED': '1',
|
|---|
| 1056 | 'QUERY_STRING': '',
|
|---|
| 1057 | 'REMOTE_ADDR': '127.0.0.1',
|
|---|
| 1058 | 'REMOTE_HOST': '',
|
|---|
| 1059 | 'REQUEST_METHOD': 'POST',
|
|---|
| 1060 | 'RUN_MAIN': 'true',
|
|---|
| 1061 | 'SCRIPT_NAME': u'',
|
|---|
| 1062 | 'SERVER_NAME': 'ADAMPAHLEVID59C',
|
|---|
| 1063 | 'SERVER_PORT': '8000',
|
|---|
| 1064 | 'SERVER_PROTOCOL': 'HTTP/1.1',
|
|---|
| 1065 | 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.2',
|
|---|
| 1066 | 'SESSIONNAME': 'Console',
|
|---|
| 1067 | 'SYSTEMDRIVE': 'C:',
|
|---|
| 1068 | 'SYSTEMROOT': 'C:\\Windows',
|
|---|
| 1069 | 'TEMP': 'C:\\Users\\ADAMPA~1\\AppData\\Local\\Temp',
|
|---|
| 1070 | 'TMP': 'C:\\Users\\ADAMPA~1\\AppData\\Local\\Temp',
|
|---|
| 1071 | 'USERDOMAIN': 'ADAMPAHLEVID59C',
|
|---|
| 1072 | 'USERDOMAIN_ROAMINGPROFILE': 'ADAMPAHLEVID59C',
|
|---|
| 1073 | 'USERNAME': 'adampahlevi',
|
|---|
| 1074 | 'USERPROFILE': 'C:\\Users\\adampahlevi',
|
|---|
| 1075 | 'VS110COMNTOOLS': 'C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\Common7\\Tools\\',
|
|---|
| 1076 | 'WINDIR': 'C:\\Windows',
|
|---|
| 1077 | 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x01E250D0>,
|
|---|
| 1078 | 'wsgi.file_wrapper': <class wsgiref.util.FileWrapper at 0x02B5CEA0>,
|
|---|
| 1079 | 'wsgi.input': <socket._fileobject object at 0x02FE8B30>,
|
|---|
| 1080 | 'wsgi.multiprocess': False,
|
|---|
| 1081 | 'wsgi.multithread': True,
|
|---|
| 1082 | 'wsgi.run_once': False,
|
|---|
| 1083 | 'wsgi.url_scheme': 'http',
|
|---|
| 1084 | 'wsgi.version': (1, 0)}>,
|
|---|
| 1085 | u'40')</pre></td>
|
|---|
| 1086 | </tr>
|
|---|
| 1087 |
|
|---|
| 1088 | <tr>
|
|---|
| 1089 | <td>func</td>
|
|---|
| 1090 | <td class="code"><pre><function change_view at 0x02E1C130></pre></td>
|
|---|
| 1091 | </tr>
|
|---|
| 1092 |
|
|---|
| 1093 | <tr>
|
|---|
| 1094 | <td>kwargs</td>
|
|---|
| 1095 | <td class="code"><pre>{}</pre></td>
|
|---|
| 1096 | </tr>
|
|---|
| 1097 |
|
|---|
| 1098 | </tbody>
|
|---|
| 1099 | </table>
|
|---|
| 1100 |
|
|---|
| 1101 | </li>
|
|---|
| 1102 |
|
|---|
| 1103 | <li class="frame django">
|
|---|
| 1104 | <code>C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\contrib\admin\options.py</code> in <code>change_view</code>
|
|---|
| 1105 |
|
|---|
| 1106 |
|
|---|
| 1107 | <div class="context" id="c51849896">
|
|---|
| 1108 |
|
|---|
| 1109 | <ol start="1042" class="pre-context" id="pre51849896"><li onclick="toggle('pre51849896', 'post51849896')"><pre> for FormSet, inline in zip(self.get_formsets(request, new_object), inline_instances):</pre></li><li onclick="toggle('pre51849896', 'post51849896')"><pre> prefix = FormSet.get_default_prefix()</pre></li><li onclick="toggle('pre51849896', 'post51849896')"><pre> prefixes[prefix] = prefixes.get(prefix, 0) + 1</pre></li><li onclick="toggle('pre51849896', 'post51849896')"><pre> if prefixes[prefix] != 1 or not prefix:</pre></li><li onclick="toggle('pre51849896', 'post51849896')"><pre> prefix = "%s-%s" % (prefix, prefixes[prefix])</pre></li><li onclick="toggle('pre51849896', 'post51849896')"><pre> formset = FormSet(request.POST, request.FILES,</pre></li><li onclick="toggle('pre51849896', 'post51849896')"><pre> instance=new_object, prefix=prefix,</pre></li></ol>
|
|---|
| 1110 |
|
|---|
| 1111 | <ol start="1049" class="context-line"><li onclick="toggle('pre51849896', 'post51849896')"><pre> queryset=inline.queryset(request))</pre> <span>...</span></li></ol>
|
|---|
| 1112 |
|
|---|
| 1113 | <ol start='1050' class="post-context" id="post51849896"><li onclick="toggle('pre51849896', 'post51849896')"><pre></pre></li><li onclick="toggle('pre51849896', 'post51849896')"><pre> formsets.append(formset)</pre></li><li onclick="toggle('pre51849896', 'post51849896')"><pre></pre></li><li onclick="toggle('pre51849896', 'post51849896')"><pre> if all_valid(formsets) and form_validated:</pre></li><li onclick="toggle('pre51849896', 'post51849896')"><pre> self.save_model(request, new_object, form, True)</pre></li><li onclick="toggle('pre51849896', 'post51849896')"><pre> self.save_related(request, form, formsets, True)</pre></li></ol>
|
|---|
| 1114 |
|
|---|
| 1115 | </div>
|
|---|
| 1116 |
|
|---|
| 1117 |
|
|---|
| 1118 |
|
|---|
| 1119 | <div class="commands">
|
|---|
| 1120 |
|
|---|
| 1121 | <a href="#" onclick="return varToggle(this, '51849896')"><span>▶</span> Local vars</a>
|
|---|
| 1122 |
|
|---|
| 1123 | </div>
|
|---|
| 1124 | <table class="vars" id="v51849896">
|
|---|
| 1125 | <thead>
|
|---|
| 1126 | <tr>
|
|---|
| 1127 | <th>Variable</th>
|
|---|
| 1128 | <th>Value</th>
|
|---|
| 1129 | </tr>
|
|---|
| 1130 | </thead>
|
|---|
| 1131 | <tbody>
|
|---|
| 1132 |
|
|---|
| 1133 | <tr>
|
|---|
| 1134 | <td>new_object</td>
|
|---|
| 1135 | <td class="code"><pre><Lin: Line KLIA Transit></pre></td>
|
|---|
| 1136 | </tr>
|
|---|
| 1137 |
|
|---|
| 1138 | <tr>
|
|---|
| 1139 | <td>obj</td>
|
|---|
| 1140 | <td class="code"><pre><Lin: Line KLIA Transit></pre></td>
|
|---|
| 1141 | </tr>
|
|---|
| 1142 |
|
|---|
| 1143 | <tr>
|
|---|
| 1144 | <td>form</td>
|
|---|
| 1145 | <td class="code"><pre><django.forms.models.LinForm object at 0x03065B30></pre></td>
|
|---|
| 1146 | </tr>
|
|---|
| 1147 |
|
|---|
| 1148 | <tr>
|
|---|
| 1149 | <td>form_url</td>
|
|---|
| 1150 | <td class="code"><pre>''</pre></td>
|
|---|
| 1151 | </tr>
|
|---|
| 1152 |
|
|---|
| 1153 | <tr>
|
|---|
| 1154 | <td>self</td>
|
|---|
| 1155 | <td class="code"><pre><levi.admin.LinAdmin object at 0x02E8BFF0></pre></td>
|
|---|
| 1156 | </tr>
|
|---|
| 1157 |
|
|---|
| 1158 | <tr>
|
|---|
| 1159 | <td>request</td>
|
|---|
| 1160 | <td class="code"><pre>"<WSGIRequest\npath:/admin/levi/lin/40/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {u'rot_set-1-rotto': [u'829'], u'rot_set-2-rotkm': [u''], u'rot_set-__prefix__-rotprice': [u''], u'rot_set-0-rotlin': [u'40'], u'rot_set-MAX_NUM_FORMS': [u''], u'rot_set-0-rotfrom': [u''], u'rot_set-1-rotisactive': [u'on'], u'rot_set-3-rottimemnt': [u''], u'rot_set-2-rotto': [u'832'], u'rot_set-__prefix__-rotfrom': [u''], u'rot_set-2-rottimemnt': [u''], u'rot_set-1-rotkm': [u''], u'rot_set-0-rotkm': [u''], u'_save': [u'Save'], u'rot_set-__prefix__-rotto': [u''], u'rot_set-0-rottimemnt': [u''], u'rot_set-3-rotprice': [u''], u'rot_set-2-rotlin': [u'40'], u'rot_set-0-rotisactive': [u'on'], u'rot_set-__prefix__-rotisactive': [u'on'], u'rot_set-4-rotisactive': [u'on'], u'rot_set-__prefix__-rotkm': [u''], u'csrfmiddlewaretoken': [u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'], u'rot_set-3-rotfrom': [u'832'], u'rot_set-0-rotto': [u'828'], u'linbsn': [u'867'], u'rot_set-__prefix__-rotlin': [u'40'], u'rot_set-4-rottimemnt': [u''], u'rot_set-2-rotisactive': [u'on'], u'rot_set-2-rotfrom': [u'829'], u'rot_set-4-rotkm': [u''], u'rot_set-4-rotto': [u'831'], u'rot_set-INITIAL_FORMS': [u'5'], u'rot_set-1-rotprice': [u''], u'rot_set-3-rotlin': [u'40'], u'rot_set-4-rotprice': [u''], u'rot_set-0-rotprice': [u''], u'rot_set-__prefix__-rottimemnt': [u''], u'rot_set-4-rotfrom': [u'830'], u'rot_set-3-rotkm': [u''], u'rot_set-TOTAL_FORMS': [u'5'], u'rot_set-3-rotisactive': [u'on'], u'rot_set-1-rottimemnt': [u''], u'rot_set-1-rotfrom': [u'828'], u'rot_set-2-rotprice': [u''], u'rot_set-3-rotto': [u'830'], u'rot_set-1-rotlin': [u'40'], u'rot_set-4-rotlin': [u'40']}>,\nCOOKIES:{'csrftoken': 'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd',\n 'sessionid': 'b294a764b7bad938401f98691c0d8d3d'},\nMETA:{'ALLUSERSPROFILE': 'C:\\\\ProgramData',\n 'APPDATA': 'C:\\\\Users\\\\adampahlevi\\\\AppData\\\\Roaming',\n 'COMMONPROGRAMFILES': 'C:\\\\Program Files (x86)\\\\Common Files',\n 'COMMONPROGRAMFILES(X86)': 'C:\\\\Program Files (x86)\\\\Common Files',\n 'COMMONPROGRAMW6432': 'C:\\\\Program Files\\\\Common Files',\n 'COMPUTERNAME': 'ADAMPAHLEVID59C',\n 'COMSPEC': 'C:\\\\Windows\\\\system32\\\\cmd.exe',\n 'CONTENT_LENGTH': '5296',\n 'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------3001650601650',\n 'CSRF_COOKIE': 'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd',\n 'DJANGO_SETTINGS_MODULE': 'levipy.settings',\n 'FP_NO_HOST_CHECK': 'NO',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HOMEDRIVE': 'C:',\n 'HOMEPATH': '\\\\Users\\\\adampahlevi',\n 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',\n 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',\n 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5',\n 'HTTP_CONNECTION': 'keep-alive',\n 'HTTP_COOKIE': 'csrftoken=C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd; sessionid=b294a764b7bad938401f98691c0d8d3d',\n 'HTTP_HOST': '127.0.0.1:8000',\n 'HTTP_REFERER': 'http://127.0.0.1:8000/admin/levi/lin/40/',\n 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0',\n 'LOCALAPPDATA': 'C:\\\\Users\\\\adampahlevi\\\\AppData\\\\Local',\n 'LOGONSERVER': '\\\\\\\\ADAMPAHLEVID59C',\n 'NUMBER_OF_PROCESSORS': '1',\n 'OS': 'Windows_NT',\n 'PATH': 'C:\\\\Program Files (x86)\\\\JetBrains\\\\PyCharm 2.7.3\\\\bin\\\\..\\\\.\\\\bin;C:\\\\Python27\\\\;C:\\\\Python27\\\\Scripts;C:\\\\Python32\\\\;C:\\\\Python32\\\\Scripts;C:\\\\Program Files (x86)\\\\Parallels\\\\Parallels Tools\\\\Applications;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Program Files (x86)\\\\Windows Kits\\\\8.0\\\\Windows Performance Toolkit\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Python33;C:\\\\Python33\\\\Scripts;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\ManagementStudio\\\\;C:\\\\Program Files\\\\Microsoft\\\\Web Platform Installer\\\\;C:\\\\Program Files (x86)\\\\Microsoft ASP.NET\\\\ASP.NET Web Pages\\\\v1.0\\\\;C:\\\\Python27\\\\;C:\\\\Python27\\\\Scripts;C:\\\\Python32\\\\;C:\\\\Python32\\\\Scripts;C:\\\\Program Files (x86)\\\\Parallels\\\\Parallels Tools\\\\Applications;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Program Files (x86)\\\\Windows Kits\\\\8.0\\\\Windows Performance Toolkit\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Python33;C:\\\\Python33\\\\Scripts;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\ManagementStudio\\\\;C:\\\\Program Files\\\\Microsoft\\\\Web Platform Installer\\\\;C:\\\\Program Files (x86)\\\\Microsoft ASP.NET\\\\ASP.NET Web Pages\\\\v1.0\\\\;C:\\\\Users\\\\adampahlevi\\\\AppData\\\\Roaming\\\\Python\\\\Scripts;c:\\\\program files (x86)\\\\jetbrains\\\\pycharm 2.7.3\\\\jre\\\\jre\\\\bin',\n 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py;.pyw',\n 'PATH_INFO': u'/admin/levi/lin/40/',\n 'PROCESSOR_ARCHITECTURE': 'x86',\n 'PROCESSOR_ARCHITEW6432': 'AMD64',\n 'PROCESSOR_IDENTIFIER': 'Intel64 Family 6 Model 58 Stepping 9, GenuineIntel',\n 'PROCESSOR_LEVEL': '6',\n 'PROCESSOR_REVISION': '3a09',\n 'PROGRAMDATA': 'C:\\\\ProgramData',\n 'PROGRAMFILES': 'C:\\\\Program Files (x86)',\n 'PROGRAMFILES(X86)': 'C:\\\\Program Files (x86)',\n 'PROGRAMW6432': 'C:\\\\Program Files',\n 'PSMODULEPATH': 'C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\PowerShell\\\\Modules\\\\',\n 'PUBLIC': 'C:\\\\Users\\\\Public',\n 'PYCHARM_HOSTED': '1',\n 'PYTHONIOENCODING': 'UTF-8',\n 'PYTHONPATH': 'Z:\\\\Documents\\\\prolog\\\\django\\\\levipy',\n 'PYTHONUNBUFFERED': '1',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '127.0.0.1',\n 'REMOTE_HOST': '',\n 'REQUEST_METHOD': 'POST',\n 'RUN_MAIN': 'true',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'ADAMPAHLEVID59C',\n 'SERVER_PORT': '8000',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.2',\n 'SESSIONNAME': 'Console',\n 'SYSTEMDRIVE': 'C:',\n 'SYSTEMROOT': 'C:\\\\Windows',\n 'TEMP': 'C:\\\\Users\\\\ADAMPA~1\\\\AppData\\\\Local\\\\Temp',\n 'TMP': 'C:\\\\Users\\\\ADAMPA~1\\\\AppData\\\\Local\\\\Temp',\n 'USERDOMAIN': 'ADAMPAHLEVID59C',\n 'USERDOMAIN_ROAMINGPROFILE': 'ADAMPAHLEVID59C',\n 'USERNAME': 'adampahlevi',\n 'USERPROFILE': 'C:\\\\Users\\\\adampahlevi',\n 'VS110COMNTOOLS': 'C:\\\\Program Files (x86)\\\\Microsoft Visual Studio 11.0\\\\Common7\\\\Tools\\\\',\n 'WINDIR': 'C:\\\\Windows',\n 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x01E250D0>,\n 'wsgi.file_wrapper': <class wsgiref.util.FileWrapper at 0x02B5CEA0>,\n 'wsgi.input': <socket._fileobject object at 0x02FE8B30>,\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>
|
|---|
| 1161 | </tr>
|
|---|
| 1162 |
|
|---|
| 1163 | <tr>
|
|---|
| 1164 | <td>inline_instances</td>
|
|---|
| 1165 | <td class="code"><pre>[<levi.admin.RotGridsTabular object at 0x0307B6D0>]</pre></td>
|
|---|
| 1166 | </tr>
|
|---|
| 1167 |
|
|---|
| 1168 | <tr>
|
|---|
| 1169 | <td>object_id</td>
|
|---|
| 1170 | <td class="code"><pre>u'40'</pre></td>
|
|---|
| 1171 | </tr>
|
|---|
| 1172 |
|
|---|
| 1173 | <tr>
|
|---|
| 1174 | <td>form_validated</td>
|
|---|
| 1175 | <td class="code"><pre>True</pre></td>
|
|---|
| 1176 | </tr>
|
|---|
| 1177 |
|
|---|
| 1178 | <tr>
|
|---|
| 1179 | <td>prefixes</td>
|
|---|
| 1180 | <td class="code"><pre>{'rot_set': 1}</pre></td>
|
|---|
| 1181 | </tr>
|
|---|
| 1182 |
|
|---|
| 1183 | <tr>
|
|---|
| 1184 | <td>prefix</td>
|
|---|
| 1185 | <td class="code"><pre>'rot_set'</pre></td>
|
|---|
| 1186 | </tr>
|
|---|
| 1187 |
|
|---|
| 1188 | <tr>
|
|---|
| 1189 | <td>formsets</td>
|
|---|
| 1190 | <td class="code"><pre>[]</pre></td>
|
|---|
| 1191 | </tr>
|
|---|
| 1192 |
|
|---|
| 1193 | <tr>
|
|---|
| 1194 | <td>inline</td>
|
|---|
| 1195 | <td class="code"><pre><levi.admin.RotGridsTabular object at 0x0307B6D0></pre></td>
|
|---|
| 1196 | </tr>
|
|---|
| 1197 |
|
|---|
| 1198 | <tr>
|
|---|
| 1199 | <td>model</td>
|
|---|
| 1200 | <td class="code"><pre><class 'levi.models.Lin'></pre></td>
|
|---|
| 1201 | </tr>
|
|---|
| 1202 |
|
|---|
| 1203 | <tr>
|
|---|
| 1204 | <td>extra_context</td>
|
|---|
| 1205 | <td class="code"><pre>None</pre></td>
|
|---|
| 1206 | </tr>
|
|---|
| 1207 |
|
|---|
| 1208 | <tr>
|
|---|
| 1209 | <td>ModelForm</td>
|
|---|
| 1210 | <td class="code"><pre><class 'django.forms.models.LinForm'></pre></td>
|
|---|
| 1211 | </tr>
|
|---|
| 1212 |
|
|---|
| 1213 | <tr>
|
|---|
| 1214 | <td>FormSet</td>
|
|---|
| 1215 | <td class="code"><pre><class 'django.forms.formsets.RotFormFormSet'></pre></td>
|
|---|
| 1216 | </tr>
|
|---|
| 1217 |
|
|---|
| 1218 | <tr>
|
|---|
| 1219 | <td>opts</td>
|
|---|
| 1220 | <td class="code"><pre><Options for Lin></pre></td>
|
|---|
| 1221 | </tr>
|
|---|
| 1222 |
|
|---|
| 1223 | </tbody>
|
|---|
| 1224 | </table>
|
|---|
| 1225 |
|
|---|
| 1226 | </li>
|
|---|
| 1227 |
|
|---|
| 1228 | <li class="frame django">
|
|---|
| 1229 | <code>C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\forms\models.py</code> in <code>__init__</code>
|
|---|
| 1230 |
|
|---|
| 1231 |
|
|---|
| 1232 | <div class="context" id="c51849536">
|
|---|
| 1233 |
|
|---|
| 1234 | <ol start="690" class="pre-context" id="pre51849536"><li onclick="toggle('pre51849536', 'post51849536')"><pre> self.save_as_new = save_as_new</pre></li><li onclick="toggle('pre51849536', 'post51849536')"><pre> # is there a better way to get the object descriptor?</pre></li><li onclick="toggle('pre51849536', 'post51849536')"><pre> self.rel_name = RelatedObject(self.fk.rel.to, self.model, self.fk).get_accessor_name()</pre></li><li onclick="toggle('pre51849536', 'post51849536')"><pre> if queryset is None:</pre></li><li onclick="toggle('pre51849536', 'post51849536')"><pre> queryset = self.model._default_manager</pre></li><li onclick="toggle('pre51849536', 'post51849536')"><pre> qs = queryset.filter(**{self.fk.name: self.instance})</pre></li><li onclick="toggle('pre51849536', 'post51849536')"><pre> super(BaseInlineFormSet, self).__init__(data, files, prefix=prefix,</pre></li></ol>
|
|---|
| 1235 |
|
|---|
| 1236 | <ol start="697" class="context-line"><li onclick="toggle('pre51849536', 'post51849536')"><pre> queryset=qs, **kwargs)</pre> <span>...</span></li></ol>
|
|---|
| 1237 |
|
|---|
| 1238 | <ol start='698' class="post-context" id="post51849536"><li onclick="toggle('pre51849536', 'post51849536')"><pre></pre></li><li onclick="toggle('pre51849536', 'post51849536')"><pre> def initial_form_count(self):</pre></li><li onclick="toggle('pre51849536', 'post51849536')"><pre> if self.save_as_new:</pre></li><li onclick="toggle('pre51849536', 'post51849536')"><pre> return 0</pre></li><li onclick="toggle('pre51849536', 'post51849536')"><pre> return super(BaseInlineFormSet, self).initial_form_count()</pre></li><li onclick="toggle('pre51849536', 'post51849536')"><pre></pre></li></ol>
|
|---|
| 1239 |
|
|---|
| 1240 | </div>
|
|---|
| 1241 |
|
|---|
| 1242 |
|
|---|
| 1243 |
|
|---|
| 1244 | <div class="commands">
|
|---|
| 1245 |
|
|---|
| 1246 | <a href="#" onclick="return varToggle(this, '51849536')"><span>▶</span> Local vars</a>
|
|---|
| 1247 |
|
|---|
| 1248 | </div>
|
|---|
| 1249 | <table class="vars" id="v51849536">
|
|---|
| 1250 | <thead>
|
|---|
| 1251 | <tr>
|
|---|
| 1252 | <th>Variable</th>
|
|---|
| 1253 | <th>Value</th>
|
|---|
| 1254 | </tr>
|
|---|
| 1255 | </thead>
|
|---|
| 1256 | <tbody>
|
|---|
| 1257 |
|
|---|
| 1258 | <tr>
|
|---|
| 1259 | <td>files</td>
|
|---|
| 1260 | <td class="code"><pre><MultiValueDict: {}></pre></td>
|
|---|
| 1261 | </tr>
|
|---|
| 1262 |
|
|---|
| 1263 | <tr>
|
|---|
| 1264 | <td>qs</td>
|
|---|
| 1265 | <td class="code"><pre>[<Rot: to KL Sentral(train)>, <Rot: KL Sentral to Tasik Selatan>, <Rot: Tasik Selatan to Putrajaya/Cyberjaya>, <Rot: Putrajaya/Cyberjaya to Salak Tinggi>, <Rot: Salak Tinggi to KLIA Airport>]</pre></td>
|
|---|
| 1266 | </tr>
|
|---|
| 1267 |
|
|---|
| 1268 | <tr>
|
|---|
| 1269 | <td>save_as_new</td>
|
|---|
| 1270 | <td class="code"><pre>False</pre></td>
|
|---|
| 1271 | </tr>
|
|---|
| 1272 |
|
|---|
| 1273 | <tr>
|
|---|
| 1274 | <td>self</td>
|
|---|
| 1275 | <td class="code"><pre><django.forms.formsets.RotFormFormSet object at 0x03171210></pre></td>
|
|---|
| 1276 | </tr>
|
|---|
| 1277 |
|
|---|
| 1278 | <tr>
|
|---|
| 1279 | <td>queryset</td>
|
|---|
| 1280 | <td class="code"><pre>[<Rot: to Sentul Timur(train)>, <Rot: Sentul Timur to Sentul>, <Rot: Sentul to Titiwangsa>, <Rot: Titiwangsa to PWTC>, <Rot: PWTC to Sultan Ismail>, <Rot: Sultan Ismail to Bandaraya>, <Rot: Bandaraya to Masjid Jamek>, <Rot: Masjid Jamek to Plaza Rakyat>, <Rot: Plaza Rakyat to Hang Tuah>, <Rot: Hang Tuah to Pudu>, <Rot: Pudu to Chan Sow Lin>, <Rot: Chan Sow Lin to Miharja>, <Rot: Miharja to Maluri>, <Rot: Maluri to Pandan Jaya>, <Rot: Pandan Jaya to Pandan Indah>, <Rot: Pandan Indah to Cempaka>, <Rot: Cempaka to Cahaya>, <Rot: Cempaka to Ampang>, <Rot: Ampang to Cheras>, <Rot: Cheras to Salak Selatan>, '...(remaining elements truncated)...']</pre></td>
|
|---|
| 1281 | </tr>
|
|---|
| 1282 |
|
|---|
| 1283 | <tr>
|
|---|
| 1284 | <td>RelatedObject</td>
|
|---|
| 1285 | <td class="code"><pre><class 'django.db.models.related.RelatedObject'></pre></td>
|
|---|
| 1286 | </tr>
|
|---|
| 1287 |
|
|---|
| 1288 | <tr>
|
|---|
| 1289 | <td>instance</td>
|
|---|
| 1290 | <td class="code"><pre><Lin: Line KLIA Transit></pre></td>
|
|---|
| 1291 | </tr>
|
|---|
| 1292 |
|
|---|
| 1293 | <tr>
|
|---|
| 1294 | <td>prefix</td>
|
|---|
| 1295 | <td class="code"><pre>'rot_set'</pre></td>
|
|---|
| 1296 | </tr>
|
|---|
| 1297 |
|
|---|
| 1298 | <tr>
|
|---|
| 1299 | <td>kwargs</td>
|
|---|
| 1300 | <td class="code"><pre>{}</pre></td>
|
|---|
| 1301 | </tr>
|
|---|
| 1302 |
|
|---|
| 1303 | <tr>
|
|---|
| 1304 | <td>data</td>
|
|---|
| 1305 | <td class="code"><pre><QueryDict: {u'rot_set-1-rotto': [u'829'], u'rot_set-2-rotkm': [u''], u'rot_set-__prefix__-rotprice': [u''], u'rot_set-0-rotlin': [u'40'], u'rot_set-MAX_NUM_FORMS': [u''], u'rot_set-0-rotfrom': [u''], u'rot_set-1-rotisactive': [u'on'], u'rot_set-3-rottimemnt': [u''], u'rot_set-2-rotto': [u'832'], u'rot_set-__prefix__-rotfrom': [u''], u'rot_set-2-rottimemnt': [u''], u'rot_set-1-rotkm': [u''], u'rot_set-0-rotkm': [u''], u'_save': [u'Save'], u'rot_set-__prefix__-rotto': [u''], u'rot_set-0-rottimemnt': [u''], u'rot_set-3-rotprice': [u''], u'rot_set-2-rotlin': [u'40'], u'rot_set-0-rotisactive': [u'on'], u'rot_set-__prefix__-rotisactive': [u'on'], u'rot_set-4-rotisactive': [u'on'], u'rot_set-__prefix__-rotkm': [u''], u'csrfmiddlewaretoken': [u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'], u'rot_set-3-rotfrom': [u'832'], u'rot_set-0-rotto': [u'828'], u'linbsn': [u'867'], u'rot_set-__prefix__-rotlin': [u'40'], u'rot_set-4-rottimemnt': [u''], u'rot_set-2-rotisactive': [u'on'], u'rot_set-2-rotfrom': [u'829'], u'rot_set-4-rotkm': [u''], u'rot_set-4-rotto': [u'831'], u'rot_set-INITIAL_FORMS': [u'5'], u'rot_set-1-rotprice': [u''], u'rot_set-3-rotlin': [u'40'], u'rot_set-4-rotprice': [u''], u'rot_set-0-rotprice': [u''], u'rot_set-__prefix__-rottimemnt': [u''], u'rot_set-4-rotfrom': [u'830'], u'rot_set-3-rotkm': [u''], u'rot_set-TOTAL_FORMS': [u'5'], u'rot_set-3-rotisactive': [u'on'], u'rot_set-1-rottimemnt': [u''], u'rot_set-1-rotfrom': [u'828'], u'rot_set-2-rotprice': [u''], u'rot_set-3-rotto': [u'830'], u'rot_set-1-rotlin': [u'40'], u'rot_set-4-rotlin': [u'40']}></pre></td>
|
|---|
| 1306 | </tr>
|
|---|
| 1307 |
|
|---|
| 1308 | </tbody>
|
|---|
| 1309 | </table>
|
|---|
| 1310 |
|
|---|
| 1311 | </li>
|
|---|
| 1312 |
|
|---|
| 1313 | <li class="frame django">
|
|---|
| 1314 | <code>C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\forms\models.py</code> in <code>__init__</code>
|
|---|
| 1315 |
|
|---|
| 1316 |
|
|---|
| 1317 | <div class="context" id="c51850416">
|
|---|
| 1318 |
|
|---|
| 1319 | <ol start="417" class="pre-context" id="pre51850416"><li onclick="toggle('pre51850416', 'post51850416')"><pre></pre></li><li onclick="toggle('pre51850416', 'post51850416')"><pre> def __init__(self, data=None, files=None, auto_id='id_%s', prefix=None,</pre></li><li onclick="toggle('pre51850416', 'post51850416')"><pre> queryset=None, **kwargs):</pre></li><li onclick="toggle('pre51850416', 'post51850416')"><pre> self.queryset = queryset</pre></li><li onclick="toggle('pre51850416', 'post51850416')"><pre> self.initial_extra = kwargs.pop('initial', None)</pre></li><li onclick="toggle('pre51850416', 'post51850416')"><pre> defaults = {'data': data, 'files': files, 'auto_id': auto_id, 'prefix': prefix}</pre></li><li onclick="toggle('pre51850416', 'post51850416')"><pre> defaults.update(kwargs)</pre></li></ol>
|
|---|
| 1320 |
|
|---|
| 1321 | <ol start="424" class="context-line"><li onclick="toggle('pre51850416', 'post51850416')"><pre> super(BaseModelFormSet, self).__init__(**defaults)</pre> <span>...</span></li></ol>
|
|---|
| 1322 |
|
|---|
| 1323 | <ol start='425' class="post-context" id="post51850416"><li onclick="toggle('pre51850416', 'post51850416')"><pre></pre></li><li onclick="toggle('pre51850416', 'post51850416')"><pre> def initial_form_count(self):</pre></li><li onclick="toggle('pre51850416', 'post51850416')"><pre> """Returns the number of forms that are required in this FormSet."""</pre></li><li onclick="toggle('pre51850416', 'post51850416')"><pre> if not (self.data or self.files):</pre></li><li onclick="toggle('pre51850416', 'post51850416')"><pre> return len(self.get_queryset())</pre></li><li onclick="toggle('pre51850416', 'post51850416')"><pre> return super(BaseModelFormSet, self).initial_form_count()</pre></li></ol>
|
|---|
| 1324 |
|
|---|
| 1325 | </div>
|
|---|
| 1326 |
|
|---|
| 1327 |
|
|---|
| 1328 |
|
|---|
| 1329 | <div class="commands">
|
|---|
| 1330 |
|
|---|
| 1331 | <a href="#" onclick="return varToggle(this, '51850416')"><span>▶</span> Local vars</a>
|
|---|
| 1332 |
|
|---|
| 1333 | </div>
|
|---|
| 1334 | <table class="vars" id="v51850416">
|
|---|
| 1335 | <thead>
|
|---|
| 1336 | <tr>
|
|---|
| 1337 | <th>Variable</th>
|
|---|
| 1338 | <th>Value</th>
|
|---|
| 1339 | </tr>
|
|---|
| 1340 | </thead>
|
|---|
| 1341 | <tbody>
|
|---|
| 1342 |
|
|---|
| 1343 | <tr>
|
|---|
| 1344 | <td>auto_id</td>
|
|---|
| 1345 | <td class="code"><pre>'id_%s'</pre></td>
|
|---|
| 1346 | </tr>
|
|---|
| 1347 |
|
|---|
| 1348 | <tr>
|
|---|
| 1349 | <td>files</td>
|
|---|
| 1350 | <td class="code"><pre><MultiValueDict: {}></pre></td>
|
|---|
| 1351 | </tr>
|
|---|
| 1352 |
|
|---|
| 1353 | <tr>
|
|---|
| 1354 | <td>self</td>
|
|---|
| 1355 | <td class="code"><pre><django.forms.formsets.RotFormFormSet object at 0x03171210></pre></td>
|
|---|
| 1356 | </tr>
|
|---|
| 1357 |
|
|---|
| 1358 | <tr>
|
|---|
| 1359 | <td>queryset</td>
|
|---|
| 1360 | <td class="code"><pre>[<Rot: to KL Sentral(train)>, <Rot: KL Sentral to Tasik Selatan>, <Rot: Tasik Selatan to Putrajaya/Cyberjaya>, <Rot: Putrajaya/Cyberjaya to Salak Tinggi>, <Rot: Salak Tinggi to KLIA Airport>]</pre></td>
|
|---|
| 1361 | </tr>
|
|---|
| 1362 |
|
|---|
| 1363 | <tr>
|
|---|
| 1364 | <td>prefix</td>
|
|---|
| 1365 | <td class="code"><pre>'rot_set'</pre></td>
|
|---|
| 1366 | </tr>
|
|---|
| 1367 |
|
|---|
| 1368 | <tr>
|
|---|
| 1369 | <td>defaults</td>
|
|---|
| 1370 | <td class="code"><pre>{'auto_id': 'id_%s',
|
|---|
| 1371 | 'data': <QueryDict: {u'rot_set-1-rotto': [u'829'], u'rot_set-2-rotkm': [u''], u'rot_set-__prefix__-rotprice': [u''], u'rot_set-0-rotlin': [u'40'], u'rot_set-MAX_NUM_FORMS': [u''], u'rot_set-0-rotfrom': [u''], u'rot_set-1-rotisactive': [u'on'], u'rot_set-3-rottimemnt': [u''], u'rot_set-2-rotto': [u'832'], u'rot_set-__prefix__-rotfrom': [u''], u'rot_set-2-rottimemnt': [u''], u'rot_set-1-rotkm': [u''], u'rot_set-0-rotkm': [u''], u'_save': [u'Save'], u'rot_set-__prefix__-rotto': [u''], u'rot_set-0-rottimemnt': [u''], u'rot_set-3-rotprice': [u''], u'rot_set-2-rotlin': [u'40'], u'rot_set-0-rotisactive': [u'on'], u'rot_set-__prefix__-rotisactive': [u'on'], u'rot_set-4-rotisactive': [u'on'], u'rot_set-__prefix__-rotkm': [u''], u'csrfmiddlewaretoken': [u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'], u'rot_set-3-rotfrom': [u'832'], u'rot_set-0-rotto': [u'828'], u'linbsn': [u'867'], u'rot_set-__prefix__-rotlin': [u'40'], u'rot_set-4-rottimemnt': [u''], u'rot_set-2-rotisactive': [u'on'], u'rot_set-2-rotfrom': [u'829'], u'rot_set-4-rotkm': [u''], u'rot_set-4-rotto': [u'831'], u'rot_set-INITIAL_FORMS': [u'5'], u'rot_set-1-rotprice': [u''], u'rot_set-3-rotlin': [u'40'], u'rot_set-4-rotprice': [u''], u'rot_set-0-rotprice': [u''], u'rot_set-__prefix__-rottimemnt': [u''], u'rot_set-4-rotfrom': [u'830'], u'rot_set-3-rotkm': [u''], u'rot_set-TOTAL_FORMS': [u'5'], u'rot_set-3-rotisactive': [u'on'], u'rot_set-1-rottimemnt': [u''], u'rot_set-1-rotfrom': [u'828'], u'rot_set-2-rotprice': [u''], u'rot_set-3-rotto': [u'830'], u'rot_set-1-rotlin': [u'40'], u'rot_set-4-rotlin': [u'40']}>,
|
|---|
| 1372 | 'files': <MultiValueDict: {}>,
|
|---|
| 1373 | 'prefix': 'rot_set'}</pre></td>
|
|---|
| 1374 | </tr>
|
|---|
| 1375 |
|
|---|
| 1376 | <tr>
|
|---|
| 1377 | <td>kwargs</td>
|
|---|
| 1378 | <td class="code"><pre>{}</pre></td>
|
|---|
| 1379 | </tr>
|
|---|
| 1380 |
|
|---|
| 1381 | <tr>
|
|---|
| 1382 | <td>data</td>
|
|---|
| 1383 | <td class="code"><pre><QueryDict: {u'rot_set-1-rotto': [u'829'], u'rot_set-2-rotkm': [u''], u'rot_set-__prefix__-rotprice': [u''], u'rot_set-0-rotlin': [u'40'], u'rot_set-MAX_NUM_FORMS': [u''], u'rot_set-0-rotfrom': [u''], u'rot_set-1-rotisactive': [u'on'], u'rot_set-3-rottimemnt': [u''], u'rot_set-2-rotto': [u'832'], u'rot_set-__prefix__-rotfrom': [u''], u'rot_set-2-rottimemnt': [u''], u'rot_set-1-rotkm': [u''], u'rot_set-0-rotkm': [u''], u'_save': [u'Save'], u'rot_set-__prefix__-rotto': [u''], u'rot_set-0-rottimemnt': [u''], u'rot_set-3-rotprice': [u''], u'rot_set-2-rotlin': [u'40'], u'rot_set-0-rotisactive': [u'on'], u'rot_set-__prefix__-rotisactive': [u'on'], u'rot_set-4-rotisactive': [u'on'], u'rot_set-__prefix__-rotkm': [u''], u'csrfmiddlewaretoken': [u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'], u'rot_set-3-rotfrom': [u'832'], u'rot_set-0-rotto': [u'828'], u'linbsn': [u'867'], u'rot_set-__prefix__-rotlin': [u'40'], u'rot_set-4-rottimemnt': [u''], u'rot_set-2-rotisactive': [u'on'], u'rot_set-2-rotfrom': [u'829'], u'rot_set-4-rotkm': [u''], u'rot_set-4-rotto': [u'831'], u'rot_set-INITIAL_FORMS': [u'5'], u'rot_set-1-rotprice': [u''], u'rot_set-3-rotlin': [u'40'], u'rot_set-4-rotprice': [u''], u'rot_set-0-rotprice': [u''], u'rot_set-__prefix__-rottimemnt': [u''], u'rot_set-4-rotfrom': [u'830'], u'rot_set-3-rotkm': [u''], u'rot_set-TOTAL_FORMS': [u'5'], u'rot_set-3-rotisactive': [u'on'], u'rot_set-1-rottimemnt': [u''], u'rot_set-1-rotfrom': [u'828'], u'rot_set-2-rotprice': [u''], u'rot_set-3-rotto': [u'830'], u'rot_set-1-rotlin': [u'40'], u'rot_set-4-rotlin': [u'40']}></pre></td>
|
|---|
| 1384 | </tr>
|
|---|
| 1385 |
|
|---|
| 1386 | </tbody>
|
|---|
| 1387 | </table>
|
|---|
| 1388 |
|
|---|
| 1389 | </li>
|
|---|
| 1390 |
|
|---|
| 1391 | <li class="frame django">
|
|---|
| 1392 | <code>C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\forms\formsets.py</code> in <code>__init__</code>
|
|---|
| 1393 |
|
|---|
| 1394 |
|
|---|
| 1395 | <div class="context" id="c51849376">
|
|---|
| 1396 |
|
|---|
| 1397 | <ol start="43" class="pre-context" id="pre51849376"><li onclick="toggle('pre51849376', 'post51849376')"><pre> self.data = data or {}</pre></li><li onclick="toggle('pre51849376', 'post51849376')"><pre> self.files = files or {}</pre></li><li onclick="toggle('pre51849376', 'post51849376')"><pre> self.initial = initial</pre></li><li onclick="toggle('pre51849376', 'post51849376')"><pre> self.error_class = error_class</pre></li><li onclick="toggle('pre51849376', 'post51849376')"><pre> self._errors = None</pre></li><li onclick="toggle('pre51849376', 'post51849376')"><pre> self._non_form_errors = None</pre></li><li onclick="toggle('pre51849376', 'post51849376')"><pre> # construct the forms in the formset</pre></li></ol>
|
|---|
| 1398 |
|
|---|
| 1399 | <ol start="50" class="context-line"><li onclick="toggle('pre51849376', 'post51849376')"><pre> self._construct_forms()</pre> <span>...</span></li></ol>
|
|---|
| 1400 |
|
|---|
| 1401 | <ol start='51' class="post-context" id="post51849376"><li onclick="toggle('pre51849376', 'post51849376')"><pre></pre></li><li onclick="toggle('pre51849376', 'post51849376')"><pre> def __unicode__(self):</pre></li><li onclick="toggle('pre51849376', 'post51849376')"><pre> return self.as_table()</pre></li><li onclick="toggle('pre51849376', 'post51849376')"><pre></pre></li><li onclick="toggle('pre51849376', 'post51849376')"><pre> def __iter__(self):</pre></li><li onclick="toggle('pre51849376', 'post51849376')"><pre> """Yields the forms in the order they should be rendered"""</pre></li></ol>
|
|---|
| 1402 |
|
|---|
| 1403 | </div>
|
|---|
| 1404 |
|
|---|
| 1405 |
|
|---|
| 1406 |
|
|---|
| 1407 | <div class="commands">
|
|---|
| 1408 |
|
|---|
| 1409 | <a href="#" onclick="return varToggle(this, '51849376')"><span>▶</span> Local vars</a>
|
|---|
| 1410 |
|
|---|
| 1411 | </div>
|
|---|
| 1412 | <table class="vars" id="v51849376">
|
|---|
| 1413 | <thead>
|
|---|
| 1414 | <tr>
|
|---|
| 1415 | <th>Variable</th>
|
|---|
| 1416 | <th>Value</th>
|
|---|
| 1417 | </tr>
|
|---|
| 1418 | </thead>
|
|---|
| 1419 | <tbody>
|
|---|
| 1420 |
|
|---|
| 1421 | <tr>
|
|---|
| 1422 | <td>auto_id</td>
|
|---|
| 1423 | <td class="code"><pre>'id_%s'</pre></td>
|
|---|
| 1424 | </tr>
|
|---|
| 1425 |
|
|---|
| 1426 | <tr>
|
|---|
| 1427 | <td>files</td>
|
|---|
| 1428 | <td class="code"><pre><MultiValueDict: {}></pre></td>
|
|---|
| 1429 | </tr>
|
|---|
| 1430 |
|
|---|
| 1431 | <tr>
|
|---|
| 1432 | <td>error_class</td>
|
|---|
| 1433 | <td class="code"><pre><class 'django.forms.util.ErrorList'></pre></td>
|
|---|
| 1434 | </tr>
|
|---|
| 1435 |
|
|---|
| 1436 | <tr>
|
|---|
| 1437 | <td>self</td>
|
|---|
| 1438 | <td class="code"><pre><django.forms.formsets.RotFormFormSet object at 0x03171210></pre></td>
|
|---|
| 1439 | </tr>
|
|---|
| 1440 |
|
|---|
| 1441 | <tr>
|
|---|
| 1442 | <td>initial</td>
|
|---|
| 1443 | <td class="code"><pre>None</pre></td>
|
|---|
| 1444 | </tr>
|
|---|
| 1445 |
|
|---|
| 1446 | <tr>
|
|---|
| 1447 | <td>prefix</td>
|
|---|
| 1448 | <td class="code"><pre>'rot_set'</pre></td>
|
|---|
| 1449 | </tr>
|
|---|
| 1450 |
|
|---|
| 1451 | <tr>
|
|---|
| 1452 | <td>data</td>
|
|---|
| 1453 | <td class="code"><pre><QueryDict: {u'rot_set-1-rotto': [u'829'], u'rot_set-2-rotkm': [u''], u'rot_set-__prefix__-rotprice': [u''], u'rot_set-0-rotlin': [u'40'], u'rot_set-MAX_NUM_FORMS': [u''], u'rot_set-0-rotfrom': [u''], u'rot_set-1-rotisactive': [u'on'], u'rot_set-3-rottimemnt': [u''], u'rot_set-2-rotto': [u'832'], u'rot_set-__prefix__-rotfrom': [u''], u'rot_set-2-rottimemnt': [u''], u'rot_set-1-rotkm': [u''], u'rot_set-0-rotkm': [u''], u'_save': [u'Save'], u'rot_set-__prefix__-rotto': [u''], u'rot_set-0-rottimemnt': [u''], u'rot_set-3-rotprice': [u''], u'rot_set-2-rotlin': [u'40'], u'rot_set-0-rotisactive': [u'on'], u'rot_set-__prefix__-rotisactive': [u'on'], u'rot_set-4-rotisactive': [u'on'], u'rot_set-__prefix__-rotkm': [u''], u'csrfmiddlewaretoken': [u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'], u'rot_set-3-rotfrom': [u'832'], u'rot_set-0-rotto': [u'828'], u'linbsn': [u'867'], u'rot_set-__prefix__-rotlin': [u'40'], u'rot_set-4-rottimemnt': [u''], u'rot_set-2-rotisactive': [u'on'], u'rot_set-2-rotfrom': [u'829'], u'rot_set-4-rotkm': [u''], u'rot_set-4-rotto': [u'831'], u'rot_set-INITIAL_FORMS': [u'5'], u'rot_set-1-rotprice': [u''], u'rot_set-3-rotlin': [u'40'], u'rot_set-4-rotprice': [u''], u'rot_set-0-rotprice': [u''], u'rot_set-__prefix__-rottimemnt': [u''], u'rot_set-4-rotfrom': [u'830'], u'rot_set-3-rotkm': [u''], u'rot_set-TOTAL_FORMS': [u'5'], u'rot_set-3-rotisactive': [u'on'], u'rot_set-1-rottimemnt': [u''], u'rot_set-1-rotfrom': [u'828'], u'rot_set-2-rotprice': [u''], u'rot_set-3-rotto': [u'830'], u'rot_set-1-rotlin': [u'40'], u'rot_set-4-rotlin': [u'40']}></pre></td>
|
|---|
| 1454 | </tr>
|
|---|
| 1455 |
|
|---|
| 1456 | </tbody>
|
|---|
| 1457 | </table>
|
|---|
| 1458 |
|
|---|
| 1459 | </li>
|
|---|
| 1460 |
|
|---|
| 1461 | <li class="frame django">
|
|---|
| 1462 | <code>C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\forms\formsets.py</code> in <code>_construct_forms</code>
|
|---|
| 1463 |
|
|---|
| 1464 |
|
|---|
| 1465 | <div class="context" id="c51848056">
|
|---|
| 1466 |
|
|---|
| 1467 | <ol start="108" class="pre-context" id="pre51848056"><li onclick="toggle('pre51848056', 'post51848056')"><pre> initial_forms = self.max_num</pre></li><li onclick="toggle('pre51848056', 'post51848056')"><pre> return initial_forms</pre></li><li onclick="toggle('pre51848056', 'post51848056')"><pre></pre></li><li onclick="toggle('pre51848056', 'post51848056')"><pre> def _construct_forms(self):</pre></li><li onclick="toggle('pre51848056', 'post51848056')"><pre> # instantiate all the forms and put them in self.forms</pre></li><li onclick="toggle('pre51848056', 'post51848056')"><pre> self.forms = []</pre></li><li onclick="toggle('pre51848056', 'post51848056')"><pre> for i in xrange(self.total_form_count()):</pre></li></ol>
|
|---|
| 1468 |
|
|---|
| 1469 | <ol start="115" class="context-line"><li onclick="toggle('pre51848056', 'post51848056')"><pre> self.forms.append(self._construct_form(i))</pre> <span>...</span></li></ol>
|
|---|
| 1470 |
|
|---|
| 1471 | <ol start='116' class="post-context" id="post51848056"><li onclick="toggle('pre51848056', 'post51848056')"><pre></pre></li><li onclick="toggle('pre51848056', 'post51848056')"><pre> def _construct_form(self, i, **kwargs):</pre></li><li onclick="toggle('pre51848056', 'post51848056')"><pre> """</pre></li><li onclick="toggle('pre51848056', 'post51848056')"><pre> Instantiates and returns the i-th form instance in a formset.</pre></li><li onclick="toggle('pre51848056', 'post51848056')"><pre> """</pre></li><li onclick="toggle('pre51848056', 'post51848056')"><pre> defaults = {'auto_id': self.auto_id, 'prefix': self.add_prefix(i)}</pre></li></ol>
|
|---|
| 1472 |
|
|---|
| 1473 | </div>
|
|---|
| 1474 |
|
|---|
| 1475 |
|
|---|
| 1476 |
|
|---|
| 1477 | <div class="commands">
|
|---|
| 1478 |
|
|---|
| 1479 | <a href="#" onclick="return varToggle(this, '51848056')"><span>▶</span> Local vars</a>
|
|---|
| 1480 |
|
|---|
| 1481 | </div>
|
|---|
| 1482 | <table class="vars" id="v51848056">
|
|---|
| 1483 | <thead>
|
|---|
| 1484 | <tr>
|
|---|
| 1485 | <th>Variable</th>
|
|---|
| 1486 | <th>Value</th>
|
|---|
| 1487 | </tr>
|
|---|
| 1488 | </thead>
|
|---|
| 1489 | <tbody>
|
|---|
| 1490 |
|
|---|
| 1491 | <tr>
|
|---|
| 1492 | <td>i</td>
|
|---|
| 1493 | <td class="code"><pre>0</pre></td>
|
|---|
| 1494 | </tr>
|
|---|
| 1495 |
|
|---|
| 1496 | <tr>
|
|---|
| 1497 | <td>self</td>
|
|---|
| 1498 | <td class="code"><pre><django.forms.formsets.RotFormFormSet object at 0x03171210></pre></td>
|
|---|
| 1499 | </tr>
|
|---|
| 1500 |
|
|---|
| 1501 | </tbody>
|
|---|
| 1502 | </table>
|
|---|
| 1503 |
|
|---|
| 1504 | </li>
|
|---|
| 1505 |
|
|---|
| 1506 | <li class="frame django">
|
|---|
| 1507 | <code>C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\forms\models.py</code> in <code>_construct_form</code>
|
|---|
| 1508 |
|
|---|
| 1509 |
|
|---|
| 1510 | <div class="context" id="c51849296">
|
|---|
| 1511 |
|
|---|
| 1512 | <ol start="699" class="pre-context" id="pre51849296"><li onclick="toggle('pre51849296', 'post51849296')"><pre> def initial_form_count(self):</pre></li><li onclick="toggle('pre51849296', 'post51849296')"><pre> if self.save_as_new:</pre></li><li onclick="toggle('pre51849296', 'post51849296')"><pre> return 0</pre></li><li onclick="toggle('pre51849296', 'post51849296')"><pre> return super(BaseInlineFormSet, self).initial_form_count()</pre></li><li onclick="toggle('pre51849296', 'post51849296')"><pre></pre></li><li onclick="toggle('pre51849296', 'post51849296')"><pre></pre></li><li onclick="toggle('pre51849296', 'post51849296')"><pre> def _construct_form(self, i, **kwargs):</pre></li></ol>
|
|---|
| 1513 |
|
|---|
| 1514 | <ol start="706" class="context-line"><li onclick="toggle('pre51849296', 'post51849296')"><pre> form = super(BaseInlineFormSet, self)._construct_form(i, **kwargs)</pre> <span>...</span></li></ol>
|
|---|
| 1515 |
|
|---|
| 1516 | <ol start='707' class="post-context" id="post51849296"><li onclick="toggle('pre51849296', 'post51849296')"><pre> if self.save_as_new:</pre></li><li onclick="toggle('pre51849296', 'post51849296')"><pre> # Remove the primary key from the form's data, we are only</pre></li><li onclick="toggle('pre51849296', 'post51849296')"><pre> # creating new instances</pre></li><li onclick="toggle('pre51849296', 'post51849296')"><pre> form.data[form.add_prefix(self._pk_field.name)] = None</pre></li><li onclick="toggle('pre51849296', 'post51849296')"><pre></pre></li><li onclick="toggle('pre51849296', 'post51849296')"><pre> # Remove the foreign key from the form's data</pre></li></ol>
|
|---|
| 1517 |
|
|---|
| 1518 | </div>
|
|---|
| 1519 |
|
|---|
| 1520 |
|
|---|
| 1521 |
|
|---|
| 1522 | <div class="commands">
|
|---|
| 1523 |
|
|---|
| 1524 | <a href="#" onclick="return varToggle(this, '51849296')"><span>▶</span> Local vars</a>
|
|---|
| 1525 |
|
|---|
| 1526 | </div>
|
|---|
| 1527 | <table class="vars" id="v51849296">
|
|---|
| 1528 | <thead>
|
|---|
| 1529 | <tr>
|
|---|
| 1530 | <th>Variable</th>
|
|---|
| 1531 | <th>Value</th>
|
|---|
| 1532 | </tr>
|
|---|
| 1533 | </thead>
|
|---|
| 1534 | <tbody>
|
|---|
| 1535 |
|
|---|
| 1536 | <tr>
|
|---|
| 1537 | <td>i</td>
|
|---|
| 1538 | <td class="code"><pre>0</pre></td>
|
|---|
| 1539 | </tr>
|
|---|
| 1540 |
|
|---|
| 1541 | <tr>
|
|---|
| 1542 | <td>self</td>
|
|---|
| 1543 | <td class="code"><pre><django.forms.formsets.RotFormFormSet object at 0x03171210></pre></td>
|
|---|
| 1544 | </tr>
|
|---|
| 1545 |
|
|---|
| 1546 | <tr>
|
|---|
| 1547 | <td>kwargs</td>
|
|---|
| 1548 | <td class="code"><pre>{}</pre></td>
|
|---|
| 1549 | </tr>
|
|---|
| 1550 |
|
|---|
| 1551 | </tbody>
|
|---|
| 1552 | </table>
|
|---|
| 1553 |
|
|---|
| 1554 | </li>
|
|---|
| 1555 |
|
|---|
| 1556 | <li class="frame django">
|
|---|
| 1557 | <code>C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\forms\models.py</code> in <code>_construct_form</code>
|
|---|
| 1558 |
|
|---|
| 1559 |
|
|---|
| 1560 | <div class="context" id="c51849176">
|
|---|
| 1561 |
|
|---|
| 1562 | <ol start="436" class="pre-context" id="pre51849176"><li onclick="toggle('pre51849176', 'post51849176')"><pre></pre></li><li onclick="toggle('pre51849176', 'post51849176')"><pre> def _construct_form(self, i, **kwargs):</pre></li><li onclick="toggle('pre51849176', 'post51849176')"><pre> if self.is_bound and i < self.initial_form_count():</pre></li><li onclick="toggle('pre51849176', 'post51849176')"><pre> # Import goes here instead of module-level because importing</pre></li><li onclick="toggle('pre51849176', 'post51849176')"><pre> # django.db has side effects.</pre></li><li onclick="toggle('pre51849176', 'post51849176')"><pre> from django.db import connections</pre></li><li onclick="toggle('pre51849176', 'post51849176')"><pre> pk_key = "%s-%s" % (self.add_prefix(i), self.model._meta.pk.name)</pre></li></ol>
|
|---|
| 1563 |
|
|---|
| 1564 | <ol start="443" class="context-line"><li onclick="toggle('pre51849176', 'post51849176')"><pre> pk = self.data[pk_key]</pre> <span>...</span></li></ol>
|
|---|
| 1565 |
|
|---|
| 1566 | <ol start='444' class="post-context" id="post51849176"><li onclick="toggle('pre51849176', 'post51849176')"><pre> pk_field = self.model._meta.pk</pre></li><li onclick="toggle('pre51849176', 'post51849176')"><pre> pk = pk_field.get_db_prep_lookup('exact', pk,</pre></li><li onclick="toggle('pre51849176', 'post51849176')"><pre> connection=connections[self.get_queryset().db])</pre></li><li onclick="toggle('pre51849176', 'post51849176')"><pre> if isinstance(pk, list):</pre></li><li onclick="toggle('pre51849176', 'post51849176')"><pre> pk = pk[0]</pre></li><li onclick="toggle('pre51849176', 'post51849176')"><pre> kwargs['instance'] = self._existing_object(pk)</pre></li></ol>
|
|---|
| 1567 |
|
|---|
| 1568 | </div>
|
|---|
| 1569 |
|
|---|
| 1570 |
|
|---|
| 1571 |
|
|---|
| 1572 | <div class="commands">
|
|---|
| 1573 |
|
|---|
| 1574 | <a href="#" onclick="return varToggle(this, '51849176')"><span>▶</span> Local vars</a>
|
|---|
| 1575 |
|
|---|
| 1576 | </div>
|
|---|
| 1577 | <table class="vars" id="v51849176">
|
|---|
| 1578 | <thead>
|
|---|
| 1579 | <tr>
|
|---|
| 1580 | <th>Variable</th>
|
|---|
| 1581 | <th>Value</th>
|
|---|
| 1582 | </tr>
|
|---|
| 1583 | </thead>
|
|---|
| 1584 | <tbody>
|
|---|
| 1585 |
|
|---|
| 1586 | <tr>
|
|---|
| 1587 | <td>connections</td>
|
|---|
| 1588 | <td class="code"><pre><django.db.utils.ConnectionHandler object at 0x02CD2410></pre></td>
|
|---|
| 1589 | </tr>
|
|---|
| 1590 |
|
|---|
| 1591 | <tr>
|
|---|
| 1592 | <td>i</td>
|
|---|
| 1593 | <td class="code"><pre>0</pre></td>
|
|---|
| 1594 | </tr>
|
|---|
| 1595 |
|
|---|
| 1596 | <tr>
|
|---|
| 1597 | <td>self</td>
|
|---|
| 1598 | <td class="code"><pre><django.forms.formsets.RotFormFormSet object at 0x03171210></pre></td>
|
|---|
| 1599 | </tr>
|
|---|
| 1600 |
|
|---|
| 1601 | <tr>
|
|---|
| 1602 | <td>pk_key</td>
|
|---|
| 1603 | <td class="code"><pre>'rot_set-0-rotid'</pre></td>
|
|---|
| 1604 | </tr>
|
|---|
| 1605 |
|
|---|
| 1606 | <tr>
|
|---|
| 1607 | <td>kwargs</td>
|
|---|
| 1608 | <td class="code"><pre>{}</pre></td>
|
|---|
| 1609 | </tr>
|
|---|
| 1610 |
|
|---|
| 1611 | </tbody>
|
|---|
| 1612 | </table>
|
|---|
| 1613 |
|
|---|
| 1614 | </li>
|
|---|
| 1615 |
|
|---|
| 1616 | <li class="frame django">
|
|---|
| 1617 | <code>C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\utils\datastructures.py</code> in <code>__getitem__</code>
|
|---|
| 1618 |
|
|---|
| 1619 |
|
|---|
| 1620 | <div class="context" id="c51850056">
|
|---|
| 1621 |
|
|---|
| 1622 | <ol start="251" class="pre-context" id="pre51850056"><li onclick="toggle('pre51850056', 'post51850056')"><pre> """</pre></li><li onclick="toggle('pre51850056', 'post51850056')"><pre> Returns the last data value for this key, or [] if it's an empty list;</pre></li><li onclick="toggle('pre51850056', 'post51850056')"><pre> raises KeyError if not found.</pre></li><li onclick="toggle('pre51850056', 'post51850056')"><pre> """</pre></li><li onclick="toggle('pre51850056', 'post51850056')"><pre> try:</pre></li><li onclick="toggle('pre51850056', 'post51850056')"><pre> list_ = super(MultiValueDict, self).__getitem__(key)</pre></li><li onclick="toggle('pre51850056', 'post51850056')"><pre> except KeyError:</pre></li></ol>
|
|---|
| 1623 |
|
|---|
| 1624 | <ol start="258" class="context-line"><li onclick="toggle('pre51850056', 'post51850056')"><pre> raise MultiValueDictKeyError("Key %r not found in %r" % (key, self))</pre> <span>...</span></li></ol>
|
|---|
| 1625 |
|
|---|
| 1626 | <ol start='259' class="post-context" id="post51850056"><li onclick="toggle('pre51850056', 'post51850056')"><pre> try:</pre></li><li onclick="toggle('pre51850056', 'post51850056')"><pre> return list_[-1]</pre></li><li onclick="toggle('pre51850056', 'post51850056')"><pre> except IndexError:</pre></li><li onclick="toggle('pre51850056', 'post51850056')"><pre> return []</pre></li><li onclick="toggle('pre51850056', 'post51850056')"><pre></pre></li><li onclick="toggle('pre51850056', 'post51850056')"><pre> def __setitem__(self, key, value):</pre></li></ol>
|
|---|
| 1627 |
|
|---|
| 1628 | </div>
|
|---|
| 1629 |
|
|---|
| 1630 |
|
|---|
| 1631 |
|
|---|
| 1632 | <div class="commands">
|
|---|
| 1633 |
|
|---|
| 1634 | <a href="#" onclick="return varToggle(this, '51850056')"><span>▶</span> Local vars</a>
|
|---|
| 1635 |
|
|---|
| 1636 | </div>
|
|---|
| 1637 | <table class="vars" id="v51850056">
|
|---|
| 1638 | <thead>
|
|---|
| 1639 | <tr>
|
|---|
| 1640 | <th>Variable</th>
|
|---|
| 1641 | <th>Value</th>
|
|---|
| 1642 | </tr>
|
|---|
| 1643 | </thead>
|
|---|
| 1644 | <tbody>
|
|---|
| 1645 |
|
|---|
| 1646 | <tr>
|
|---|
| 1647 | <td>self</td>
|
|---|
| 1648 | <td class="code"><pre><QueryDict: {u'rot_set-1-rotto': [u'829'], u'rot_set-2-rotkm': [u''], u'rot_set-__prefix__-rotprice': [u''], u'rot_set-0-rotlin': [u'40'], u'rot_set-MAX_NUM_FORMS': [u''], u'rot_set-0-rotfrom': [u''], u'rot_set-1-rotisactive': [u'on'], u'rot_set-3-rottimemnt': [u''], u'rot_set-2-rotto': [u'832'], u'rot_set-__prefix__-rotfrom': [u''], u'rot_set-2-rottimemnt': [u''], u'rot_set-1-rotkm': [u''], u'rot_set-0-rotkm': [u''], u'_save': [u'Save'], u'rot_set-__prefix__-rotto': [u''], u'rot_set-0-rottimemnt': [u''], u'rot_set-3-rotprice': [u''], u'rot_set-2-rotlin': [u'40'], u'rot_set-0-rotisactive': [u'on'], u'rot_set-__prefix__-rotisactive': [u'on'], u'rot_set-4-rotisactive': [u'on'], u'rot_set-__prefix__-rotkm': [u''], u'csrfmiddlewaretoken': [u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'], u'rot_set-3-rotfrom': [u'832'], u'rot_set-0-rotto': [u'828'], u'linbsn': [u'867'], u'rot_set-__prefix__-rotlin': [u'40'], u'rot_set-4-rottimemnt': [u''], u'rot_set-2-rotisactive': [u'on'], u'rot_set-2-rotfrom': [u'829'], u'rot_set-4-rotkm': [u''], u'rot_set-4-rotto': [u'831'], u'rot_set-INITIAL_FORMS': [u'5'], u'rot_set-1-rotprice': [u''], u'rot_set-3-rotlin': [u'40'], u'rot_set-4-rotprice': [u''], u'rot_set-0-rotprice': [u''], u'rot_set-__prefix__-rottimemnt': [u''], u'rot_set-4-rotfrom': [u'830'], u'rot_set-3-rotkm': [u''], u'rot_set-TOTAL_FORMS': [u'5'], u'rot_set-3-rotisactive': [u'on'], u'rot_set-1-rottimemnt': [u''], u'rot_set-1-rotfrom': [u'828'], u'rot_set-2-rotprice': [u''], u'rot_set-3-rotto': [u'830'], u'rot_set-1-rotlin': [u'40'], u'rot_set-4-rotlin': [u'40']}></pre></td>
|
|---|
| 1649 | </tr>
|
|---|
| 1650 |
|
|---|
| 1651 | <tr>
|
|---|
| 1652 | <td>key</td>
|
|---|
| 1653 | <td class="code"><pre>'rot_set-0-rotid'</pre></td>
|
|---|
| 1654 | </tr>
|
|---|
| 1655 |
|
|---|
| 1656 | </tbody>
|
|---|
| 1657 | </table>
|
|---|
| 1658 |
|
|---|
| 1659 | </li>
|
|---|
| 1660 |
|
|---|
| 1661 | </ul>
|
|---|
| 1662 | </div>
|
|---|
| 1663 |
|
|---|
| 1664 | <form action="http://dpaste.com/" name="pasteform" id="pasteform" method="post">
|
|---|
| 1665 |
|
|---|
| 1666 | <div id="pastebinTraceback" class="pastebin">
|
|---|
| 1667 | <input type="hidden" name="language" value="PythonConsole">
|
|---|
| 1668 | <input type="hidden" name="title" value="MultiValueDictKeyError at /admin/levi/lin/40/">
|
|---|
| 1669 | <input type="hidden" name="source" value="Django Dpaste Agent">
|
|---|
| 1670 | <input type="hidden" name="poster" value="Django">
|
|---|
| 1671 | <textarea name="content" id="traceback_area" cols="140" rows="25">
|
|---|
| 1672 | Environment:
|
|---|
| 1673 |
|
|---|
| 1674 |
|
|---|
| 1675 | Request Method: POST
|
|---|
| 1676 | Request URL: http://127.0.0.1:8000/admin/levi/lin/40/
|
|---|
| 1677 |
|
|---|
| 1678 | Django Version: 1.4.2
|
|---|
| 1679 | Python Version: 2.7.2
|
|---|
| 1680 | Installed Applications:
|
|---|
| 1681 | ('django.contrib.auth',
|
|---|
| 1682 | 'django.contrib.contenttypes',
|
|---|
| 1683 | 'django.contrib.sessions',
|
|---|
| 1684 | 'django.contrib.sites',
|
|---|
| 1685 | 'django.contrib.messages',
|
|---|
| 1686 | 'django.contrib.staticfiles',
|
|---|
| 1687 | 'django.contrib.admin',
|
|---|
| 1688 | 'levi')
|
|---|
| 1689 | Installed Middleware:
|
|---|
| 1690 | ('django.middleware.common.CommonMiddleware',
|
|---|
| 1691 | 'django.contrib.sessions.middleware.SessionMiddleware',
|
|---|
| 1692 | 'django.middleware.csrf.CsrfViewMiddleware',
|
|---|
| 1693 | 'django.contrib.auth.middleware.AuthenticationMiddleware',
|
|---|
| 1694 | 'django.contrib.messages.middleware.MessageMiddleware')
|
|---|
| 1695 |
|
|---|
| 1696 |
|
|---|
| 1697 | Traceback:
|
|---|
| 1698 | File "C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\core\handlers\base.py" in get_response
|
|---|
| 1699 | 111. response = callback(request, *callback_args, **callback_kwargs)
|
|---|
| 1700 | File "C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\contrib\admin\options.py" in wrapper
|
|---|
| 1701 | 366. return self.admin_site.admin_view(view)(*args, **kwargs)
|
|---|
| 1702 | File "C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\utils\decorators.py" in _wrapped_view
|
|---|
| 1703 | 91. response = view_func(request, *args, **kwargs)
|
|---|
| 1704 | File "C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\views\decorators\cache.py" in _wrapped_view_func
|
|---|
| 1705 | 89. response = view_func(request, *args, **kwargs)
|
|---|
| 1706 | File "C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\contrib\admin\sites.py" in inner
|
|---|
| 1707 | 196. return view(request, *args, **kwargs)
|
|---|
| 1708 | File "C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\utils\decorators.py" in _wrapper
|
|---|
| 1709 | 25. return bound_func(*args, **kwargs)
|
|---|
| 1710 | File "C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\utils\decorators.py" in _wrapped_view
|
|---|
| 1711 | 91. response = view_func(request, *args, **kwargs)
|
|---|
| 1712 | File "C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\utils\decorators.py" in bound_func
|
|---|
| 1713 | 21. return func(self, *args2, **kwargs2)
|
|---|
| 1714 | File "C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\db\transaction.py" in inner
|
|---|
| 1715 | 209. return func(*args, **kwargs)
|
|---|
| 1716 | File "C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\contrib\admin\options.py" in change_view
|
|---|
| 1717 | 1049. queryset=inline.queryset(request))
|
|---|
| 1718 | File "C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\forms\models.py" in __init__
|
|---|
| 1719 | 697. queryset=qs, **kwargs)
|
|---|
| 1720 | File "C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\forms\models.py" in __init__
|
|---|
| 1721 | 424. super(BaseModelFormSet, self).__init__(**defaults)
|
|---|
| 1722 | File "C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\forms\formsets.py" in __init__
|
|---|
| 1723 | 50. self._construct_forms()
|
|---|
| 1724 | File "C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\forms\formsets.py" in _construct_forms
|
|---|
| 1725 | 115. self.forms.append(self._construct_form(i))
|
|---|
| 1726 | File "C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\forms\models.py" in _construct_form
|
|---|
| 1727 | 706. form = super(BaseInlineFormSet, self)._construct_form(i, **kwargs)
|
|---|
| 1728 | File "C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\forms\models.py" in _construct_form
|
|---|
| 1729 | 443. pk = self.data[pk_key]
|
|---|
| 1730 | File "C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\utils\datastructures.py" in __getitem__
|
|---|
| 1731 | 258. raise MultiValueDictKeyError("Key %r not found in %r" % (key, self))
|
|---|
| 1732 |
|
|---|
| 1733 | Exception Type: MultiValueDictKeyError at /admin/levi/lin/40/
|
|---|
| 1734 | Exception Value: "Key 'rot_set-0-rotid' not found in <QueryDict: {u'rot_set-1-rotto': [u'829'], u'rot_set-2-rotkm': [u''], u'rot_set-__prefix__-rotprice': [u''], u'rot_set-0-rotlin': [u'40'], u'rot_set-MAX_NUM_FORMS': [u''], u'rot_set-0-rotfrom': [u''], u'rot_set-1-rotisactive': [u'on'], u'rot_set-3-rottimemnt': [u''], u'rot_set-2-rotto': [u'832'], u'rot_set-__prefix__-rotfrom': [u''], u'rot_set-2-rottimemnt': [u''], u'rot_set-1-rotkm': [u''], u'rot_set-0-rotkm': [u''], u'_save': [u'Save'], u'rot_set-__prefix__-rotto': [u''], u'rot_set-0-rottimemnt': [u''], u'rot_set-3-rotprice': [u''], u'rot_set-2-rotlin': [u'40'], u'rot_set-0-rotisactive': [u'on'], u'rot_set-__prefix__-rotisactive': [u'on'], u'rot_set-4-rotisactive': [u'on'], u'rot_set-__prefix__-rotkm': [u''], u'csrfmiddlewaretoken': [u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'], u'rot_set-3-rotfrom': [u'832'], u'rot_set-0-rotto': [u'828'], u'linbsn': [u'867'], u'rot_set-__prefix__-rotlin': [u'40'], u'rot_set-4-rottimemnt': [u''], u'rot_set-2-rotisactive': [u'on'], u'rot_set-2-rotfrom': [u'829'], u'rot_set-4-rotkm': [u''], u'rot_set-4-rotto': [u'831'], u'rot_set-INITIAL_FORMS': [u'5'], u'rot_set-1-rotprice': [u''], u'rot_set-3-rotlin': [u'40'], u'rot_set-4-rotprice': [u''], u'rot_set-0-rotprice': [u''], u'rot_set-__prefix__-rottimemnt': [u''], u'rot_set-4-rotfrom': [u'830'], u'rot_set-3-rotkm': [u''], u'rot_set-TOTAL_FORMS': [u'5'], u'rot_set-3-rotisactive': [u'on'], u'rot_set-1-rottimemnt': [u''], u'rot_set-1-rotfrom': [u'828'], u'rot_set-2-rotprice': [u''], u'rot_set-3-rotto': [u'830'], u'rot_set-1-rotlin': [u'40'], u'rot_set-4-rotlin': [u'40']}>"
|
|---|
| 1735 | </textarea>
|
|---|
| 1736 | <br><br>
|
|---|
| 1737 | <input type="submit" value="Share this traceback on a public Web site">
|
|---|
| 1738 | </div>
|
|---|
| 1739 | </form>
|
|---|
| 1740 | </div>
|
|---|
| 1741 |
|
|---|
| 1742 |
|
|---|
| 1743 |
|
|---|
| 1744 | <div id="requestinfo">
|
|---|
| 1745 | <h2>Request information</h2>
|
|---|
| 1746 |
|
|---|
| 1747 |
|
|---|
| 1748 | <h3 id="get-info">GET</h3>
|
|---|
| 1749 |
|
|---|
| 1750 | <p>No GET data</p>
|
|---|
| 1751 |
|
|---|
| 1752 |
|
|---|
| 1753 | <h3 id="post-info">POST</h3>
|
|---|
| 1754 |
|
|---|
| 1755 | <table class="req">
|
|---|
| 1756 | <thead>
|
|---|
| 1757 | <tr>
|
|---|
| 1758 | <th>Variable</th>
|
|---|
| 1759 | <th>Value</th>
|
|---|
| 1760 | </tr>
|
|---|
| 1761 | </thead>
|
|---|
| 1762 | <tbody>
|
|---|
| 1763 |
|
|---|
| 1764 | <tr>
|
|---|
| 1765 | <td>rot_set-1-rotto</td>
|
|---|
| 1766 | <td class="code"><pre>u'829'</pre></td>
|
|---|
| 1767 | </tr>
|
|---|
| 1768 |
|
|---|
| 1769 | <tr>
|
|---|
| 1770 | <td>rot_set-2-rotkm</td>
|
|---|
| 1771 | <td class="code"><pre>u''</pre></td>
|
|---|
| 1772 | </tr>
|
|---|
| 1773 |
|
|---|
| 1774 | <tr>
|
|---|
| 1775 | <td>rot_set-__prefix__-rotprice</td>
|
|---|
| 1776 | <td class="code"><pre>u''</pre></td>
|
|---|
| 1777 | </tr>
|
|---|
| 1778 |
|
|---|
| 1779 | <tr>
|
|---|
| 1780 | <td>rot_set-0-rotlin</td>
|
|---|
| 1781 | <td class="code"><pre>u'40'</pre></td>
|
|---|
| 1782 | </tr>
|
|---|
| 1783 |
|
|---|
| 1784 | <tr>
|
|---|
| 1785 | <td>rot_set-MAX_NUM_FORMS</td>
|
|---|
| 1786 | <td class="code"><pre>u''</pre></td>
|
|---|
| 1787 | </tr>
|
|---|
| 1788 |
|
|---|
| 1789 | <tr>
|
|---|
| 1790 | <td>rot_set-0-rotfrom</td>
|
|---|
| 1791 | <td class="code"><pre>u''</pre></td>
|
|---|
| 1792 | </tr>
|
|---|
| 1793 |
|
|---|
| 1794 | <tr>
|
|---|
| 1795 | <td>rot_set-1-rotisactive</td>
|
|---|
| 1796 | <td class="code"><pre>u'on'</pre></td>
|
|---|
| 1797 | </tr>
|
|---|
| 1798 |
|
|---|
| 1799 | <tr>
|
|---|
| 1800 | <td>rot_set-3-rottimemnt</td>
|
|---|
| 1801 | <td class="code"><pre>u''</pre></td>
|
|---|
| 1802 | </tr>
|
|---|
| 1803 |
|
|---|
| 1804 | <tr>
|
|---|
| 1805 | <td>rot_set-2-rotto</td>
|
|---|
| 1806 | <td class="code"><pre>u'832'</pre></td>
|
|---|
| 1807 | </tr>
|
|---|
| 1808 |
|
|---|
| 1809 | <tr>
|
|---|
| 1810 | <td>rot_set-__prefix__-rotfrom</td>
|
|---|
| 1811 | <td class="code"><pre>u''</pre></td>
|
|---|
| 1812 | </tr>
|
|---|
| 1813 |
|
|---|
| 1814 | <tr>
|
|---|
| 1815 | <td>rot_set-2-rottimemnt</td>
|
|---|
| 1816 | <td class="code"><pre>u''</pre></td>
|
|---|
| 1817 | </tr>
|
|---|
| 1818 |
|
|---|
| 1819 | <tr>
|
|---|
| 1820 | <td>rot_set-1-rotkm</td>
|
|---|
| 1821 | <td class="code"><pre>u''</pre></td>
|
|---|
| 1822 | </tr>
|
|---|
| 1823 |
|
|---|
| 1824 | <tr>
|
|---|
| 1825 | <td>rot_set-0-rotkm</td>
|
|---|
| 1826 | <td class="code"><pre>u''</pre></td>
|
|---|
| 1827 | </tr>
|
|---|
| 1828 |
|
|---|
| 1829 | <tr>
|
|---|
| 1830 | <td>_save</td>
|
|---|
| 1831 | <td class="code"><pre>u'Save'</pre></td>
|
|---|
| 1832 | </tr>
|
|---|
| 1833 |
|
|---|
| 1834 | <tr>
|
|---|
| 1835 | <td>rot_set-__prefix__-rotto</td>
|
|---|
| 1836 | <td class="code"><pre>u''</pre></td>
|
|---|
| 1837 | </tr>
|
|---|
| 1838 |
|
|---|
| 1839 | <tr>
|
|---|
| 1840 | <td>rot_set-0-rottimemnt</td>
|
|---|
| 1841 | <td class="code"><pre>u''</pre></td>
|
|---|
| 1842 | </tr>
|
|---|
| 1843 |
|
|---|
| 1844 | <tr>
|
|---|
| 1845 | <td>rot_set-3-rotprice</td>
|
|---|
| 1846 | <td class="code"><pre>u''</pre></td>
|
|---|
| 1847 | </tr>
|
|---|
| 1848 |
|
|---|
| 1849 | <tr>
|
|---|
| 1850 | <td>rot_set-2-rotlin</td>
|
|---|
| 1851 | <td class="code"><pre>u'40'</pre></td>
|
|---|
| 1852 | </tr>
|
|---|
| 1853 |
|
|---|
| 1854 | <tr>
|
|---|
| 1855 | <td>rot_set-0-rotisactive</td>
|
|---|
| 1856 | <td class="code"><pre>u'on'</pre></td>
|
|---|
| 1857 | </tr>
|
|---|
| 1858 |
|
|---|
| 1859 | <tr>
|
|---|
| 1860 | <td>rot_set-__prefix__-rotisactive</td>
|
|---|
| 1861 | <td class="code"><pre>u'on'</pre></td>
|
|---|
| 1862 | </tr>
|
|---|
| 1863 |
|
|---|
| 1864 | <tr>
|
|---|
| 1865 | <td>rot_set-4-rotisactive</td>
|
|---|
| 1866 | <td class="code"><pre>u'on'</pre></td>
|
|---|
| 1867 | </tr>
|
|---|
| 1868 |
|
|---|
| 1869 | <tr>
|
|---|
| 1870 | <td>rot_set-__prefix__-rotkm</td>
|
|---|
| 1871 | <td class="code"><pre>u''</pre></td>
|
|---|
| 1872 | </tr>
|
|---|
| 1873 |
|
|---|
| 1874 | <tr>
|
|---|
| 1875 | <td>csrfmiddlewaretoken</td>
|
|---|
| 1876 | <td class="code"><pre>u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'</pre></td>
|
|---|
| 1877 | </tr>
|
|---|
| 1878 |
|
|---|
| 1879 | <tr>
|
|---|
| 1880 | <td>rot_set-3-rotfrom</td>
|
|---|
| 1881 | <td class="code"><pre>u'832'</pre></td>
|
|---|
| 1882 | </tr>
|
|---|
| 1883 |
|
|---|
| 1884 | <tr>
|
|---|
| 1885 | <td>rot_set-0-rotto</td>
|
|---|
| 1886 | <td class="code"><pre>u'828'</pre></td>
|
|---|
| 1887 | </tr>
|
|---|
| 1888 |
|
|---|
| 1889 | <tr>
|
|---|
| 1890 | <td>linbsn</td>
|
|---|
| 1891 | <td class="code"><pre>u'867'</pre></td>
|
|---|
| 1892 | </tr>
|
|---|
| 1893 |
|
|---|
| 1894 | <tr>
|
|---|
| 1895 | <td>rot_set-__prefix__-rotlin</td>
|
|---|
| 1896 | <td class="code"><pre>u'40'</pre></td>
|
|---|
| 1897 | </tr>
|
|---|
| 1898 |
|
|---|
| 1899 | <tr>
|
|---|
| 1900 | <td>rot_set-4-rottimemnt</td>
|
|---|
| 1901 | <td class="code"><pre>u''</pre></td>
|
|---|
| 1902 | </tr>
|
|---|
| 1903 |
|
|---|
| 1904 | <tr>
|
|---|
| 1905 | <td>rot_set-2-rotisactive</td>
|
|---|
| 1906 | <td class="code"><pre>u'on'</pre></td>
|
|---|
| 1907 | </tr>
|
|---|
| 1908 |
|
|---|
| 1909 | <tr>
|
|---|
| 1910 | <td>rot_set-2-rotfrom</td>
|
|---|
| 1911 | <td class="code"><pre>u'829'</pre></td>
|
|---|
| 1912 | </tr>
|
|---|
| 1913 |
|
|---|
| 1914 | <tr>
|
|---|
| 1915 | <td>rot_set-4-rotkm</td>
|
|---|
| 1916 | <td class="code"><pre>u''</pre></td>
|
|---|
| 1917 | </tr>
|
|---|
| 1918 |
|
|---|
| 1919 | <tr>
|
|---|
| 1920 | <td>rot_set-4-rotto</td>
|
|---|
| 1921 | <td class="code"><pre>u'831'</pre></td>
|
|---|
| 1922 | </tr>
|
|---|
| 1923 |
|
|---|
| 1924 | <tr>
|
|---|
| 1925 | <td>rot_set-INITIAL_FORMS</td>
|
|---|
| 1926 | <td class="code"><pre>u'5'</pre></td>
|
|---|
| 1927 | </tr>
|
|---|
| 1928 |
|
|---|
| 1929 | <tr>
|
|---|
| 1930 | <td>rot_set-1-rotprice</td>
|
|---|
| 1931 | <td class="code"><pre>u''</pre></td>
|
|---|
| 1932 | </tr>
|
|---|
| 1933 |
|
|---|
| 1934 | <tr>
|
|---|
| 1935 | <td>rot_set-3-rotlin</td>
|
|---|
| 1936 | <td class="code"><pre>u'40'</pre></td>
|
|---|
| 1937 | </tr>
|
|---|
| 1938 |
|
|---|
| 1939 | <tr>
|
|---|
| 1940 | <td>rot_set-4-rotprice</td>
|
|---|
| 1941 | <td class="code"><pre>u''</pre></td>
|
|---|
| 1942 | </tr>
|
|---|
| 1943 |
|
|---|
| 1944 | <tr>
|
|---|
| 1945 | <td>rot_set-0-rotprice</td>
|
|---|
| 1946 | <td class="code"><pre>u''</pre></td>
|
|---|
| 1947 | </tr>
|
|---|
| 1948 |
|
|---|
| 1949 | <tr>
|
|---|
| 1950 | <td>rot_set-__prefix__-rottimemnt</td>
|
|---|
| 1951 | <td class="code"><pre>u''</pre></td>
|
|---|
| 1952 | </tr>
|
|---|
| 1953 |
|
|---|
| 1954 | <tr>
|
|---|
| 1955 | <td>rot_set-4-rotfrom</td>
|
|---|
| 1956 | <td class="code"><pre>u'830'</pre></td>
|
|---|
| 1957 | </tr>
|
|---|
| 1958 |
|
|---|
| 1959 | <tr>
|
|---|
| 1960 | <td>rot_set-3-rotkm</td>
|
|---|
| 1961 | <td class="code"><pre>u''</pre></td>
|
|---|
| 1962 | </tr>
|
|---|
| 1963 |
|
|---|
| 1964 | <tr>
|
|---|
| 1965 | <td>rot_set-TOTAL_FORMS</td>
|
|---|
| 1966 | <td class="code"><pre>u'5'</pre></td>
|
|---|
| 1967 | </tr>
|
|---|
| 1968 |
|
|---|
| 1969 | <tr>
|
|---|
| 1970 | <td>rot_set-3-rotisactive</td>
|
|---|
| 1971 | <td class="code"><pre>u'on'</pre></td>
|
|---|
| 1972 | </tr>
|
|---|
| 1973 |
|
|---|
| 1974 | <tr>
|
|---|
| 1975 | <td>rot_set-1-rottimemnt</td>
|
|---|
| 1976 | <td class="code"><pre>u''</pre></td>
|
|---|
| 1977 | </tr>
|
|---|
| 1978 |
|
|---|
| 1979 | <tr>
|
|---|
| 1980 | <td>rot_set-1-rotfrom</td>
|
|---|
| 1981 | <td class="code"><pre>u'828'</pre></td>
|
|---|
| 1982 | </tr>
|
|---|
| 1983 |
|
|---|
| 1984 | <tr>
|
|---|
| 1985 | <td>rot_set-2-rotprice</td>
|
|---|
| 1986 | <td class="code"><pre>u''</pre></td>
|
|---|
| 1987 | </tr>
|
|---|
| 1988 |
|
|---|
| 1989 | <tr>
|
|---|
| 1990 | <td>rot_set-3-rotto</td>
|
|---|
| 1991 | <td class="code"><pre>u'830'</pre></td>
|
|---|
| 1992 | </tr>
|
|---|
| 1993 |
|
|---|
| 1994 | <tr>
|
|---|
| 1995 | <td>rot_set-1-rotlin</td>
|
|---|
| 1996 | <td class="code"><pre>u'40'</pre></td>
|
|---|
| 1997 | </tr>
|
|---|
| 1998 |
|
|---|
| 1999 | <tr>
|
|---|
| 2000 | <td>rot_set-4-rotlin</td>
|
|---|
| 2001 | <td class="code"><pre>u'40'</pre></td>
|
|---|
| 2002 | </tr>
|
|---|
| 2003 |
|
|---|
| 2004 | </tbody>
|
|---|
| 2005 | </table>
|
|---|
| 2006 |
|
|---|
| 2007 | <h3 id="files-info">FILES</h3>
|
|---|
| 2008 |
|
|---|
| 2009 | <p>No FILES data</p>
|
|---|
| 2010 |
|
|---|
| 2011 |
|
|---|
| 2012 |
|
|---|
| 2013 | <h3 id="cookie-info">COOKIES</h3>
|
|---|
| 2014 |
|
|---|
| 2015 | <table class="req">
|
|---|
| 2016 | <thead>
|
|---|
| 2017 | <tr>
|
|---|
| 2018 | <th>Variable</th>
|
|---|
| 2019 | <th>Value</th>
|
|---|
| 2020 | </tr>
|
|---|
| 2021 | </thead>
|
|---|
| 2022 | <tbody>
|
|---|
| 2023 |
|
|---|
| 2024 | <tr>
|
|---|
| 2025 | <td>csrftoken</td>
|
|---|
| 2026 | <td class="code"><pre>'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'</pre></td>
|
|---|
| 2027 | </tr>
|
|---|
| 2028 |
|
|---|
| 2029 | <tr>
|
|---|
| 2030 | <td>sessionid</td>
|
|---|
| 2031 | <td class="code"><pre>'b294a764b7bad938401f98691c0d8d3d'</pre></td>
|
|---|
| 2032 | </tr>
|
|---|
| 2033 |
|
|---|
| 2034 | </tbody>
|
|---|
| 2035 | </table>
|
|---|
| 2036 |
|
|---|
| 2037 |
|
|---|
| 2038 | <h3 id="meta-info">META</h3>
|
|---|
| 2039 | <table class="req">
|
|---|
| 2040 | <thead>
|
|---|
| 2041 | <tr>
|
|---|
| 2042 | <th>Variable</th>
|
|---|
| 2043 | <th>Value</th>
|
|---|
| 2044 | </tr>
|
|---|
| 2045 | </thead>
|
|---|
| 2046 | <tbody>
|
|---|
| 2047 |
|
|---|
| 2048 | <tr>
|
|---|
| 2049 | <td>TMP</td>
|
|---|
| 2050 | <td class="code"><pre>'C:\\Users\\ADAMPA~1\\AppData\\Local\\Temp'</pre></td>
|
|---|
| 2051 | </tr>
|
|---|
| 2052 |
|
|---|
| 2053 | <tr>
|
|---|
| 2054 | <td>PYTHONIOENCODING</td>
|
|---|
| 2055 | <td class="code"><pre>'UTF-8'</pre></td>
|
|---|
| 2056 | </tr>
|
|---|
| 2057 |
|
|---|
| 2058 | <tr>
|
|---|
| 2059 | <td>COMPUTERNAME</td>
|
|---|
| 2060 | <td class="code"><pre>'ADAMPAHLEVID59C'</pre></td>
|
|---|
| 2061 | </tr>
|
|---|
| 2062 |
|
|---|
| 2063 | <tr>
|
|---|
| 2064 | <td>wsgi.multiprocess</td>
|
|---|
| 2065 | <td class="code"><pre>False</pre></td>
|
|---|
| 2066 | </tr>
|
|---|
| 2067 |
|
|---|
| 2068 | <tr>
|
|---|
| 2069 | <td>VS110COMNTOOLS</td>
|
|---|
| 2070 | <td class="code"><pre>'C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\Common7\\Tools\\'</pre></td>
|
|---|
| 2071 | </tr>
|
|---|
| 2072 |
|
|---|
| 2073 | <tr>
|
|---|
| 2074 | <td>HTTP_REFERER</td>
|
|---|
| 2075 | <td class="code"><pre>'http://127.0.0.1:8000/admin/levi/lin/40/'</pre></td>
|
|---|
| 2076 | </tr>
|
|---|
| 2077 |
|
|---|
| 2078 | <tr>
|
|---|
| 2079 | <td>USERDOMAIN</td>
|
|---|
| 2080 | <td class="code"><pre>'ADAMPAHLEVID59C'</pre></td>
|
|---|
| 2081 | </tr>
|
|---|
| 2082 |
|
|---|
| 2083 | <tr>
|
|---|
| 2084 | <td>SERVER_PROTOCOL</td>
|
|---|
| 2085 | <td class="code"><pre>'HTTP/1.1'</pre></td>
|
|---|
| 2086 | </tr>
|
|---|
| 2087 |
|
|---|
| 2088 | <tr>
|
|---|
| 2089 | <td>SERVER_SOFTWARE</td>
|
|---|
| 2090 | <td class="code"><pre>'WSGIServer/0.1 Python/2.7.2'</pre></td>
|
|---|
| 2091 | </tr>
|
|---|
| 2092 |
|
|---|
| 2093 | <tr>
|
|---|
| 2094 | <td>PSMODULEPATH</td>
|
|---|
| 2095 | <td class="code"><pre>'C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\PowerShell\\Modules\\'</pre></td>
|
|---|
| 2096 | </tr>
|
|---|
| 2097 |
|
|---|
| 2098 | <tr>
|
|---|
| 2099 | <td>SCRIPT_NAME</td>
|
|---|
| 2100 | <td class="code"><pre>u''</pre></td>
|
|---|
| 2101 | </tr>
|
|---|
| 2102 |
|
|---|
| 2103 | <tr>
|
|---|
| 2104 | <td>COMMONPROGRAMFILES</td>
|
|---|
| 2105 | <td class="code"><pre>'C:\\Program Files (x86)\\Common Files'</pre></td>
|
|---|
| 2106 | </tr>
|
|---|
| 2107 |
|
|---|
| 2108 | <tr>
|
|---|
| 2109 | <td>PROCESSOR_IDENTIFIER</td>
|
|---|
| 2110 | <td class="code"><pre>'Intel64 Family 6 Model 58 Stepping 9, GenuineIntel'</pre></td>
|
|---|
| 2111 | </tr>
|
|---|
| 2112 |
|
|---|
| 2113 | <tr>
|
|---|
| 2114 | <td>REQUEST_METHOD</td>
|
|---|
| 2115 | <td class="code"><pre>'POST'</pre></td>
|
|---|
| 2116 | </tr>
|
|---|
| 2117 |
|
|---|
| 2118 | <tr>
|
|---|
| 2119 | <td>PROGRAMFILES</td>
|
|---|
| 2120 | <td class="code"><pre>'C:\\Program Files (x86)'</pre></td>
|
|---|
| 2121 | </tr>
|
|---|
| 2122 |
|
|---|
| 2123 | <tr>
|
|---|
| 2124 | <td>PROCESSOR_REVISION</td>
|
|---|
| 2125 | <td class="code"><pre>'3a09'</pre></td>
|
|---|
| 2126 | </tr>
|
|---|
| 2127 |
|
|---|
| 2128 | <tr>
|
|---|
| 2129 | <td>SYSTEMROOT</td>
|
|---|
| 2130 | <td class="code"><pre>'C:\\Windows'</pre></td>
|
|---|
| 2131 | </tr>
|
|---|
| 2132 |
|
|---|
| 2133 | <tr>
|
|---|
| 2134 | <td>QUERY_STRING</td>
|
|---|
| 2135 | <td class="code"><pre>''</pre></td>
|
|---|
| 2136 | </tr>
|
|---|
| 2137 |
|
|---|
| 2138 | <tr>
|
|---|
| 2139 | <td>PATH</td>
|
|---|
| 2140 | <td class="code"><pre>'C:\\Program Files (x86)\\JetBrains\\PyCharm 2.7.3\\bin\\..\\.\\bin;C:\\Python27\\;C:\\Python27\\Scripts;C:\\Python32\\;C:\\Python32\\Scripts;C:\\Program Files (x86)\\Parallels\\Parallels Tools\\Applications;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Windows Kits\\8.0\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Python33;C:\\Python33\\Scripts;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\ManagementStudio\\;C:\\Program Files\\Microsoft\\Web Platform Installer\\;C:\\Program Files (x86)\\Microsoft ASP.NET\\ASP.NET Web Pages\\v1.0\\;C:\\Python27\\;C:\\Python27\\Scripts;C:\\Python32\\;C:\\Python32\\Scripts;C:\\Program Files (x86)\\Parallels\\Parallels Tools\\Applications;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Windows Kits\\8.0\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Python33;C:\\Python33\\Scripts;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\ManagementStudio\\;C:\\Program Files\\Microsoft\\Web Platform Installer\\;C:\\Program Files (x86)\\Microsoft ASP.NET\\ASP.NET Web Pages\\v1.0\\;C:\\Users\\adampahlevi\\AppData\\Roaming\\Python\\Scripts;c:\\program files (x86)\\jetbrains\\pycharm 2.7.3\\jre\\jre\\bin'</pre></td>
|
|---|
| 2141 | </tr>
|
|---|
| 2142 |
|
|---|
| 2143 | <tr>
|
|---|
| 2144 | <td>PYTHONUNBUFFERED</td>
|
|---|
| 2145 | <td class="code"><pre>'1'</pre></td>
|
|---|
| 2146 | </tr>
|
|---|
| 2147 |
|
|---|
| 2148 | <tr>
|
|---|
| 2149 | <td>PROGRAMFILES(X86)</td>
|
|---|
| 2150 | <td class="code"><pre>'C:\\Program Files (x86)'</pre></td>
|
|---|
| 2151 | </tr>
|
|---|
| 2152 |
|
|---|
| 2153 | <tr>
|
|---|
| 2154 | <td>RUN_MAIN</td>
|
|---|
| 2155 | <td class="code"><pre>'true'</pre></td>
|
|---|
| 2156 | </tr>
|
|---|
| 2157 |
|
|---|
| 2158 | <tr>
|
|---|
| 2159 | <td>CONTENT_LENGTH</td>
|
|---|
| 2160 | <td class="code"><pre>'5296'</pre></td>
|
|---|
| 2161 | </tr>
|
|---|
| 2162 |
|
|---|
| 2163 | <tr>
|
|---|
| 2164 | <td>HTTP_USER_AGENT</td>
|
|---|
| 2165 | <td class="code"><pre>'Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0'</pre></td>
|
|---|
| 2166 | </tr>
|
|---|
| 2167 |
|
|---|
| 2168 | <tr>
|
|---|
| 2169 | <td>DJANGO_SETTINGS_MODULE</td>
|
|---|
| 2170 | <td class="code"><pre>'levipy.settings'</pre></td>
|
|---|
| 2171 | </tr>
|
|---|
| 2172 |
|
|---|
| 2173 | <tr>
|
|---|
| 2174 | <td>HTTP_COOKIE</td>
|
|---|
| 2175 | <td class="code"><pre>'csrftoken=C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd; sessionid=b294a764b7bad938401f98691c0d8d3d'</pre></td>
|
|---|
| 2176 | </tr>
|
|---|
| 2177 |
|
|---|
| 2178 | <tr>
|
|---|
| 2179 | <td>TEMP</td>
|
|---|
| 2180 | <td class="code"><pre>'C:\\Users\\ADAMPA~1\\AppData\\Local\\Temp'</pre></td>
|
|---|
| 2181 | </tr>
|
|---|
| 2182 |
|
|---|
| 2183 | <tr>
|
|---|
| 2184 | <td>REMOTE_ADDR</td>
|
|---|
| 2185 | <td class="code"><pre>'127.0.0.1'</pre></td>
|
|---|
| 2186 | </tr>
|
|---|
| 2187 |
|
|---|
| 2188 | <tr>
|
|---|
| 2189 | <td>COMMONPROGRAMFILES(X86)</td>
|
|---|
| 2190 | <td class="code"><pre>'C:\\Program Files (x86)\\Common Files'</pre></td>
|
|---|
| 2191 | </tr>
|
|---|
| 2192 |
|
|---|
| 2193 | <tr>
|
|---|
| 2194 | <td>PROCESSOR_ARCHITECTURE</td>
|
|---|
| 2195 | <td class="code"><pre>'x86'</pre></td>
|
|---|
| 2196 | </tr>
|
|---|
| 2197 |
|
|---|
| 2198 | <tr>
|
|---|
| 2199 | <td>wsgi.url_scheme</td>
|
|---|
| 2200 | <td class="code"><pre>'http'</pre></td>
|
|---|
| 2201 | </tr>
|
|---|
| 2202 |
|
|---|
| 2203 | <tr>
|
|---|
| 2204 | <td>ALLUSERSPROFILE</td>
|
|---|
| 2205 | <td class="code"><pre>'C:\\ProgramData'</pre></td>
|
|---|
| 2206 | </tr>
|
|---|
| 2207 |
|
|---|
| 2208 | <tr>
|
|---|
| 2209 | <td>SERVER_PORT</td>
|
|---|
| 2210 | <td class="code"><pre>'8000'</pre></td>
|
|---|
| 2211 | </tr>
|
|---|
| 2212 |
|
|---|
| 2213 | <tr>
|
|---|
| 2214 | <td>LOCALAPPDATA</td>
|
|---|
| 2215 | <td class="code"><pre>'C:\\Users\\adampahlevi\\AppData\\Local'</pre></td>
|
|---|
| 2216 | </tr>
|
|---|
| 2217 |
|
|---|
| 2218 | <tr>
|
|---|
| 2219 | <td>HOMEPATH</td>
|
|---|
| 2220 | <td class="code"><pre>'\\Users\\adampahlevi'</pre></td>
|
|---|
| 2221 | </tr>
|
|---|
| 2222 |
|
|---|
| 2223 | <tr>
|
|---|
| 2224 | <td>USERDOMAIN_ROAMINGPROFILE</td>
|
|---|
| 2225 | <td class="code"><pre>'ADAMPAHLEVID59C'</pre></td>
|
|---|
| 2226 | </tr>
|
|---|
| 2227 |
|
|---|
| 2228 | <tr>
|
|---|
| 2229 | <td>PROGRAMW6432</td>
|
|---|
| 2230 | <td class="code"><pre>'C:\\Program Files'</pre></td>
|
|---|
| 2231 | </tr>
|
|---|
| 2232 |
|
|---|
| 2233 | <tr>
|
|---|
| 2234 | <td>USERNAME</td>
|
|---|
| 2235 | <td class="code"><pre>'adampahlevi'</pre></td>
|
|---|
| 2236 | </tr>
|
|---|
| 2237 |
|
|---|
| 2238 | <tr>
|
|---|
| 2239 | <td>HTTP_ACCEPT</td>
|
|---|
| 2240 | <td class="code"><pre>'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'</pre></td>
|
|---|
| 2241 | </tr>
|
|---|
| 2242 |
|
|---|
| 2243 | <tr>
|
|---|
| 2244 | <td>LOGONSERVER</td>
|
|---|
| 2245 | <td class="code"><pre>'\\\\ADAMPAHLEVID59C'</pre></td>
|
|---|
| 2246 | </tr>
|
|---|
| 2247 |
|
|---|
| 2248 | <tr>
|
|---|
| 2249 | <td>COMSPEC</td>
|
|---|
| 2250 | <td class="code"><pre>'C:\\Windows\\system32\\cmd.exe'</pre></td>
|
|---|
| 2251 | </tr>
|
|---|
| 2252 |
|
|---|
| 2253 | <tr>
|
|---|
| 2254 | <td>PROGRAMDATA</td>
|
|---|
| 2255 | <td class="code"><pre>'C:\\ProgramData'</pre></td>
|
|---|
| 2256 | </tr>
|
|---|
| 2257 |
|
|---|
| 2258 | <tr>
|
|---|
| 2259 | <td>PYTHONPATH</td>
|
|---|
| 2260 | <td class="code"><pre>'Z:\\Documents\\prolog\\django\\levipy'</pre></td>
|
|---|
| 2261 | </tr>
|
|---|
| 2262 |
|
|---|
| 2263 | <tr>
|
|---|
| 2264 | <td>wsgi.multithread</td>
|
|---|
| 2265 | <td class="code"><pre>True</pre></td>
|
|---|
| 2266 | </tr>
|
|---|
| 2267 |
|
|---|
| 2268 | <tr>
|
|---|
| 2269 | <td>CSRF_COOKIE</td>
|
|---|
| 2270 | <td class="code"><pre>'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'</pre></td>
|
|---|
| 2271 | </tr>
|
|---|
| 2272 |
|
|---|
| 2273 | <tr>
|
|---|
| 2274 | <td>wsgi.input</td>
|
|---|
| 2275 | <td class="code"><pre><socket._fileobject object at 0x02FE8B30></pre></td>
|
|---|
| 2276 | </tr>
|
|---|
| 2277 |
|
|---|
| 2278 | <tr>
|
|---|
| 2279 | <td>HTTP_CONNECTION</td>
|
|---|
| 2280 | <td class="code"><pre>'keep-alive'</pre></td>
|
|---|
| 2281 | </tr>
|
|---|
| 2282 |
|
|---|
| 2283 | <tr>
|
|---|
| 2284 | <td>HTTP_HOST</td>
|
|---|
| 2285 | <td class="code"><pre>'127.0.0.1:8000'</pre></td>
|
|---|
| 2286 | </tr>
|
|---|
| 2287 |
|
|---|
| 2288 | <tr>
|
|---|
| 2289 | <td>SESSIONNAME</td>
|
|---|
| 2290 | <td class="code"><pre>'Console'</pre></td>
|
|---|
| 2291 | </tr>
|
|---|
| 2292 |
|
|---|
| 2293 | <tr>
|
|---|
| 2294 | <td>PATHEXT</td>
|
|---|
| 2295 | <td class="code"><pre>'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py;.pyw'</pre></td>
|
|---|
| 2296 | </tr>
|
|---|
| 2297 |
|
|---|
| 2298 | <tr>
|
|---|
| 2299 | <td>PATH_INFO</td>
|
|---|
| 2300 | <td class="code"><pre>u'/admin/levi/lin/40/'</pre></td>
|
|---|
| 2301 | </tr>
|
|---|
| 2302 |
|
|---|
| 2303 | <tr>
|
|---|
| 2304 | <td>FP_NO_HOST_CHECK</td>
|
|---|
| 2305 | <td class="code"><pre>'NO'</pre></td>
|
|---|
| 2306 | </tr>
|
|---|
| 2307 |
|
|---|
| 2308 | <tr>
|
|---|
| 2309 | <td>WINDIR</td>
|
|---|
| 2310 | <td class="code"><pre>'C:\\Windows'</pre></td>
|
|---|
| 2311 | </tr>
|
|---|
| 2312 |
|
|---|
| 2313 | <tr>
|
|---|
| 2314 | <td>wsgi.file_wrapper</td>
|
|---|
| 2315 | <td class="code"><pre>''</pre></td>
|
|---|
| 2316 | </tr>
|
|---|
| 2317 |
|
|---|
| 2318 | <tr>
|
|---|
| 2319 | <td>HTTP_ACCEPT_ENCODING</td>
|
|---|
| 2320 | <td class="code"><pre>'gzip, deflate'</pre></td>
|
|---|
| 2321 | </tr>
|
|---|
| 2322 |
|
|---|
| 2323 | <tr>
|
|---|
| 2324 | <td>wsgi.version</td>
|
|---|
| 2325 | <td class="code"><pre>(1, 0)</pre></td>
|
|---|
| 2326 | </tr>
|
|---|
| 2327 |
|
|---|
| 2328 | <tr>
|
|---|
| 2329 | <td>HOMEDRIVE</td>
|
|---|
| 2330 | <td class="code"><pre>'C:'</pre></td>
|
|---|
| 2331 | </tr>
|
|---|
| 2332 |
|
|---|
| 2333 | <tr>
|
|---|
| 2334 | <td>APPDATA</td>
|
|---|
| 2335 | <td class="code"><pre>'C:\\Users\\adampahlevi\\AppData\\Roaming'</pre></td>
|
|---|
| 2336 | </tr>
|
|---|
| 2337 |
|
|---|
| 2338 | <tr>
|
|---|
| 2339 | <td>SERVER_NAME</td>
|
|---|
| 2340 | <td class="code"><pre>'ADAMPAHLEVID59C'</pre></td>
|
|---|
| 2341 | </tr>
|
|---|
| 2342 |
|
|---|
| 2343 | <tr>
|
|---|
| 2344 | <td>wsgi.run_once</td>
|
|---|
| 2345 | <td class="code"><pre>False</pre></td>
|
|---|
| 2346 | </tr>
|
|---|
| 2347 |
|
|---|
| 2348 | <tr>
|
|---|
| 2349 | <td>REMOTE_HOST</td>
|
|---|
| 2350 | <td class="code"><pre>''</pre></td>
|
|---|
| 2351 | </tr>
|
|---|
| 2352 |
|
|---|
| 2353 | <tr>
|
|---|
| 2354 | <td>SYSTEMDRIVE</td>
|
|---|
| 2355 | <td class="code"><pre>'C:'</pre></td>
|
|---|
| 2356 | </tr>
|
|---|
| 2357 |
|
|---|
| 2358 | <tr>
|
|---|
| 2359 | <td>GATEWAY_INTERFACE</td>
|
|---|
| 2360 | <td class="code"><pre>'CGI/1.1'</pre></td>
|
|---|
| 2361 | </tr>
|
|---|
| 2362 |
|
|---|
| 2363 | <tr>
|
|---|
| 2364 | <td>HTTP_ACCEPT_LANGUAGE</td>
|
|---|
| 2365 | <td class="code"><pre>'en-US,en;q=0.5'</pre></td>
|
|---|
| 2366 | </tr>
|
|---|
| 2367 |
|
|---|
| 2368 | <tr>
|
|---|
| 2369 | <td>PYCHARM_HOSTED</td>
|
|---|
| 2370 | <td class="code"><pre>'1'</pre></td>
|
|---|
| 2371 | </tr>
|
|---|
| 2372 |
|
|---|
| 2373 | <tr>
|
|---|
| 2374 | <td>NUMBER_OF_PROCESSORS</td>
|
|---|
| 2375 | <td class="code"><pre>'1'</pre></td>
|
|---|
| 2376 | </tr>
|
|---|
| 2377 |
|
|---|
| 2378 | <tr>
|
|---|
| 2379 | <td>PROCESSOR_LEVEL</td>
|
|---|
| 2380 | <td class="code"><pre>'6'</pre></td>
|
|---|
| 2381 | </tr>
|
|---|
| 2382 |
|
|---|
| 2383 | <tr>
|
|---|
| 2384 | <td>CONTENT_TYPE</td>
|
|---|
| 2385 | <td class="code"><pre>'multipart/form-data; boundary=---------------------------3001650601650'</pre></td>
|
|---|
| 2386 | </tr>
|
|---|
| 2387 |
|
|---|
| 2388 | <tr>
|
|---|
| 2389 | <td>PROCESSOR_ARCHITEW6432</td>
|
|---|
| 2390 | <td class="code"><pre>'AMD64'</pre></td>
|
|---|
| 2391 | </tr>
|
|---|
| 2392 |
|
|---|
| 2393 | <tr>
|
|---|
| 2394 | <td>wsgi.errors</td>
|
|---|
| 2395 | <td class="code"><pre><open file '<stderr>', mode 'w' at 0x01E250D0></pre></td>
|
|---|
| 2396 | </tr>
|
|---|
| 2397 |
|
|---|
| 2398 | <tr>
|
|---|
| 2399 | <td>COMMONPROGRAMW6432</td>
|
|---|
| 2400 | <td class="code"><pre>'C:\\Program Files\\Common Files'</pre></td>
|
|---|
| 2401 | </tr>
|
|---|
| 2402 |
|
|---|
| 2403 | <tr>
|
|---|
| 2404 | <td>OS</td>
|
|---|
| 2405 | <td class="code"><pre>'Windows_NT'</pre></td>
|
|---|
| 2406 | </tr>
|
|---|
| 2407 |
|
|---|
| 2408 | <tr>
|
|---|
| 2409 | <td>PUBLIC</td>
|
|---|
| 2410 | <td class="code"><pre>'C:\\Users\\Public'</pre></td>
|
|---|
| 2411 | </tr>
|
|---|
| 2412 |
|
|---|
| 2413 | <tr>
|
|---|
| 2414 | <td>USERPROFILE</td>
|
|---|
| 2415 | <td class="code"><pre>'C:\\Users\\adampahlevi'</pre></td>
|
|---|
| 2416 | </tr>
|
|---|
| 2417 |
|
|---|
| 2418 | </tbody>
|
|---|
| 2419 | </table>
|
|---|
| 2420 |
|
|---|
| 2421 |
|
|---|
| 2422 | <h3 id="settings-info">Settings</h3>
|
|---|
| 2423 | <h4>Using settings module <code>levipy.settings</code></h4>
|
|---|
| 2424 | <table class="req">
|
|---|
| 2425 | <thead>
|
|---|
| 2426 | <tr>
|
|---|
| 2427 | <th>Setting</th>
|
|---|
| 2428 | <th>Value</th>
|
|---|
| 2429 | </tr>
|
|---|
| 2430 | </thead>
|
|---|
| 2431 | <tbody>
|
|---|
| 2432 |
|
|---|
| 2433 | <tr>
|
|---|
| 2434 | <td>USE_L10N</td>
|
|---|
| 2435 | <td class="code"><pre>True</pre></td>
|
|---|
| 2436 | </tr>
|
|---|
| 2437 |
|
|---|
| 2438 | <tr>
|
|---|
| 2439 | <td>USE_THOUSAND_SEPARATOR</td>
|
|---|
| 2440 | <td class="code"><pre>False</pre></td>
|
|---|
| 2441 | </tr>
|
|---|
| 2442 |
|
|---|
| 2443 | <tr>
|
|---|
| 2444 | <td>CSRF_COOKIE_SECURE</td>
|
|---|
| 2445 | <td class="code"><pre>False</pre></td>
|
|---|
| 2446 | </tr>
|
|---|
| 2447 |
|
|---|
| 2448 | <tr>
|
|---|
| 2449 | <td>LANGUAGE_CODE</td>
|
|---|
| 2450 | <td class="code"><pre>'en-us'</pre></td>
|
|---|
| 2451 | </tr>
|
|---|
| 2452 |
|
|---|
| 2453 | <tr>
|
|---|
| 2454 | <td>ROOT_URLCONF</td>
|
|---|
| 2455 | <td class="code"><pre>'levipy.urls'</pre></td>
|
|---|
| 2456 | </tr>
|
|---|
| 2457 |
|
|---|
| 2458 | <tr>
|
|---|
| 2459 | <td>MANAGERS</td>
|
|---|
| 2460 | <td class="code"><pre>()</pre></td>
|
|---|
| 2461 | </tr>
|
|---|
| 2462 |
|
|---|
| 2463 | <tr>
|
|---|
| 2464 | <td>DEFAULT_CHARSET</td>
|
|---|
| 2465 | <td class="code"><pre>'utf-8'</pre></td>
|
|---|
| 2466 | </tr>
|
|---|
| 2467 |
|
|---|
| 2468 | <tr>
|
|---|
| 2469 | <td>STATIC_ROOT</td>
|
|---|
| 2470 | <td class="code"><pre>''</pre></td>
|
|---|
| 2471 | </tr>
|
|---|
| 2472 |
|
|---|
| 2473 | <tr>
|
|---|
| 2474 | <td>MESSAGE_STORAGE</td>
|
|---|
| 2475 | <td class="code"><pre>'django.contrib.messages.storage.fallback.FallbackStorage'</pre></td>
|
|---|
| 2476 | </tr>
|
|---|
| 2477 |
|
|---|
| 2478 | <tr>
|
|---|
| 2479 | <td>EMAIL_SUBJECT_PREFIX</td>
|
|---|
| 2480 | <td class="code"><pre>'[Django] '</pre></td>
|
|---|
| 2481 | </tr>
|
|---|
| 2482 |
|
|---|
| 2483 | <tr>
|
|---|
| 2484 | <td>FILE_UPLOAD_PERMISSIONS</td>
|
|---|
| 2485 | <td class="code"><pre>None</pre></td>
|
|---|
| 2486 | </tr>
|
|---|
| 2487 |
|
|---|
| 2488 | <tr>
|
|---|
| 2489 | <td>URL_VALIDATOR_USER_AGENT</td>
|
|---|
| 2490 | <td class="code"><pre>'Django/1.4.2 (https://www.djangoproject.com)'</pre></td>
|
|---|
| 2491 | </tr>
|
|---|
| 2492 |
|
|---|
| 2493 | <tr>
|
|---|
| 2494 | <td>STATICFILES_FINDERS</td>
|
|---|
| 2495 | <td class="code"><pre>('django.contrib.staticfiles.finders.FileSystemFinder',
|
|---|
| 2496 | 'django.contrib.staticfiles.finders.AppDirectoriesFinder')</pre></td>
|
|---|
| 2497 | </tr>
|
|---|
| 2498 |
|
|---|
| 2499 | <tr>
|
|---|
| 2500 | <td>SESSION_COOKIE_DOMAIN</td>
|
|---|
| 2501 | <td class="code"><pre>None</pre></td>
|
|---|
| 2502 | </tr>
|
|---|
| 2503 |
|
|---|
| 2504 | <tr>
|
|---|
| 2505 | <td>SESSION_COOKIE_NAME</td>
|
|---|
| 2506 | <td class="code"><pre>'sessionid'</pre></td>
|
|---|
| 2507 | </tr>
|
|---|
| 2508 |
|
|---|
| 2509 | <tr>
|
|---|
| 2510 | <td>ADMIN_FOR</td>
|
|---|
| 2511 | <td class="code"><pre>()</pre></td>
|
|---|
| 2512 | </tr>
|
|---|
| 2513 |
|
|---|
| 2514 | <tr>
|
|---|
| 2515 | <td>TIME_INPUT_FORMATS</td>
|
|---|
| 2516 | <td class="code"><pre>('%H:%M:%S', '%H:%M')</pre></td>
|
|---|
| 2517 | </tr>
|
|---|
| 2518 |
|
|---|
| 2519 | <tr>
|
|---|
| 2520 | <td>DATABASES</td>
|
|---|
| 2521 | <td class="code"><pre>{'default': {'ENGINE': 'django.db.backends.mysql',
|
|---|
| 2522 | 'HOST': '',
|
|---|
| 2523 | 'NAME': 'levi',
|
|---|
| 2524 | 'OPTIONS': {},
|
|---|
| 2525 | 'PASSWORD': u'********************',
|
|---|
| 2526 | 'PORT': '',
|
|---|
| 2527 | 'TEST_CHARSET': None,
|
|---|
| 2528 | 'TEST_COLLATION': None,
|
|---|
| 2529 | 'TEST_MIRROR': None,
|
|---|
| 2530 | 'TEST_NAME': None,
|
|---|
| 2531 | 'TIME_ZONE': 'UTC',
|
|---|
| 2532 | 'USER': 'root'}}</pre></td>
|
|---|
| 2533 | </tr>
|
|---|
| 2534 |
|
|---|
| 2535 | <tr>
|
|---|
| 2536 | <td>SERVER_EMAIL</td>
|
|---|
| 2537 | <td class="code"><pre>'root@localhost'</pre></td>
|
|---|
| 2538 | </tr>
|
|---|
| 2539 |
|
|---|
| 2540 | <tr>
|
|---|
| 2541 | <td>FILE_UPLOAD_HANDLERS</td>
|
|---|
| 2542 | <td class="code"><pre>('django.core.files.uploadhandler.MemoryFileUploadHandler',
|
|---|
| 2543 | 'django.core.files.uploadhandler.TemporaryFileUploadHandler')</pre></td>
|
|---|
| 2544 | </tr>
|
|---|
| 2545 |
|
|---|
| 2546 | <tr>
|
|---|
| 2547 | <td>DEFAULT_CONTENT_TYPE</td>
|
|---|
| 2548 | <td class="code"><pre>'text/html'</pre></td>
|
|---|
| 2549 | </tr>
|
|---|
| 2550 |
|
|---|
| 2551 | <tr>
|
|---|
| 2552 | <td>APPEND_SLASH</td>
|
|---|
| 2553 | <td class="code"><pre>True</pre></td>
|
|---|
| 2554 | </tr>
|
|---|
| 2555 |
|
|---|
| 2556 | <tr>
|
|---|
| 2557 | <td>FIRST_DAY_OF_WEEK</td>
|
|---|
| 2558 | <td class="code"><pre>0</pre></td>
|
|---|
| 2559 | </tr>
|
|---|
| 2560 |
|
|---|
| 2561 | <tr>
|
|---|
| 2562 | <td>DATABASE_ROUTERS</td>
|
|---|
| 2563 | <td class="code"><pre>[]</pre></td>
|
|---|
| 2564 | </tr>
|
|---|
| 2565 |
|
|---|
| 2566 | <tr>
|
|---|
| 2567 | <td>YEAR_MONTH_FORMAT</td>
|
|---|
| 2568 | <td class="code"><pre>'F Y'</pre></td>
|
|---|
| 2569 | </tr>
|
|---|
| 2570 |
|
|---|
| 2571 | <tr>
|
|---|
| 2572 | <td>STATICFILES_STORAGE</td>
|
|---|
| 2573 | <td class="code"><pre>'django.contrib.staticfiles.storage.StaticFilesStorage'</pre></td>
|
|---|
| 2574 | </tr>
|
|---|
| 2575 |
|
|---|
| 2576 | <tr>
|
|---|
| 2577 | <td>CACHES</td>
|
|---|
| 2578 | <td class="code"><pre>{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
|
|---|
| 2579 | 'LOCATION': ''}}</pre></td>
|
|---|
| 2580 | </tr>
|
|---|
| 2581 |
|
|---|
| 2582 | <tr>
|
|---|
| 2583 | <td>SESSION_COOKIE_PATH</td>
|
|---|
| 2584 | <td class="code"><pre>'/'</pre></td>
|
|---|
| 2585 | </tr>
|
|---|
| 2586 |
|
|---|
| 2587 | <tr>
|
|---|
| 2588 | <td>USE_X_FORWARDED_HOST</td>
|
|---|
| 2589 | <td class="code"><pre>False</pre></td>
|
|---|
| 2590 | </tr>
|
|---|
| 2591 |
|
|---|
| 2592 | <tr>
|
|---|
| 2593 | <td>MIDDLEWARE_CLASSES</td>
|
|---|
| 2594 | <td class="code"><pre>('django.middleware.common.CommonMiddleware',
|
|---|
| 2595 | 'django.contrib.sessions.middleware.SessionMiddleware',
|
|---|
| 2596 | 'django.middleware.csrf.CsrfViewMiddleware',
|
|---|
| 2597 | 'django.contrib.auth.middleware.AuthenticationMiddleware',
|
|---|
| 2598 | 'django.contrib.messages.middleware.MessageMiddleware')</pre></td>
|
|---|
| 2599 | </tr>
|
|---|
| 2600 |
|
|---|
| 2601 | <tr>
|
|---|
| 2602 | <td>USE_I18N</td>
|
|---|
| 2603 | <td class="code"><pre>True</pre></td>
|
|---|
| 2604 | </tr>
|
|---|
| 2605 |
|
|---|
| 2606 | <tr>
|
|---|
| 2607 | <td>THOUSAND_SEPARATOR</td>
|
|---|
| 2608 | <td class="code"><pre>','</pre></td>
|
|---|
| 2609 | </tr>
|
|---|
| 2610 |
|
|---|
| 2611 | <tr>
|
|---|
| 2612 | <td>SECRET_KEY</td>
|
|---|
| 2613 | <td class="code"><pre>u'********************'</pre></td>
|
|---|
| 2614 | </tr>
|
|---|
| 2615 |
|
|---|
| 2616 | <tr>
|
|---|
| 2617 | <td>LANGUAGE_COOKIE_NAME</td>
|
|---|
| 2618 | <td class="code"><pre>'django_language'</pre></td>
|
|---|
| 2619 | </tr>
|
|---|
| 2620 |
|
|---|
| 2621 | <tr>
|
|---|
| 2622 | <td>DEFAULT_INDEX_TABLESPACE</td>
|
|---|
| 2623 | <td class="code"><pre>''</pre></td>
|
|---|
| 2624 | </tr>
|
|---|
| 2625 |
|
|---|
| 2626 | <tr>
|
|---|
| 2627 | <td>TRANSACTIONS_MANAGED</td>
|
|---|
| 2628 | <td class="code"><pre>False</pre></td>
|
|---|
| 2629 | </tr>
|
|---|
| 2630 |
|
|---|
| 2631 | <tr>
|
|---|
| 2632 | <td>LOGGING_CONFIG</td>
|
|---|
| 2633 | <td class="code"><pre>'django.utils.log.dictConfig'</pre></td>
|
|---|
| 2634 | </tr>
|
|---|
| 2635 |
|
|---|
| 2636 | <tr>
|
|---|
| 2637 | <td>SEND_BROKEN_LINK_EMAILS</td>
|
|---|
| 2638 | <td class="code"><pre>False</pre></td>
|
|---|
| 2639 | </tr>
|
|---|
| 2640 |
|
|---|
| 2641 | <tr>
|
|---|
| 2642 | <td>TEMPLATE_LOADERS</td>
|
|---|
| 2643 | <td class="code"><pre>('django.template.loaders.filesystem.Loader',
|
|---|
| 2644 | 'django.template.loaders.app_directories.Loader')</pre></td>
|
|---|
| 2645 | </tr>
|
|---|
| 2646 |
|
|---|
| 2647 | <tr>
|
|---|
| 2648 | <td>WSGI_APPLICATION</td>
|
|---|
| 2649 | <td class="code"><pre>'levipy.wsgi.application'</pre></td>
|
|---|
| 2650 | </tr>
|
|---|
| 2651 |
|
|---|
| 2652 | <tr>
|
|---|
| 2653 | <td>TEMPLATE_DEBUG</td>
|
|---|
| 2654 | <td class="code"><pre>True</pre></td>
|
|---|
| 2655 | </tr>
|
|---|
| 2656 |
|
|---|
| 2657 | <tr>
|
|---|
| 2658 | <td>X_FRAME_OPTIONS</td>
|
|---|
| 2659 | <td class="code"><pre>'SAMEORIGIN'</pre></td>
|
|---|
| 2660 | </tr>
|
|---|
| 2661 |
|
|---|
| 2662 | <tr>
|
|---|
| 2663 | <td>AUTHENTICATION_BACKENDS</td>
|
|---|
| 2664 | <td class="code"><pre>('django.contrib.auth.backends.ModelBackend',)</pre></td>
|
|---|
| 2665 | </tr>
|
|---|
| 2666 |
|
|---|
| 2667 | <tr>
|
|---|
| 2668 | <td>FORCE_SCRIPT_NAME</td>
|
|---|
| 2669 | <td class="code"><pre>None</pre></td>
|
|---|
| 2670 | </tr>
|
|---|
| 2671 |
|
|---|
| 2672 | <tr>
|
|---|
| 2673 | <td>CACHE_BACKEND</td>
|
|---|
| 2674 | <td class="code"><pre>'locmem://'</pre></td>
|
|---|
| 2675 | </tr>
|
|---|
| 2676 |
|
|---|
| 2677 | <tr>
|
|---|
| 2678 | <td>SIGNING_BACKEND</td>
|
|---|
| 2679 | <td class="code"><pre>'django.core.signing.TimestampSigner'</pre></td>
|
|---|
| 2680 | </tr>
|
|---|
| 2681 |
|
|---|
| 2682 | <tr>
|
|---|
| 2683 | <td>SESSION_COOKIE_SECURE</td>
|
|---|
| 2684 | <td class="code"><pre>False</pre></td>
|
|---|
| 2685 | </tr>
|
|---|
| 2686 |
|
|---|
| 2687 | <tr>
|
|---|
| 2688 | <td>CSRF_COOKIE_DOMAIN</td>
|
|---|
| 2689 | <td class="code"><pre>None</pre></td>
|
|---|
| 2690 | </tr>
|
|---|
| 2691 |
|
|---|
| 2692 | <tr>
|
|---|
| 2693 | <td>FILE_CHARSET</td>
|
|---|
| 2694 | <td class="code"><pre>'utf-8'</pre></td>
|
|---|
| 2695 | </tr>
|
|---|
| 2696 |
|
|---|
| 2697 | <tr>
|
|---|
| 2698 | <td>DEBUG</td>
|
|---|
| 2699 | <td class="code"><pre>True</pre></td>
|
|---|
| 2700 | </tr>
|
|---|
| 2701 |
|
|---|
| 2702 | <tr>
|
|---|
| 2703 | <td>SESSION_FILE_PATH</td>
|
|---|
| 2704 | <td class="code"><pre>None</pre></td>
|
|---|
| 2705 | </tr>
|
|---|
| 2706 |
|
|---|
| 2707 | <tr>
|
|---|
| 2708 | <td>DEFAULT_FILE_STORAGE</td>
|
|---|
| 2709 | <td class="code"><pre>'django.core.files.storage.FileSystemStorage'</pre></td>
|
|---|
| 2710 | </tr>
|
|---|
| 2711 |
|
|---|
| 2712 | <tr>
|
|---|
| 2713 | <td>INSTALLED_APPS</td>
|
|---|
| 2714 | <td class="code"><pre>('django.contrib.auth',
|
|---|
| 2715 | 'django.contrib.contenttypes',
|
|---|
| 2716 | 'django.contrib.sessions',
|
|---|
| 2717 | 'django.contrib.sites',
|
|---|
| 2718 | 'django.contrib.messages',
|
|---|
| 2719 | 'django.contrib.staticfiles',
|
|---|
| 2720 | 'django.contrib.admin',
|
|---|
| 2721 | 'levi')</pre></td>
|
|---|
| 2722 | </tr>
|
|---|
| 2723 |
|
|---|
| 2724 | <tr>
|
|---|
| 2725 | <td>LANGUAGES</td>
|
|---|
| 2726 | <td class="code"><pre>(('ar', 'Arabic'),
|
|---|
| 2727 | ('az', 'Azerbaijani'),
|
|---|
| 2728 | ('bg', 'Bulgarian'),
|
|---|
| 2729 | ('bn', 'Bengali'),
|
|---|
| 2730 | ('bs', 'Bosnian'),
|
|---|
| 2731 | ('ca', 'Catalan'),
|
|---|
| 2732 | ('cs', 'Czech'),
|
|---|
| 2733 | ('cy', 'Welsh'),
|
|---|
| 2734 | ('da', 'Danish'),
|
|---|
| 2735 | ('de', 'German'),
|
|---|
| 2736 | ('el', 'Greek'),
|
|---|
| 2737 | ('en', 'English'),
|
|---|
| 2738 | ('en-gb', 'British English'),
|
|---|
| 2739 | ('eo', 'Esperanto'),
|
|---|
| 2740 | ('es', 'Spanish'),
|
|---|
| 2741 | ('es-ar', 'Argentinian Spanish'),
|
|---|
| 2742 | ('es-mx', 'Mexican Spanish'),
|
|---|
| 2743 | ('es-ni', 'Nicaraguan Spanish'),
|
|---|
| 2744 | ('et', 'Estonian'),
|
|---|
| 2745 | ('eu', 'Basque'),
|
|---|
| 2746 | ('fa', 'Persian'),
|
|---|
| 2747 | ('fi', 'Finnish'),
|
|---|
| 2748 | ('fr', 'French'),
|
|---|
| 2749 | ('fy-nl', 'Frisian'),
|
|---|
| 2750 | ('ga', 'Irish'),
|
|---|
| 2751 | ('gl', 'Galician'),
|
|---|
| 2752 | ('he', 'Hebrew'),
|
|---|
| 2753 | ('hi', 'Hindi'),
|
|---|
| 2754 | ('hr', 'Croatian'),
|
|---|
| 2755 | ('hu', 'Hungarian'),
|
|---|
| 2756 | ('id', 'Indonesian'),
|
|---|
| 2757 | ('is', 'Icelandic'),
|
|---|
| 2758 | ('it', 'Italian'),
|
|---|
| 2759 | ('ja', 'Japanese'),
|
|---|
| 2760 | ('ka', 'Georgian'),
|
|---|
| 2761 | ('kk', 'Kazakh'),
|
|---|
| 2762 | ('km', 'Khmer'),
|
|---|
| 2763 | ('kn', 'Kannada'),
|
|---|
| 2764 | ('ko', 'Korean'),
|
|---|
| 2765 | ('lt', 'Lithuanian'),
|
|---|
| 2766 | ('lv', 'Latvian'),
|
|---|
| 2767 | ('mk', 'Macedonian'),
|
|---|
| 2768 | ('ml', 'Malayalam'),
|
|---|
| 2769 | ('mn', 'Mongolian'),
|
|---|
| 2770 | ('nb', 'Norwegian Bokmal'),
|
|---|
| 2771 | ('ne', 'Nepali'),
|
|---|
| 2772 | ('nl', 'Dutch'),
|
|---|
| 2773 | ('nn', 'Norwegian Nynorsk'),
|
|---|
| 2774 | ('pa', 'Punjabi'),
|
|---|
| 2775 | ('pl', 'Polish'),
|
|---|
| 2776 | ('pt', 'Portuguese'),
|
|---|
| 2777 | ('pt-br', 'Brazilian Portuguese'),
|
|---|
| 2778 | ('ro', 'Romanian'),
|
|---|
| 2779 | ('ru', 'Russian'),
|
|---|
| 2780 | ('sk', 'Slovak'),
|
|---|
| 2781 | ('sl', 'Slovenian'),
|
|---|
| 2782 | ('sq', 'Albanian'),
|
|---|
| 2783 | ('sr', 'Serbian'),
|
|---|
| 2784 | ('sr-latn', 'Serbian Latin'),
|
|---|
| 2785 | ('sv', 'Swedish'),
|
|---|
| 2786 | ('sw', 'Swahili'),
|
|---|
| 2787 | ('ta', 'Tamil'),
|
|---|
| 2788 | ('te', 'Telugu'),
|
|---|
| 2789 | ('th', 'Thai'),
|
|---|
| 2790 | ('tr', 'Turkish'),
|
|---|
| 2791 | ('tt', 'Tatar'),
|
|---|
| 2792 | ('uk', 'Ukrainian'),
|
|---|
| 2793 | ('ur', 'Urdu'),
|
|---|
| 2794 | ('vi', 'Vietnamese'),
|
|---|
| 2795 | ('zh-cn', 'Simplified Chinese'),
|
|---|
| 2796 | ('zh-tw', 'Traditional Chinese'))</pre></td>
|
|---|
| 2797 | </tr>
|
|---|
| 2798 |
|
|---|
| 2799 | <tr>
|
|---|
| 2800 | <td>COMMENTS_ALLOW_PROFANITIES</td>
|
|---|
| 2801 | <td class="code"><pre>False</pre></td>
|
|---|
| 2802 | </tr>
|
|---|
| 2803 |
|
|---|
| 2804 | <tr>
|
|---|
| 2805 | <td>STATICFILES_DIRS</td>
|
|---|
| 2806 | <td class="code"><pre>()</pre></td>
|
|---|
| 2807 | </tr>
|
|---|
| 2808 |
|
|---|
| 2809 | <tr>
|
|---|
| 2810 | <td>PREPEND_WWW</td>
|
|---|
| 2811 | <td class="code"><pre>False</pre></td>
|
|---|
| 2812 | </tr>
|
|---|
| 2813 |
|
|---|
| 2814 | <tr>
|
|---|
| 2815 | <td>SECURE_PROXY_SSL_HEADER</td>
|
|---|
| 2816 | <td class="code"><pre>None</pre></td>
|
|---|
| 2817 | </tr>
|
|---|
| 2818 |
|
|---|
| 2819 | <tr>
|
|---|
| 2820 | <td>SESSION_COOKIE_HTTPONLY</td>
|
|---|
| 2821 | <td class="code"><pre>True</pre></td>
|
|---|
| 2822 | </tr>
|
|---|
| 2823 |
|
|---|
| 2824 | <tr>
|
|---|
| 2825 | <td>DEBUG_PROPAGATE_EXCEPTIONS</td>
|
|---|
| 2826 | <td class="code"><pre>False</pre></td>
|
|---|
| 2827 | </tr>
|
|---|
| 2828 |
|
|---|
| 2829 | <tr>
|
|---|
| 2830 | <td>MONTH_DAY_FORMAT</td>
|
|---|
| 2831 | <td class="code"><pre>'F j'</pre></td>
|
|---|
| 2832 | </tr>
|
|---|
| 2833 |
|
|---|
| 2834 | <tr>
|
|---|
| 2835 | <td>LOGIN_URL</td>
|
|---|
| 2836 | <td class="code"><pre>'/accounts/login/'</pre></td>
|
|---|
| 2837 | </tr>
|
|---|
| 2838 |
|
|---|
| 2839 | <tr>
|
|---|
| 2840 | <td>SESSION_EXPIRE_AT_BROWSER_CLOSE</td>
|
|---|
| 2841 | <td class="code"><pre>False</pre></td>
|
|---|
| 2842 | </tr>
|
|---|
| 2843 |
|
|---|
| 2844 | <tr>
|
|---|
| 2845 | <td>TIME_FORMAT</td>
|
|---|
| 2846 | <td class="code"><pre>'P'</pre></td>
|
|---|
| 2847 | </tr>
|
|---|
| 2848 |
|
|---|
| 2849 | <tr>
|
|---|
| 2850 | <td>DATE_INPUT_FORMATS</td>
|
|---|
| 2851 | <td class="code"><pre>('%Y-%m-%d',
|
|---|
| 2852 | '%m/%d/%Y',
|
|---|
| 2853 | '%m/%d/%y',
|
|---|
| 2854 | '%b %d %Y',
|
|---|
| 2855 | '%b %d, %Y',
|
|---|
| 2856 | '%d %b %Y',
|
|---|
| 2857 | '%d %b, %Y',
|
|---|
| 2858 | '%B %d %Y',
|
|---|
| 2859 | '%B %d, %Y',
|
|---|
| 2860 | '%d %B %Y',
|
|---|
| 2861 | '%d %B, %Y')</pre></td>
|
|---|
| 2862 | </tr>
|
|---|
| 2863 |
|
|---|
| 2864 | <tr>
|
|---|
| 2865 | <td>CSRF_COOKIE_NAME</td>
|
|---|
| 2866 | <td class="code"><pre>'csrftoken'</pre></td>
|
|---|
| 2867 | </tr>
|
|---|
| 2868 |
|
|---|
| 2869 | <tr>
|
|---|
| 2870 | <td>EMAIL_HOST_PASSWORD</td>
|
|---|
| 2871 | <td class="code"><pre>u'********************'</pre></td>
|
|---|
| 2872 | </tr>
|
|---|
| 2873 |
|
|---|
| 2874 | <tr>
|
|---|
| 2875 | <td>PASSWORD_RESET_TIMEOUT_DAYS</td>
|
|---|
| 2876 | <td class="code"><pre>u'********************'</pre></td>
|
|---|
| 2877 | </tr>
|
|---|
| 2878 |
|
|---|
| 2879 | <tr>
|
|---|
| 2880 | <td>CACHE_MIDDLEWARE_ALIAS</td>
|
|---|
| 2881 | <td class="code"><pre>'default'</pre></td>
|
|---|
| 2882 | </tr>
|
|---|
| 2883 |
|
|---|
| 2884 | <tr>
|
|---|
| 2885 | <td>SESSION_SAVE_EVERY_REQUEST</td>
|
|---|
| 2886 | <td class="code"><pre>False</pre></td>
|
|---|
| 2887 | </tr>
|
|---|
| 2888 |
|
|---|
| 2889 | <tr>
|
|---|
| 2890 | <td>NUMBER_GROUPING</td>
|
|---|
| 2891 | <td class="code"><pre>0</pre></td>
|
|---|
| 2892 | </tr>
|
|---|
| 2893 |
|
|---|
| 2894 | <tr>
|
|---|
| 2895 | <td>SESSION_ENGINE</td>
|
|---|
| 2896 | <td class="code"><pre>'django.contrib.sessions.backends.db'</pre></td>
|
|---|
| 2897 | </tr>
|
|---|
| 2898 |
|
|---|
| 2899 | <tr>
|
|---|
| 2900 | <td>CSRF_FAILURE_VIEW</td>
|
|---|
| 2901 | <td class="code"><pre>'django.views.csrf.csrf_failure'</pre></td>
|
|---|
| 2902 | </tr>
|
|---|
| 2903 |
|
|---|
| 2904 | <tr>
|
|---|
| 2905 | <td>CSRF_COOKIE_PATH</td>
|
|---|
| 2906 | <td class="code"><pre>'/'</pre></td>
|
|---|
| 2907 | </tr>
|
|---|
| 2908 |
|
|---|
| 2909 | <tr>
|
|---|
| 2910 | <td>LOGIN_REDIRECT_URL</td>
|
|---|
| 2911 | <td class="code"><pre>'/accounts/profile/'</pre></td>
|
|---|
| 2912 | </tr>
|
|---|
| 2913 |
|
|---|
| 2914 | <tr>
|
|---|
| 2915 | <td>LOGGING</td>
|
|---|
| 2916 | <td class="code"><pre>{'disable_existing_loggers': False,
|
|---|
| 2917 | 'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}},
|
|---|
| 2918 | 'handlers': {'mail_admins': {'class': 'django.utils.log.AdminEmailHandler',
|
|---|
| 2919 | 'filters': ['require_debug_false'],
|
|---|
| 2920 | 'level': 'ERROR'}},
|
|---|
| 2921 | 'loggers': {'django.request': {'handlers': ['mail_admins'],
|
|---|
| 2922 | 'level': 'ERROR',
|
|---|
| 2923 | 'propagate': True}},
|
|---|
| 2924 | 'version': 1}</pre></td>
|
|---|
| 2925 | </tr>
|
|---|
| 2926 |
|
|---|
| 2927 | <tr>
|
|---|
| 2928 | <td>IGNORABLE_404_URLS</td>
|
|---|
| 2929 | <td class="code"><pre>()</pre></td>
|
|---|
| 2930 | </tr>
|
|---|
| 2931 |
|
|---|
| 2932 | <tr>
|
|---|
| 2933 | <td>LOCALE_PATHS</td>
|
|---|
| 2934 | <td class="code"><pre>()</pre></td>
|
|---|
| 2935 | </tr>
|
|---|
| 2936 |
|
|---|
| 2937 | <tr>
|
|---|
| 2938 | <td>TEMPLATE_STRING_IF_INVALID</td>
|
|---|
| 2939 | <td class="code"><pre>''</pre></td>
|
|---|
| 2940 | </tr>
|
|---|
| 2941 |
|
|---|
| 2942 | <tr>
|
|---|
| 2943 | <td>LOGOUT_URL</td>
|
|---|
| 2944 | <td class="code"><pre>'/accounts/logout/'</pre></td>
|
|---|
| 2945 | </tr>
|
|---|
| 2946 |
|
|---|
| 2947 | <tr>
|
|---|
| 2948 | <td>EMAIL_USE_TLS</td>
|
|---|
| 2949 | <td class="code"><pre>False</pre></td>
|
|---|
| 2950 | </tr>
|
|---|
| 2951 |
|
|---|
| 2952 | <tr>
|
|---|
| 2953 | <td>FIXTURE_DIRS</td>
|
|---|
| 2954 | <td class="code"><pre>()</pre></td>
|
|---|
| 2955 | </tr>
|
|---|
| 2956 |
|
|---|
| 2957 | <tr>
|
|---|
| 2958 | <td>EMAIL_HOST</td>
|
|---|
| 2959 | <td class="code"><pre>'localhost'</pre></td>
|
|---|
| 2960 | </tr>
|
|---|
| 2961 |
|
|---|
| 2962 | <tr>
|
|---|
| 2963 | <td>DATE_FORMAT</td>
|
|---|
| 2964 | <td class="code"><pre>'N j, Y'</pre></td>
|
|---|
| 2965 | </tr>
|
|---|
| 2966 |
|
|---|
| 2967 | <tr>
|
|---|
| 2968 | <td>MEDIA_ROOT</td>
|
|---|
| 2969 | <td class="code"><pre>''</pre></td>
|
|---|
| 2970 | </tr>
|
|---|
| 2971 |
|
|---|
| 2972 | <tr>
|
|---|
| 2973 | <td>DEFAULT_EXCEPTION_REPORTER_FILTER</td>
|
|---|
| 2974 | <td class="code"><pre>'django.views.debug.SafeExceptionReporterFilter'</pre></td>
|
|---|
| 2975 | </tr>
|
|---|
| 2976 |
|
|---|
| 2977 | <tr>
|
|---|
| 2978 | <td>ADMINS</td>
|
|---|
| 2979 | <td class="code"><pre>()</pre></td>
|
|---|
| 2980 | </tr>
|
|---|
| 2981 |
|
|---|
| 2982 | <tr>
|
|---|
| 2983 | <td>FORMAT_MODULE_PATH</td>
|
|---|
| 2984 | <td class="code"><pre>None</pre></td>
|
|---|
| 2985 | </tr>
|
|---|
| 2986 |
|
|---|
| 2987 | <tr>
|
|---|
| 2988 | <td>DEFAULT_FROM_EMAIL</td>
|
|---|
| 2989 | <td class="code"><pre>'webmaster@localhost'</pre></td>
|
|---|
| 2990 | </tr>
|
|---|
| 2991 |
|
|---|
| 2992 | <tr>
|
|---|
| 2993 | <td>MEDIA_URL</td>
|
|---|
| 2994 | <td class="code"><pre>''</pre></td>
|
|---|
| 2995 | </tr>
|
|---|
| 2996 |
|
|---|
| 2997 | <tr>
|
|---|
| 2998 | <td>DATETIME_FORMAT</td>
|
|---|
| 2999 | <td class="code"><pre>'N j, Y, P'</pre></td>
|
|---|
| 3000 | </tr>
|
|---|
| 3001 |
|
|---|
| 3002 | <tr>
|
|---|
| 3003 | <td>TEMPLATE_DIRS</td>
|
|---|
| 3004 | <td class="code"><pre>('Z:/Documents/prolog/django/levipy/levipy/../templates',)</pre></td>
|
|---|
| 3005 | </tr>
|
|---|
| 3006 |
|
|---|
| 3007 | <tr>
|
|---|
| 3008 | <td>SITE_ID</td>
|
|---|
| 3009 | <td class="code"><pre>1</pre></td>
|
|---|
| 3010 | </tr>
|
|---|
| 3011 |
|
|---|
| 3012 | <tr>
|
|---|
| 3013 | <td>DISALLOWED_USER_AGENTS</td>
|
|---|
| 3014 | <td class="code"><pre>()</pre></td>
|
|---|
| 3015 | </tr>
|
|---|
| 3016 |
|
|---|
| 3017 | <tr>
|
|---|
| 3018 | <td>ALLOWED_INCLUDE_ROOTS</td>
|
|---|
| 3019 | <td class="code"><pre>()</pre></td>
|
|---|
| 3020 | </tr>
|
|---|
| 3021 |
|
|---|
| 3022 | <tr>
|
|---|
| 3023 | <td>DECIMAL_SEPARATOR</td>
|
|---|
| 3024 | <td class="code"><pre>'.'</pre></td>
|
|---|
| 3025 | </tr>
|
|---|
| 3026 |
|
|---|
| 3027 | <tr>
|
|---|
| 3028 | <td>SHORT_DATE_FORMAT</td>
|
|---|
| 3029 | <td class="code"><pre>'m/d/Y'</pre></td>
|
|---|
| 3030 | </tr>
|
|---|
| 3031 |
|
|---|
| 3032 | <tr>
|
|---|
| 3033 | <td>TEST_RUNNER</td>
|
|---|
| 3034 | <td class="code"><pre>'django.test.simple.DjangoTestSuiteRunner'</pre></td>
|
|---|
| 3035 | </tr>
|
|---|
| 3036 |
|
|---|
| 3037 | <tr>
|
|---|
| 3038 | <td>CACHE_MIDDLEWARE_KEY_PREFIX</td>
|
|---|
| 3039 | <td class="code"><pre>u'********************'</pre></td>
|
|---|
| 3040 | </tr>
|
|---|
| 3041 |
|
|---|
| 3042 | <tr>
|
|---|
| 3043 | <td>TIME_ZONE</td>
|
|---|
| 3044 | <td class="code"><pre>'America/Chicago'</pre></td>
|
|---|
| 3045 | </tr>
|
|---|
| 3046 |
|
|---|
| 3047 | <tr>
|
|---|
| 3048 | <td>FILE_UPLOAD_MAX_MEMORY_SIZE</td>
|
|---|
| 3049 | <td class="code"><pre>2621440</pre></td>
|
|---|
| 3050 | </tr>
|
|---|
| 3051 |
|
|---|
| 3052 | <tr>
|
|---|
| 3053 | <td>EMAIL_BACKEND</td>
|
|---|
| 3054 | <td class="code"><pre>'django.core.mail.backends.smtp.EmailBackend'</pre></td>
|
|---|
| 3055 | </tr>
|
|---|
| 3056 |
|
|---|
| 3057 | <tr>
|
|---|
| 3058 | <td>DEFAULT_TABLESPACE</td>
|
|---|
| 3059 | <td class="code"><pre>''</pre></td>
|
|---|
| 3060 | </tr>
|
|---|
| 3061 |
|
|---|
| 3062 | <tr>
|
|---|
| 3063 | <td>TEMPLATE_CONTEXT_PROCESSORS</td>
|
|---|
| 3064 | <td class="code"><pre>('django.contrib.auth.context_processors.auth',
|
|---|
| 3065 | 'django.core.context_processors.debug',
|
|---|
| 3066 | 'django.core.context_processors.i18n',
|
|---|
| 3067 | 'django.core.context_processors.media',
|
|---|
| 3068 | 'django.core.context_processors.static',
|
|---|
| 3069 | 'django.core.context_processors.tz',
|
|---|
| 3070 | 'django.contrib.messages.context_processors.messages')</pre></td>
|
|---|
| 3071 | </tr>
|
|---|
| 3072 |
|
|---|
| 3073 | <tr>
|
|---|
| 3074 | <td>SESSION_COOKIE_AGE</td>
|
|---|
| 3075 | <td class="code"><pre>1209600</pre></td>
|
|---|
| 3076 | </tr>
|
|---|
| 3077 |
|
|---|
| 3078 | <tr>
|
|---|
| 3079 | <td>SETTINGS_MODULE</td>
|
|---|
| 3080 | <td class="code"><pre>'levipy.settings'</pre></td>
|
|---|
| 3081 | </tr>
|
|---|
| 3082 |
|
|---|
| 3083 | <tr>
|
|---|
| 3084 | <td>USE_ETAGS</td>
|
|---|
| 3085 | <td class="code"><pre>False</pre></td>
|
|---|
| 3086 | </tr>
|
|---|
| 3087 |
|
|---|
| 3088 | <tr>
|
|---|
| 3089 | <td>LANGUAGES_BIDI</td>
|
|---|
| 3090 | <td class="code"><pre>('he', 'ar', 'fa')</pre></td>
|
|---|
| 3091 | </tr>
|
|---|
| 3092 |
|
|---|
| 3093 | <tr>
|
|---|
| 3094 | <td>FILE_UPLOAD_TEMP_DIR</td>
|
|---|
| 3095 | <td class="code"><pre>None</pre></td>
|
|---|
| 3096 | </tr>
|
|---|
| 3097 |
|
|---|
| 3098 | <tr>
|
|---|
| 3099 | <td>INTERNAL_IPS</td>
|
|---|
| 3100 | <td class="code"><pre>()</pre></td>
|
|---|
| 3101 | </tr>
|
|---|
| 3102 |
|
|---|
| 3103 | <tr>
|
|---|
| 3104 | <td>STATIC_URL</td>
|
|---|
| 3105 | <td class="code"><pre>'/static/'</pre></td>
|
|---|
| 3106 | </tr>
|
|---|
| 3107 |
|
|---|
| 3108 | <tr>
|
|---|
| 3109 | <td>EMAIL_PORT</td>
|
|---|
| 3110 | <td class="code"><pre>25</pre></td>
|
|---|
| 3111 | </tr>
|
|---|
| 3112 |
|
|---|
| 3113 | <tr>
|
|---|
| 3114 | <td>USE_TZ</td>
|
|---|
| 3115 | <td class="code"><pre>True</pre></td>
|
|---|
| 3116 | </tr>
|
|---|
| 3117 |
|
|---|
| 3118 | <tr>
|
|---|
| 3119 | <td>SHORT_DATETIME_FORMAT</td>
|
|---|
| 3120 | <td class="code"><pre>'m/d/Y P'</pre></td>
|
|---|
| 3121 | </tr>
|
|---|
| 3122 |
|
|---|
| 3123 | <tr>
|
|---|
| 3124 | <td>PASSWORD_HASHERS</td>
|
|---|
| 3125 | <td class="code"><pre>u'********************'</pre></td>
|
|---|
| 3126 | </tr>
|
|---|
| 3127 |
|
|---|
| 3128 | <tr>
|
|---|
| 3129 | <td>ABSOLUTE_URL_OVERRIDES</td>
|
|---|
| 3130 | <td class="code"><pre>{}</pre></td>
|
|---|
| 3131 | </tr>
|
|---|
| 3132 |
|
|---|
| 3133 | <tr>
|
|---|
| 3134 | <td>CACHE_MIDDLEWARE_SECONDS</td>
|
|---|
| 3135 | <td class="code"><pre>600</pre></td>
|
|---|
| 3136 | </tr>
|
|---|
| 3137 |
|
|---|
| 3138 | <tr>
|
|---|
| 3139 | <td>DATETIME_INPUT_FORMATS</td>
|
|---|
| 3140 | <td class="code"><pre>('%Y-%m-%d %H:%M:%S',
|
|---|
| 3141 | '%Y-%m-%d %H:%M:%S.%f',
|
|---|
| 3142 | '%Y-%m-%d %H:%M',
|
|---|
| 3143 | '%Y-%m-%d',
|
|---|
| 3144 | '%m/%d/%Y %H:%M:%S',
|
|---|
| 3145 | '%m/%d/%Y %H:%M:%S.%f',
|
|---|
| 3146 | '%m/%d/%Y %H:%M',
|
|---|
| 3147 | '%m/%d/%Y',
|
|---|
| 3148 | '%m/%d/%y %H:%M:%S',
|
|---|
| 3149 | '%m/%d/%y %H:%M:%S.%f',
|
|---|
| 3150 | '%m/%d/%y %H:%M',
|
|---|
| 3151 | '%m/%d/%y')</pre></td>
|
|---|
| 3152 | </tr>
|
|---|
| 3153 |
|
|---|
| 3154 | <tr>
|
|---|
| 3155 | <td>EMAIL_HOST_USER</td>
|
|---|
| 3156 | <td class="code"><pre>''</pre></td>
|
|---|
| 3157 | </tr>
|
|---|
| 3158 |
|
|---|
| 3159 | <tr>
|
|---|
| 3160 | <td>PROFANITIES_LIST</td>
|
|---|
| 3161 | <td class="code"><pre>u'********************'</pre></td>
|
|---|
| 3162 | </tr>
|
|---|
| 3163 |
|
|---|
| 3164 | </tbody>
|
|---|
| 3165 | </table>
|
|---|
| 3166 |
|
|---|
| 3167 | </div>
|
|---|
| 3168 |
|
|---|
| 3169 | <div id="explanation">
|
|---|
| 3170 | <p>
|
|---|
| 3171 | You're seeing this error because you have <code>DEBUG = True</code> in your
|
|---|
| 3172 | Django settings file. Change that to <code>False</code>, and Django will
|
|---|
| 3173 | display a standard 500 page.
|
|---|
| 3174 | </p>
|
|---|
| 3175 | </div>
|
|---|
| 3176 |
|
|---|
| 3177 | </body>
|
|---|
| 3178 | </html>
|
|---|