ProjectDjango/Documentation/source/Plugin_Project_Django.ProjectDjango.Project.html

changeset 5
96a317de4626
parent 3
fbae2b012fac
child 9
8fe581309106
equal deleted inserted replaced
4:81c2943be6b6 5:96a317de4626
87 <table> 87 <table>
88 <tr> 88 <tr>
89 <td><a href="#Project.__init__">Project</a></td> 89 <td><a href="#Project.__init__">Project</a></td>
90 <td>Constructor</td> 90 <td>Constructor</td>
91 </tr><tr> 91 </tr><tr>
92 <td><a href="#Project.__changePassword">__changePassword</a></td>
93 <td>Private slot to change the password of a user.</td>
94 </tr><tr>
92 <td><a href="#Project.__cleanup">__cleanup</a></td> 95 <td><a href="#Project.__cleanup">__cleanup</a></td>
93 <td>Private slot to clean out old data from the database.</td> 96 <td>Private slot to clean out old data from the database.</td>
94 </tr><tr> 97 </tr><tr>
98 <td><a href="#Project.__clearSessions">__clearSessions</a></td>
99 <td>Private slot to clear expired sessions.</td>
100 </tr><tr>
95 <td><a href="#Project.__createApplication">__createApplication</a></td> 101 <td><a href="#Project.__createApplication">__createApplication</a></td>
96 <td>Private slot to create a new Django application.</td> 102 <td>Private slot to create a new Django application.</td>
97 </tr><tr> 103 </tr><tr>
98 <td><a href="#Project.__createCacheTables">__createCacheTables</a></td> 104 <td><a href="#Project.__createCacheTables">__createCacheTables</a></td>
99 <td>Private slot to create the tables for the SQL caching backend.</td> 105 <td>Private slot to create the tables for the SQL caching backend.</td>
100 </tr><tr> 106 </tr><tr>
101 <td><a href="#Project.__createProject">__createProject</a></td> 107 <td><a href="#Project.__createProject">__createProject</a></td>
102 <td>Private slot to create a new Django project.</td> 108 <td>Private slot to create a new Django project.</td>
103 </tr><tr> 109 </tr><tr>
110 <td><a href="#Project.__createSuperUser">__createSuperUser</a></td>
111 <td>Private slot to create a super user account.</td>
112 </tr><tr>
104 <td><a href="#Project.__databaseFlush">__databaseFlush</a></td> 113 <td><a href="#Project.__databaseFlush">__databaseFlush</a></td>
105 <td>Private slot to return all database tables to the state just after their installation.</td> 114 <td>Private slot to return all database tables to the state just after their installation.</td>
106 </tr><tr> 115 </tr><tr>
107 <td><a href="#Project.__databaseInspect">__databaseInspect</a></td> 116 <td><a href="#Project.__databaseInspect">__databaseInspect</a></td>
108 <td>Private slot to introspect the database and output a Django model module.</td> 117 <td>Private slot to introspect the database and output a Django model module.</td>
150 <td>Private method to extract the locale out of a file name.</td> 159 <td>Private method to extract the locale out of a file name.</td>
151 </tr><tr> 160 </tr><tr>
152 <td><a href="#Project.__getPythonExecutable">__getPythonExecutable</a></td> 161 <td><a href="#Project.__getPythonExecutable">__getPythonExecutable</a></td>
153 <td>Private method to determine the name of the Python executable.</td> 162 <td>Private method to determine the name of the Python executable.</td>
154 </tr><tr> 163 </tr><tr>
164 <td><a href="#Project.__initAuthorizationActions">__initAuthorizationActions</a></td>
165 <td>Private method to define the authorization actions.</td>
166 </tr><tr>
167 <td><a href="#Project.__initAuthorizationMenu">__initAuthorizationMenu</a></td>
168 <td>Private slot to initialize the authorization menu.</td>
169 </tr><tr>
155 <td><a href="#Project.__initDatabaseActions">__initDatabaseActions</a></td> 170 <td><a href="#Project.__initDatabaseActions">__initDatabaseActions</a></td>
156 <td>Private method to define the database related actions.</td> 171 <td>Private method to define the database related actions.</td>
157 </tr><tr> 172 </tr><tr>
158 <td><a href="#Project.__initDatabaseMenu">__initDatabaseMenu</a></td> 173 <td><a href="#Project.__initDatabaseMenu">__initDatabaseMenu</a></td>
159 <td>Private slot to initialize the database menu.</td> 174 <td>Private slot to initialize the database menu.</td>
161 <td><a href="#Project.__initDatabaseSqlActions">__initDatabaseSqlActions</a></td> 176 <td><a href="#Project.__initDatabaseSqlActions">__initDatabaseSqlActions</a></td>
162 <td>Private method to define the database SQL related actions.</td> 177 <td>Private method to define the database SQL related actions.</td>
163 </tr><tr> 178 </tr><tr>
164 <td><a href="#Project.__initDatabaseSqlMenu">__initDatabaseSqlMenu</a></td> 179 <td><a href="#Project.__initDatabaseSqlMenu">__initDatabaseSqlMenu</a></td>
165 <td>Private slot to initialize the database SQL submenu.</td> 180 <td>Private slot to initialize the database SQL submenu.</td>
181 </tr><tr>
182 <td><a href="#Project.__initSessionActions">__initSessionActions</a></td>
183 <td>Private method to define the session actions.</td>
184 </tr><tr>
185 <td><a href="#Project.__initSessionMenu">__initSessionMenu</a></td>
186 <td>Private slot to initialize the authorization menu.</td>
166 </tr><tr> 187 </tr><tr>
167 <td><a href="#Project.__initTestingActions">__initTestingActions</a></td> 188 <td><a href="#Project.__initTestingActions">__initTestingActions</a></td>
168 <td>Private method to define the testing actions.</td> 189 <td>Private method to define the testing actions.</td>
169 </tr><tr> 190 </tr><tr>
170 <td><a href="#Project.__initTestingMenu">__initTestingMenu</a></td> 191 <td><a href="#Project.__initTestingMenu">__initTestingMenu</a></td>
318 reference to the plugin object 339 reference to the plugin object
319 </dd><dt><i>parent</i></dt> 340 </dd><dt><i>parent</i></dt>
320 <dd> 341 <dd>
321 parent (QObject) 342 parent (QObject)
322 </dd> 343 </dd>
323 </dl><a NAME="Project.__cleanup" ID="Project.__cleanup"></a> 344 </dl><a NAME="Project.__changePassword" ID="Project.__changePassword"></a>
345 <h4>Project.__changePassword</h4>
346 <b>__changePassword</b>(<i></i>)
347 <p>
348 Private slot to change the password of a user.
349 </p><a NAME="Project.__cleanup" ID="Project.__cleanup"></a>
324 <h4>Project.__cleanup</h4> 350 <h4>Project.__cleanup</h4>
325 <b>__cleanup</b>(<i></i>) 351 <b>__cleanup</b>(<i></i>)
326 <p> 352 <p>
327 Private slot to clean out old data from the database. 353 Private slot to clean out old data from the database.
354 </p><a NAME="Project.__clearSessions" ID="Project.__clearSessions"></a>
355 <h4>Project.__clearSessions</h4>
356 <b>__clearSessions</b>(<i></i>)
357 <p>
358 Private slot to clear expired sessions.
328 </p><a NAME="Project.__createApplication" ID="Project.__createApplication"></a> 359 </p><a NAME="Project.__createApplication" ID="Project.__createApplication"></a>
329 <h4>Project.__createApplication</h4> 360 <h4>Project.__createApplication</h4>
330 <b>__createApplication</b>(<i>applName, path, isGlobal = True</i>) 361 <b>__createApplication</b>(<i>applName, path, isGlobal = True</i>)
331 <p> 362 <p>
332 Private slot to create a new Django application. 363 Private slot to create a new Django application.
369 </dl><dl> 400 </dl><dl>
370 <dt>Returns:</dt> 401 <dt>Returns:</dt>
371 <dd> 402 <dd>
372 flag indicating a successful creation (boolean) 403 flag indicating a successful creation (boolean)
373 </dd> 404 </dd>
374 </dl><a NAME="Project.__databaseFlush" ID="Project.__databaseFlush"></a> 405 </dl><a NAME="Project.__createSuperUser" ID="Project.__createSuperUser"></a>
406 <h4>Project.__createSuperUser</h4>
407 <b>__createSuperUser</b>(<i></i>)
408 <p>
409 Private slot to create a super user account.
410 </p><a NAME="Project.__databaseFlush" ID="Project.__databaseFlush"></a>
375 <h4>Project.__databaseFlush</h4> 411 <h4>Project.__databaseFlush</h4>
376 <b>__databaseFlush</b>(<i></i>) 412 <b>__databaseFlush</b>(<i></i>)
377 <p> 413 <p>
378 Private slot to return all database tables to the state just after their 414 Private slot to return all database tables to the state just after their
379 installation. 415 installation.
487 </p><dl> 523 </p><dl>
488 <dt>Returns:</dt> 524 <dt>Returns:</dt>
489 <dd> 525 <dd>
490 Python executable (string) 526 Python executable (string)
491 </dd> 527 </dd>
528 </dl><a NAME="Project.__initAuthorizationActions" ID="Project.__initAuthorizationActions"></a>
529 <h4>Project.__initAuthorizationActions</h4>
530 <b>__initAuthorizationActions</b>(<i></i>)
531 <p>
532 Private method to define the authorization actions.
533 </p><a NAME="Project.__initAuthorizationMenu" ID="Project.__initAuthorizationMenu"></a>
534 <h4>Project.__initAuthorizationMenu</h4>
535 <b>__initAuthorizationMenu</b>(<i></i>)
536 <p>
537 Private slot to initialize the authorization menu.
538 </p><dl>
539 <dt>Returns:</dt>
540 <dd>
541 the menu generated (QMenu)
542 </dd>
492 </dl><a NAME="Project.__initDatabaseActions" ID="Project.__initDatabaseActions"></a> 543 </dl><a NAME="Project.__initDatabaseActions" ID="Project.__initDatabaseActions"></a>
493 <h4>Project.__initDatabaseActions</h4> 544 <h4>Project.__initDatabaseActions</h4>
494 <b>__initDatabaseActions</b>(<i></i>) 545 <b>__initDatabaseActions</b>(<i></i>)
495 <p> 546 <p>
496 Private method to define the database related actions. 547 Private method to define the database related actions.
517 </p><dl> 568 </p><dl>
518 <dt>Returns:</dt> 569 <dt>Returns:</dt>
519 <dd> 570 <dd>
520 the menu generated (QMenu) 571 the menu generated (QMenu)
521 </dd> 572 </dd>
573 </dl><a NAME="Project.__initSessionActions" ID="Project.__initSessionActions"></a>
574 <h4>Project.__initSessionActions</h4>
575 <b>__initSessionActions</b>(<i></i>)
576 <p>
577 Private method to define the session actions.
578 </p><a NAME="Project.__initSessionMenu" ID="Project.__initSessionMenu"></a>
579 <h4>Project.__initSessionMenu</h4>
580 <b>__initSessionMenu</b>(<i></i>)
581 <p>
582 Private slot to initialize the authorization menu.
583 </p><dl>
584 <dt>Returns:</dt>
585 <dd>
586 the menu generated (QMenu)
587 </dd>
522 </dl><a NAME="Project.__initTestingActions" ID="Project.__initTestingActions"></a> 588 </dl><a NAME="Project.__initTestingActions" ID="Project.__initTestingActions"></a>
523 <h4>Project.__initTestingActions</h4> 589 <h4>Project.__initTestingActions</h4>
524 <b>__initTestingActions</b>(<i></i>) 590 <b>__initTestingActions</b>(<i></i>)
525 <p> 591 <p>
526 Private method to define the testing actions. 592 Private method to define the testing actions.

eric ide

mercurial