90 <table> |
90 <table> |
91 <tr> |
91 <tr> |
92 <td><a href="#Project.__init__">Project</a></td> |
92 <td><a href="#Project.__init__">Project</a></td> |
93 <td>Constructor</td> |
93 <td>Constructor</td> |
94 </tr><tr> |
94 </tr><tr> |
|
95 <td><a href="#Project.__adjustWorkingDirectory">__adjustWorkingDirectory</a></td> |
|
96 <td>Private method to adjust the working directory in the arguments list.</td> |
|
97 </tr><tr> |
|
98 <td><a href="#Project.__applyAllMigrations">__applyAllMigrations</a></td> |
|
99 <td>Private slot to apply all migrations.</td> |
|
100 </tr><tr> |
|
101 <td><a href="#Project.__applySelectedMigrations">__applySelectedMigrations</a></td> |
|
102 <td>Private slot to apply selected migrations of a selected app.</td> |
|
103 </tr><tr> |
95 <td><a href="#Project.__changePassword">__changePassword</a></td> |
104 <td><a href="#Project.__changePassword">__changePassword</a></td> |
96 <td>Private slot to change the password of a user.</td> |
105 <td>Private slot to change the password of a user.</td> |
97 </tr><tr> |
106 </tr><tr> |
98 <td><a href="#Project.__cleanup">__cleanup</a></td> |
|
99 <td>Private slot to clean out old data from the database.</td> |
|
100 </tr><tr> |
|
101 <td><a href="#Project.__clearSessions">__clearSessions</a></td> |
107 <td><a href="#Project.__clearSessions">__clearSessions</a></td> |
102 <td>Private slot to clear expired sessions.</td> |
108 <td>Private slot to clear expired sessions.</td> |
103 </tr><tr> |
109 </tr><tr> |
104 <td><a href="#Project.__createApplication">__createApplication</a></td> |
110 <td><a href="#Project.__createApplication">__createApplication</a></td> |
105 <td>Private slot to create a new Django application.</td> |
111 <td>Private slot to create a new Django application.</td> |
129 <td>Private slot to print the CREATE TABLE SQL statements for one or more applications.</td> |
135 <td>Private slot to print the CREATE TABLE SQL statements for one or more applications.</td> |
130 </tr><tr> |
136 </tr><tr> |
131 <td><a href="#Project.__databaseSqlCustom">__databaseSqlCustom</a></td> |
137 <td><a href="#Project.__databaseSqlCustom">__databaseSqlCustom</a></td> |
132 <td>Private slot to print the custom table modifying SQL statements for one or more applications.</td> |
138 <td>Private slot to print the custom table modifying SQL statements for one or more applications.</td> |
133 </tr><tr> |
139 </tr><tr> |
|
140 <td><a href="#Project.__databaseSqlDropIndexes">__databaseSqlDropIndexes</a></td> |
|
141 <td>Private slot to print the DROP INDEX SQL statements for one or more applications.</td> |
|
142 </tr><tr> |
134 <td><a href="#Project.__databaseSqlDropTables">__databaseSqlDropTables</a></td> |
143 <td><a href="#Project.__databaseSqlDropTables">__databaseSqlDropTables</a></td> |
135 <td>Private slot to print the DROP TABLE SQL statements for one or more applications.</td> |
144 <td>Private slot to print the DROP TABLE SQL statements for one or more applications.</td> |
136 </tr><tr> |
145 </tr><tr> |
137 <td><a href="#Project.__databaseSqlFlushDatabase">__databaseSqlFlushDatabase</a></td> |
146 <td><a href="#Project.__databaseSqlFlushDatabase">__databaseSqlFlushDatabase</a></td> |
138 <td>Private slot to print a list of statements to return all database tables to their initial state.</td> |
147 <td>Private slot to print a list of statements to return all database tables to their initial state.</td> |
139 </tr><tr> |
148 </tr><tr> |
|
149 <td><a href="#Project.__databaseSqlMigrate">__databaseSqlMigrate</a></td> |
|
150 <td>Private slot to print the SQL statements for a migration of an application.</td> |
|
151 </tr><tr> |
140 <td><a href="#Project.__databaseSqlResetSequences">__databaseSqlResetSequences</a></td> |
152 <td><a href="#Project.__databaseSqlResetSequences">__databaseSqlResetSequences</a></td> |
141 <td>Private slot to print the SQL statements for resetting sequences for one or more applications.</td> |
153 <td>Private slot to print the SQL statements for resetting sequences for one or more applications.</td> |
142 </tr><tr> |
154 </tr><tr> |
143 <td><a href="#Project.__databaseSynchronize">__databaseSynchronize</a></td> |
|
144 <td>Private slot to synchronize the database.</td> |
|
145 </tr><tr> |
|
146 <td><a href="#Project.__diffSettings">__diffSettings</a></td> |
155 <td><a href="#Project.__diffSettings">__diffSettings</a></td> |
147 <td>Private slot to show the changes made to the settings.py file.</td> |
156 <td>Private slot to show the changes made to the settings.py file.</td> |
148 </tr><tr> |
157 </tr><tr> |
149 <td><a href="#Project.__djangoInfo">__djangoInfo</a></td> |
158 <td><a href="#Project.__djangoInfo">__djangoInfo</a></td> |
150 <td>Private slot to show some info about Django.</td> |
159 <td>Private slot to show some info about Django.</td> |
168 <td>Private method to build all full path of an executable file from the environment.</td> |
177 <td>Private method to build all full path of an executable file from the environment.</td> |
169 </tr><tr> |
178 </tr><tr> |
170 <td><a href="#Project.__getLocale">__getLocale</a></td> |
179 <td><a href="#Project.__getLocale">__getLocale</a></td> |
171 <td>Private method to extract the locale out of a file name.</td> |
180 <td>Private method to extract the locale out of a file name.</td> |
172 </tr><tr> |
181 </tr><tr> |
|
182 <td><a href="#Project.__getMigrations">__getMigrations</a></td> |
|
183 <td>Private method to get the available migrations.</td> |
|
184 </tr><tr> |
173 <td><a href="#Project.__getPythonExecutable">__getPythonExecutable</a></td> |
185 <td><a href="#Project.__getPythonExecutable">__getPythonExecutable</a></td> |
174 <td>Private method to build the Python command.</td> |
186 <td>Private method to build the Python command.</td> |
175 </tr><tr> |
187 </tr><tr> |
176 <td><a href="#Project.__getVirtualEnvironment">__getVirtualEnvironment</a></td> |
188 <td><a href="#Project.__getVirtualEnvironment">__getVirtualEnvironment</a></td> |
177 <td>Private method to get the path of the virtual environment.</td> |
189 <td>Private method to get the path of the virtual environment.</td> |
178 </tr><tr> |
190 </tr><tr> |
179 <td><a href="#Project.__initAuthorizationActions">__initAuthorizationActions</a></td> |
191 <td><a href="#Project.__initAuthorizationActions">__initAuthorizationActions</a></td> |
180 <td>Private method to define the authorization actions.</td> |
192 <td>Private method to define the authorization actions.</td> |
181 </tr><tr> |
193 </tr><tr> |
182 <td><a href="#Project.__initAuthorizationMenu">__initAuthorizationMenu</a></td> |
194 <td><a href="#Project.__initAuthorizationMenu">__initAuthorizationMenu</a></td> |
183 <td>Private slot to initialize the authorization menu.</td> |
195 <td>Private method to initialize the authorization menu.</td> |
184 </tr><tr> |
196 </tr><tr> |
185 <td><a href="#Project.__initDatabaseActions">__initDatabaseActions</a></td> |
197 <td><a href="#Project.__initDatabaseActions">__initDatabaseActions</a></td> |
186 <td>Private method to define the database related actions.</td> |
198 <td>Private method to define the database related actions.</td> |
187 </tr><tr> |
199 </tr><tr> |
188 <td><a href="#Project.__initDatabaseMenu">__initDatabaseMenu</a></td> |
200 <td><a href="#Project.__initDatabaseMenu">__initDatabaseMenu</a></td> |
189 <td>Private slot to initialize the database menu.</td> |
201 <td>Private method to initialize the database menu.</td> |
190 </tr><tr> |
202 </tr><tr> |
191 <td><a href="#Project.__initDatabaseSqlActions">__initDatabaseSqlActions</a></td> |
203 <td><a href="#Project.__initDatabaseSqlActions">__initDatabaseSqlActions</a></td> |
192 <td>Private method to define the database SQL related actions.</td> |
204 <td>Private method to define the database SQL related actions.</td> |
193 </tr><tr> |
205 </tr><tr> |
194 <td><a href="#Project.__initDatabaseSqlMenu">__initDatabaseSqlMenu</a></td> |
206 <td><a href="#Project.__initDatabaseSqlMenu">__initDatabaseSqlMenu</a></td> |
195 <td>Private slot to initialize the database SQL submenu.</td> |
207 <td>Private method to initialize the database SQL submenu.</td> |
|
208 </tr><tr> |
|
209 <td><a href="#Project.__initMigrationActions">__initMigrationActions</a></td> |
|
210 <td>Private method to define the migration actions.</td> |
|
211 </tr><tr> |
|
212 <td><a href="#Project.__initMigrationsMenu">__initMigrationsMenu</a></td> |
|
213 <td>Private method to initialize the Migrations submenu.</td> |
196 </tr><tr> |
214 </tr><tr> |
197 <td><a href="#Project.__initSessionActions">__initSessionActions</a></td> |
215 <td><a href="#Project.__initSessionActions">__initSessionActions</a></td> |
198 <td>Private method to define the session actions.</td> |
216 <td>Private method to define the session actions.</td> |
199 </tr><tr> |
217 </tr><tr> |
200 <td><a href="#Project.__initSessionMenu">__initSessionMenu</a></td> |
218 <td><a href="#Project.__initSessionMenu">__initSessionMenu</a></td> |
201 <td>Private slot to initialize the authorization menu.</td> |
219 <td>Private method to initialize the authorization menu.</td> |
202 </tr><tr> |
220 </tr><tr> |
203 <td><a href="#Project.__initTestingActions">__initTestingActions</a></td> |
221 <td><a href="#Project.__initTestingActions">__initTestingActions</a></td> |
204 <td>Private method to define the testing actions.</td> |
222 <td>Private method to define the testing actions.</td> |
205 </tr><tr> |
223 </tr><tr> |
206 <td><a href="#Project.__initTestingMenu">__initTestingMenu</a></td> |
224 <td><a href="#Project.__initTestingMenu">__initTestingMenu</a></td> |
207 <td>Private slot to initialize the testing menu.</td> |
225 <td>Private method to initialize the testing menu.</td> |
208 </tr><tr> |
226 </tr><tr> |
209 <td><a href="#Project.__initToolsActions">__initToolsActions</a></td> |
227 <td><a href="#Project.__initToolsActions">__initToolsActions</a></td> |
210 <td>Private method to define the tool actions.</td> |
228 <td>Private method to define the tool actions.</td> |
211 </tr><tr> |
229 </tr><tr> |
212 <td><a href="#Project.__initToolsMenu">__initToolsMenu</a></td> |
230 <td><a href="#Project.__initToolsMenu">__initToolsMenu</a></td> |
213 <td>Private slot to initialize the tools menu.</td> |
231 <td>Private method to initialize the tools menu.</td> |
214 </tr><tr> |
232 </tr><tr> |
215 <td><a href="#Project.__isSpawningConsole">__isSpawningConsole</a></td> |
233 <td><a href="#Project.__isSpawningConsole">__isSpawningConsole</a></td> |
216 <td>Private method to check, if the given console is a spawning console.</td> |
234 <td>Private method to check, if the given console is a spawning console.</td> |
217 </tr><tr> |
235 </tr><tr> |
218 <td><a href="#Project.__loadData">__loadData</a></td> |
236 <td><a href="#Project.__loadData">__loadData</a></td> |
219 <td>Private slot to load data from fixture files.</td> |
237 <td>Private slot to load data from fixture files.</td> |
220 </tr><tr> |
238 </tr><tr> |
221 <td><a href="#Project.__loadRecentApplications">__loadRecentApplications</a></td> |
239 <td><a href="#Project.__loadRecentApplications">__loadRecentApplications</a></td> |
222 <td>Private method to load the recently used applications list.</td> |
240 <td>Private method to load the recently used applications list.</td> |
223 </tr><tr> |
241 </tr><tr> |
|
242 <td><a href="#Project.__makeMigrations">__makeMigrations</a></td> |
|
243 <td>Private slot to generate migrations for the Django project.</td> |
|
244 </tr><tr> |
224 <td><a href="#Project.__normalizeList">__normalizeList</a></td> |
245 <td><a href="#Project.__normalizeList">__normalizeList</a></td> |
225 <td>Private method to normalize a list of file names.</td> |
246 <td>Private method to normalize a list of file names.</td> |
226 </tr><tr> |
247 </tr><tr> |
|
248 <td><a href="#Project.__performCheck">__performCheck</a></td> |
|
249 <td>Private slot to inspect the project for common problems.</td> |
|
250 </tr><tr> |
227 <td><a href="#Project.__projectLanguageAdded">__projectLanguageAdded</a></td> |
251 <td><a href="#Project.__projectLanguageAdded">__projectLanguageAdded</a></td> |
228 <td>Private slot handling the addition of a new language.</td> |
252 <td>Private slot handling the addition of a new language.</td> |
229 </tr><tr> |
253 </tr><tr> |
230 <td><a href="#Project.__runBrowser">__runBrowser</a></td> |
254 <td><a href="#Project.__runBrowser">__runBrowser</a></td> |
231 <td>Private slot to start the default web browser with the server URL.</td> |
255 <td>Private slot to start the default web browser with the server URL.</td> |
282 <td>Private slot to start a new Django project.</td> |
315 <td>Private slot to start a new Django project.</td> |
283 </tr><tr> |
316 </tr><tr> |
284 <td><a href="#Project.__testServerProcFinished">__testServerProcFinished</a></td> |
317 <td><a href="#Project.__testServerProcFinished">__testServerProcFinished</a></td> |
285 <td>Private slot connected to the finished signal of the test server.</td> |
318 <td>Private slot connected to the finished signal of the test server.</td> |
286 </tr><tr> |
319 </tr><tr> |
287 <td><a href="#Project.__validate">__validate</a></td> |
320 <td><a href="#Project.__unapplyMigrations">__unapplyMigrations</a></td> |
288 <td>Private slot to validate all installed models.</td> |
321 <td>Private slot to un-apply all migrations of an application.</td> |
|
322 </tr><tr> |
|
323 <td><a href="#Project.applyMigrations">applyMigrations</a></td> |
|
324 <td>Public slot to apply migrations.</td> |
289 </tr><tr> |
325 </tr><tr> |
290 <td><a href="#Project.compileCatalogs">compileCatalogs</a></td> |
326 <td><a href="#Project.compileCatalogs">compileCatalogs</a></td> |
291 <td>Public method to compile the message catalogs.</td> |
327 <td>Public method to compile the message catalogs.</td> |
292 </tr><tr> |
328 </tr><tr> |
293 <td><a href="#Project.compileSelectedCatalogs">compileSelectedCatalogs</a></td> |
329 <td><a href="#Project.compileSelectedCatalogs">compileSelectedCatalogs</a></td> |
294 <td>Public method to update the message catalogs.</td> |
330 <td>Public method to update the message catalogs.</td> |
295 </tr><tr> |
331 </tr><tr> |
296 <td><a href="#Project.getDjangoVersion">getDjangoVersion</a></td> |
332 <td><a href="#Project.getDjangoVersion">getDjangoVersion</a></td> |
297 <td>Public method to get the Django version.</td> |
333 <td>Public method to get the Django version as a tuple.</td> |
|
334 </tr><tr> |
|
335 <td><a href="#Project.getDjangoVersionString">getDjangoVersionString</a></td> |
|
336 <td>Public method to get the Django version as a string.</td> |
298 </tr><tr> |
337 </tr><tr> |
299 <td><a href="#Project.getMenu">getMenu</a></td> |
338 <td><a href="#Project.getMenu">getMenu</a></td> |
300 <td>Public method to get a reference to the requested menu.</td> |
339 <td>Public method to get a reference to the requested menu.</td> |
301 </tr><tr> |
340 </tr><tr> |
302 <td><a href="#Project.getMenuNames">getMenuNames</a></td> |
341 <td><a href="#Project.getMenuNames">getMenuNames</a></td> |
369 reference to the plugin object |
414 reference to the plugin object |
370 </dd><dt><i>parent</i></dt> |
415 </dd><dt><i>parent</i></dt> |
371 <dd> |
416 <dd> |
372 parent (QObject) |
417 parent (QObject) |
373 </dd> |
418 </dd> |
374 </dl><a NAME="Project.__changePassword" ID="Project.__changePassword"></a> |
419 </dl><a NAME="Project.__adjustWorkingDirectory" ID="Project.__adjustWorkingDirectory"></a> |
|
420 <h4>Project.__adjustWorkingDirectory</h4> |
|
421 <b>__adjustWorkingDirectory</b>(<i>args, wd</i>) |
|
422 <p> |
|
423 Private method to adjust the working directory in the arguments list. |
|
424 </p><dl> |
|
425 <dt><i>args</i> (list of str)</dt> |
|
426 <dd> |
|
427 list of arguments to be modified |
|
428 </dd><dt><i>wd</i> (str)</dt> |
|
429 <dd> |
|
430 working directory |
|
431 </dd> |
|
432 </dl><a NAME="Project.__applyAllMigrations" ID="Project.__applyAllMigrations"></a> |
|
433 <h4>Project.__applyAllMigrations</h4> |
|
434 <b>__applyAllMigrations</b>(<i></i>) |
|
435 <p> |
|
436 Private slot to apply all migrations. |
|
437 </p><a NAME="Project.__applySelectedMigrations" ID="Project.__applySelectedMigrations"></a> |
|
438 <h4>Project.__applySelectedMigrations</h4> |
|
439 <b>__applySelectedMigrations</b>(<i></i>) |
|
440 <p> |
|
441 Private slot to apply selected migrations of a selected app. |
|
442 </p><a NAME="Project.__changePassword" ID="Project.__changePassword"></a> |
375 <h4>Project.__changePassword</h4> |
443 <h4>Project.__changePassword</h4> |
376 <b>__changePassword</b>(<i></i>) |
444 <b>__changePassword</b>(<i></i>) |
377 <p> |
445 <p> |
378 Private slot to change the password of a user. |
446 Private slot to change the password of a user. |
379 </p><a NAME="Project.__cleanup" ID="Project.__cleanup"></a> |
|
380 <h4>Project.__cleanup</h4> |
|
381 <b>__cleanup</b>(<i></i>) |
|
382 <p> |
|
383 Private slot to clean out old data from the database. |
|
384 </p><a NAME="Project.__clearSessions" ID="Project.__clearSessions"></a> |
447 </p><a NAME="Project.__clearSessions" ID="Project.__clearSessions"></a> |
385 <h4>Project.__clearSessions</h4> |
448 <h4>Project.__clearSessions</h4> |
386 <b>__clearSessions</b>(<i></i>) |
449 <b>__clearSessions</b>(<i></i>) |
387 <p> |
450 <p> |
388 Private slot to clear expired sessions. |
451 Private slot to clear expired sessions. |
454 <h4>Project.__databaseSqlCreateEverything</h4> |
517 <h4>Project.__databaseSqlCreateEverything</h4> |
455 <b>__databaseSqlCreateEverything</b>(<i></i>) |
518 <b>__databaseSqlCreateEverything</b>(<i></i>) |
456 <p> |
519 <p> |
457 Private slot to print the CREATE TABLE, custom SQL and |
520 Private slot to print the CREATE TABLE, custom SQL and |
458 CREATE INDEX SQL statements for one or more applications. |
521 CREATE INDEX SQL statements for one or more applications. |
|
522 </p><p> |
|
523 Note: available before Django v1.9.0 |
459 </p><a NAME="Project.__databaseSqlCreateIndexes" ID="Project.__databaseSqlCreateIndexes"></a> |
524 </p><a NAME="Project.__databaseSqlCreateIndexes" ID="Project.__databaseSqlCreateIndexes"></a> |
460 <h4>Project.__databaseSqlCreateIndexes</h4> |
525 <h4>Project.__databaseSqlCreateIndexes</h4> |
461 <b>__databaseSqlCreateIndexes</b>(<i></i>) |
526 <b>__databaseSqlCreateIndexes</b>(<i></i>) |
462 <p> |
527 <p> |
463 Private slot to print the CREATE INDEX SQL statements for one |
528 Private slot to print the CREATE INDEX SQL statements for one |
464 or more applications. |
529 or more applications. |
|
530 </p><p> |
|
531 Note: available before Django v1.9.0 |
465 </p><a NAME="Project.__databaseSqlCreateTables" ID="Project.__databaseSqlCreateTables"></a> |
532 </p><a NAME="Project.__databaseSqlCreateTables" ID="Project.__databaseSqlCreateTables"></a> |
466 <h4>Project.__databaseSqlCreateTables</h4> |
533 <h4>Project.__databaseSqlCreateTables</h4> |
467 <b>__databaseSqlCreateTables</b>(<i></i>) |
534 <b>__databaseSqlCreateTables</b>(<i></i>) |
468 <p> |
535 <p> |
469 Private slot to print the CREATE TABLE SQL statements for one |
536 Private slot to print the CREATE TABLE SQL statements for one |
470 or more applications. |
537 or more applications. |
|
538 </p><p> |
|
539 Note: available before Django v1.9.0 |
471 </p><a NAME="Project.__databaseSqlCustom" ID="Project.__databaseSqlCustom"></a> |
540 </p><a NAME="Project.__databaseSqlCustom" ID="Project.__databaseSqlCustom"></a> |
472 <h4>Project.__databaseSqlCustom</h4> |
541 <h4>Project.__databaseSqlCustom</h4> |
473 <b>__databaseSqlCustom</b>(<i></i>) |
542 <b>__databaseSqlCustom</b>(<i></i>) |
474 <p> |
543 <p> |
475 Private slot to print the custom table modifying SQL statements |
544 Private slot to print the custom table modifying SQL statements |
476 for one or more applications. |
545 for one or more applications. |
|
546 </p><p> |
|
547 Note: available before Django v1.9.0 |
|
548 </p><a NAME="Project.__databaseSqlDropIndexes" ID="Project.__databaseSqlDropIndexes"></a> |
|
549 <h4>Project.__databaseSqlDropIndexes</h4> |
|
550 <b>__databaseSqlDropIndexes</b>(<i></i>) |
|
551 <p> |
|
552 Private slot to print the DROP INDEX SQL statements for one or |
|
553 more applications. |
|
554 </p><p> |
|
555 Note: available before Django v1.9.0 |
477 </p><a NAME="Project.__databaseSqlDropTables" ID="Project.__databaseSqlDropTables"></a> |
556 </p><a NAME="Project.__databaseSqlDropTables" ID="Project.__databaseSqlDropTables"></a> |
478 <h4>Project.__databaseSqlDropTables</h4> |
557 <h4>Project.__databaseSqlDropTables</h4> |
479 <b>__databaseSqlDropTables</b>(<i></i>) |
558 <b>__databaseSqlDropTables</b>(<i></i>) |
480 <p> |
559 <p> |
481 Private slot to print the DROP TABLE SQL statements for one or |
560 Private slot to print the DROP TABLE SQL statements for one or |
482 more applications. |
561 more applications. |
|
562 </p><p> |
|
563 Note: available before Django v1.9.0 |
483 </p><a NAME="Project.__databaseSqlFlushDatabase" ID="Project.__databaseSqlFlushDatabase"></a> |
564 </p><a NAME="Project.__databaseSqlFlushDatabase" ID="Project.__databaseSqlFlushDatabase"></a> |
484 <h4>Project.__databaseSqlFlushDatabase</h4> |
565 <h4>Project.__databaseSqlFlushDatabase</h4> |
485 <b>__databaseSqlFlushDatabase</b>(<i></i>) |
566 <b>__databaseSqlFlushDatabase</b>(<i></i>) |
486 <p> |
567 <p> |
487 Private slot to print a list of statements to return all database |
568 Private slot to print a list of statements to return all database |
488 tables to their initial state. |
569 tables to their initial state. |
489 </p><a NAME="Project.__databaseSqlResetSequences" ID="Project.__databaseSqlResetSequences"></a> |
570 </p><a NAME="Project.__databaseSqlMigrate" ID="Project.__databaseSqlMigrate"></a> |
|
571 <h4>Project.__databaseSqlMigrate</h4> |
|
572 <b>__databaseSqlMigrate</b>(<i>backwards=False</i>) |
|
573 <p> |
|
574 Private slot to print the SQL statements for a migration of an |
|
575 application. |
|
576 </p><dl> |
|
577 <dt><i>backwards</i> (bool)</dt> |
|
578 <dd> |
|
579 flag indicating to generate the SQL code to unapply |
|
580 a migration |
|
581 </dd> |
|
582 </dl><a NAME="Project.__databaseSqlResetSequences" ID="Project.__databaseSqlResetSequences"></a> |
490 <h4>Project.__databaseSqlResetSequences</h4> |
583 <h4>Project.__databaseSqlResetSequences</h4> |
491 <b>__databaseSqlResetSequences</b>(<i></i>) |
584 <b>__databaseSqlResetSequences</b>(<i></i>) |
492 <p> |
585 <p> |
493 Private slot to print the SQL statements for resetting sequences for |
586 Private slot to print the SQL statements for resetting sequences for |
494 one or more applications. |
587 one or more applications. |
495 </p><a NAME="Project.__databaseSynchronize" ID="Project.__databaseSynchronize"></a> |
|
496 <h4>Project.__databaseSynchronize</h4> |
|
497 <b>__databaseSynchronize</b>(<i></i>) |
|
498 <p> |
|
499 Private slot to synchronize the database. |
|
500 </p><a NAME="Project.__diffSettings" ID="Project.__diffSettings"></a> |
588 </p><a NAME="Project.__diffSettings" ID="Project.__diffSettings"></a> |
501 <h4>Project.__diffSettings</h4> |
589 <h4>Project.__diffSettings</h4> |
502 <b>__diffSettings</b>(<i></i>) |
590 <b>__diffSettings</b>(<i></i>) |
503 <p> |
591 <p> |
504 Private slot to show the changes made to the settings.py file. |
592 Private slot to show the changes made to the settings.py file. |
630 Private method to define the authorization actions. |
734 Private method to define the authorization actions. |
631 </p><a NAME="Project.__initAuthorizationMenu" ID="Project.__initAuthorizationMenu"></a> |
735 </p><a NAME="Project.__initAuthorizationMenu" ID="Project.__initAuthorizationMenu"></a> |
632 <h4>Project.__initAuthorizationMenu</h4> |
736 <h4>Project.__initAuthorizationMenu</h4> |
633 <b>__initAuthorizationMenu</b>(<i></i>) |
737 <b>__initAuthorizationMenu</b>(<i></i>) |
634 <p> |
738 <p> |
635 Private slot to initialize the authorization menu. |
739 Private method to initialize the authorization menu. |
636 </p><dl> |
740 </p><dl> |
637 <dt>Returns:</dt> |
741 <dt>Returns:</dt> |
638 <dd> |
742 <dd> |
639 the menu generated (QMenu) |
743 the menu generated |
|
744 </dd> |
|
745 </dl><dl> |
|
746 <dt>Return Type:</dt> |
|
747 <dd> |
|
748 QMenu |
640 </dd> |
749 </dd> |
641 </dl><a NAME="Project.__initDatabaseActions" ID="Project.__initDatabaseActions"></a> |
750 </dl><a NAME="Project.__initDatabaseActions" ID="Project.__initDatabaseActions"></a> |
642 <h4>Project.__initDatabaseActions</h4> |
751 <h4>Project.__initDatabaseActions</h4> |
643 <b>__initDatabaseActions</b>(<i></i>) |
752 <b>__initDatabaseActions</b>(<i></i>) |
644 <p> |
753 <p> |
645 Private method to define the database related actions. |
754 Private method to define the database related actions. |
646 </p><a NAME="Project.__initDatabaseMenu" ID="Project.__initDatabaseMenu"></a> |
755 </p><a NAME="Project.__initDatabaseMenu" ID="Project.__initDatabaseMenu"></a> |
647 <h4>Project.__initDatabaseMenu</h4> |
756 <h4>Project.__initDatabaseMenu</h4> |
648 <b>__initDatabaseMenu</b>(<i></i>) |
757 <b>__initDatabaseMenu</b>(<i></i>) |
649 <p> |
758 <p> |
650 Private slot to initialize the database menu. |
759 Private method to initialize the database menu. |
651 </p><dl> |
760 </p><dl> |
652 <dt>Returns:</dt> |
761 <dt>Returns:</dt> |
653 <dd> |
762 <dd> |
654 the menu generated (QMenu) |
763 the menu generated |
|
764 </dd> |
|
765 </dl><dl> |
|
766 <dt>Return Type:</dt> |
|
767 <dd> |
|
768 QMenu |
655 </dd> |
769 </dd> |
656 </dl><a NAME="Project.__initDatabaseSqlActions" ID="Project.__initDatabaseSqlActions"></a> |
770 </dl><a NAME="Project.__initDatabaseSqlActions" ID="Project.__initDatabaseSqlActions"></a> |
657 <h4>Project.__initDatabaseSqlActions</h4> |
771 <h4>Project.__initDatabaseSqlActions</h4> |
658 <b>__initDatabaseSqlActions</b>(<i></i>) |
772 <b>__initDatabaseSqlActions</b>(<i></i>) |
659 <p> |
773 <p> |
660 Private method to define the database SQL related actions. |
774 Private method to define the database SQL related actions. |
661 </p><a NAME="Project.__initDatabaseSqlMenu" ID="Project.__initDatabaseSqlMenu"></a> |
775 </p><a NAME="Project.__initDatabaseSqlMenu" ID="Project.__initDatabaseSqlMenu"></a> |
662 <h4>Project.__initDatabaseSqlMenu</h4> |
776 <h4>Project.__initDatabaseSqlMenu</h4> |
663 <b>__initDatabaseSqlMenu</b>(<i></i>) |
777 <b>__initDatabaseSqlMenu</b>(<i></i>) |
664 <p> |
778 <p> |
665 Private slot to initialize the database SQL submenu. |
779 Private method to initialize the database SQL submenu. |
666 </p><dl> |
780 </p><dl> |
667 <dt>Returns:</dt> |
781 <dt>Returns:</dt> |
668 <dd> |
782 <dd> |
669 the menu generated (QMenu) |
783 the menu generated |
|
784 </dd> |
|
785 </dl><dl> |
|
786 <dt>Return Type:</dt> |
|
787 <dd> |
|
788 QMenu |
|
789 </dd> |
|
790 </dl><a NAME="Project.__initMigrationActions" ID="Project.__initMigrationActions"></a> |
|
791 <h4>Project.__initMigrationActions</h4> |
|
792 <b>__initMigrationActions</b>(<i></i>) |
|
793 <p> |
|
794 Private method to define the migration actions. |
|
795 </p><a NAME="Project.__initMigrationsMenu" ID="Project.__initMigrationsMenu"></a> |
|
796 <h4>Project.__initMigrationsMenu</h4> |
|
797 <b>__initMigrationsMenu</b>(<i></i>) |
|
798 <p> |
|
799 Private method to initialize the Migrations submenu. |
|
800 </p><dl> |
|
801 <dt>Returns:</dt> |
|
802 <dd> |
|
803 the menu generated |
|
804 </dd> |
|
805 </dl><dl> |
|
806 <dt>Return Type:</dt> |
|
807 <dd> |
|
808 QMenu |
670 </dd> |
809 </dd> |
671 </dl><a NAME="Project.__initSessionActions" ID="Project.__initSessionActions"></a> |
810 </dl><a NAME="Project.__initSessionActions" ID="Project.__initSessionActions"></a> |
672 <h4>Project.__initSessionActions</h4> |
811 <h4>Project.__initSessionActions</h4> |
673 <b>__initSessionActions</b>(<i></i>) |
812 <b>__initSessionActions</b>(<i></i>) |
674 <p> |
813 <p> |
675 Private method to define the session actions. |
814 Private method to define the session actions. |
676 </p><a NAME="Project.__initSessionMenu" ID="Project.__initSessionMenu"></a> |
815 </p><a NAME="Project.__initSessionMenu" ID="Project.__initSessionMenu"></a> |
677 <h4>Project.__initSessionMenu</h4> |
816 <h4>Project.__initSessionMenu</h4> |
678 <b>__initSessionMenu</b>(<i></i>) |
817 <b>__initSessionMenu</b>(<i></i>) |
679 <p> |
818 <p> |
680 Private slot to initialize the authorization menu. |
819 Private method to initialize the authorization menu. |
681 </p><dl> |
820 </p><dl> |
682 <dt>Returns:</dt> |
821 <dt>Returns:</dt> |
683 <dd> |
822 <dd> |
684 the menu generated (QMenu) |
823 the menu generated |
|
824 </dd> |
|
825 </dl><dl> |
|
826 <dt>Return Type:</dt> |
|
827 <dd> |
|
828 QMenu |
685 </dd> |
829 </dd> |
686 </dl><a NAME="Project.__initTestingActions" ID="Project.__initTestingActions"></a> |
830 </dl><a NAME="Project.__initTestingActions" ID="Project.__initTestingActions"></a> |
687 <h4>Project.__initTestingActions</h4> |
831 <h4>Project.__initTestingActions</h4> |
688 <b>__initTestingActions</b>(<i></i>) |
832 <b>__initTestingActions</b>(<i></i>) |
689 <p> |
833 <p> |
690 Private method to define the testing actions. |
834 Private method to define the testing actions. |
691 </p><a NAME="Project.__initTestingMenu" ID="Project.__initTestingMenu"></a> |
835 </p><a NAME="Project.__initTestingMenu" ID="Project.__initTestingMenu"></a> |
692 <h4>Project.__initTestingMenu</h4> |
836 <h4>Project.__initTestingMenu</h4> |
693 <b>__initTestingMenu</b>(<i></i>) |
837 <b>__initTestingMenu</b>(<i></i>) |
694 <p> |
838 <p> |
695 Private slot to initialize the testing menu. |
839 Private method to initialize the testing menu. |
696 </p><dl> |
840 </p><dl> |
697 <dt>Returns:</dt> |
841 <dt>Returns:</dt> |
698 <dd> |
842 <dd> |
699 the menu generated (QMenu) |
843 the menu generated |
|
844 </dd> |
|
845 </dl><dl> |
|
846 <dt>Return Type:</dt> |
|
847 <dd> |
|
848 QMenu |
700 </dd> |
849 </dd> |
701 </dl><a NAME="Project.__initToolsActions" ID="Project.__initToolsActions"></a> |
850 </dl><a NAME="Project.__initToolsActions" ID="Project.__initToolsActions"></a> |
702 <h4>Project.__initToolsActions</h4> |
851 <h4>Project.__initToolsActions</h4> |
703 <b>__initToolsActions</b>(<i></i>) |
852 <b>__initToolsActions</b>(<i></i>) |
704 <p> |
853 <p> |
705 Private method to define the tool actions. |
854 Private method to define the tool actions. |
706 </p><a NAME="Project.__initToolsMenu" ID="Project.__initToolsMenu"></a> |
855 </p><a NAME="Project.__initToolsMenu" ID="Project.__initToolsMenu"></a> |
707 <h4>Project.__initToolsMenu</h4> |
856 <h4>Project.__initToolsMenu</h4> |
708 <b>__initToolsMenu</b>(<i></i>) |
857 <b>__initToolsMenu</b>(<i></i>) |
709 <p> |
858 <p> |
710 Private slot to initialize the tools menu. |
859 Private method to initialize the tools menu. |
711 </p><dl> |
860 </p><dl> |
712 <dt>Returns:</dt> |
861 <dt>Returns:</dt> |
713 <dd> |
862 <dd> |
714 the menu generated (QMenu) |
863 the menu generated |
|
864 </dd> |
|
865 </dl><dl> |
|
866 <dt>Return Type:</dt> |
|
867 <dd> |
|
868 QMenu |
715 </dd> |
869 </dd> |
716 </dl><a NAME="Project.__isSpawningConsole" ID="Project.__isSpawningConsole"></a> |
870 </dl><a NAME="Project.__isSpawningConsole" ID="Project.__isSpawningConsole"></a> |
717 <h4>Project.__isSpawningConsole</h4> |
871 <h4>Project.__isSpawningConsole</h4> |
718 <b>__isSpawningConsole</b>(<i>consoleCmd</i>) |
872 <b>__isSpawningConsole</b>(<i>consoleCmd</i>) |
719 <p> |
873 <p> |
824 </dl><a NAME="Project.__showHelpIndex" ID="Project.__showHelpIndex"></a> |
993 </dl><a NAME="Project.__showHelpIndex" ID="Project.__showHelpIndex"></a> |
825 <h4>Project.__showHelpIndex</h4> |
994 <h4>Project.__showHelpIndex</h4> |
826 <b>__showHelpIndex</b>(<i></i>) |
995 <b>__showHelpIndex</b>(<i></i>) |
827 <p> |
996 <p> |
828 Private slot to show the help index page. |
997 Private slot to show the help index page. |
|
998 </p><a NAME="Project.__showMigrationsList" ID="Project.__showMigrationsList"></a> |
|
999 <h4>Project.__showMigrationsList</h4> |
|
1000 <b>__showMigrationsList</b>(<i></i>) |
|
1001 <p> |
|
1002 Private slot to show the available migrations and their status. |
|
1003 </p><a NAME="Project.__showMigrationsPlan" ID="Project.__showMigrationsPlan"></a> |
|
1004 <h4>Project.__showMigrationsPlan</h4> |
|
1005 <b>__showMigrationsPlan</b>(<i></i>) |
|
1006 <p> |
|
1007 Private slot to show the migrations plan. |
829 </p><a NAME="Project.__site" ID="Project.__site"></a> |
1008 </p><a NAME="Project.__site" ID="Project.__site"></a> |
830 <h4>Project.__site</h4> |
1009 <h4>Project.__site</h4> |
831 <b>__site</b>(<i></i>) |
1010 <b>__site</b>(<i></i>) |
832 <p> |
1011 <p> |
833 Private method to get the name of the current site. |
1012 Private method to get the name of the current site. |
906 </p><a NAME="Project.__testServerProcFinished" ID="Project.__testServerProcFinished"></a> |
1090 </p><a NAME="Project.__testServerProcFinished" ID="Project.__testServerProcFinished"></a> |
907 <h4>Project.__testServerProcFinished</h4> |
1091 <h4>Project.__testServerProcFinished</h4> |
908 <b>__testServerProcFinished</b>(<i></i>) |
1092 <b>__testServerProcFinished</b>(<i></i>) |
909 <p> |
1093 <p> |
910 Private slot connected to the finished signal of the test server. |
1094 Private slot connected to the finished signal of the test server. |
911 </p><a NAME="Project.__validate" ID="Project.__validate"></a> |
1095 </p><a NAME="Project.__unapplyMigrations" ID="Project.__unapplyMigrations"></a> |
912 <h4>Project.__validate</h4> |
1096 <h4>Project.__unapplyMigrations</h4> |
913 <b>__validate</b>(<i></i>) |
1097 <b>__unapplyMigrations</b>(<i></i>) |
914 <p> |
1098 <p> |
915 Private slot to validate all installed models. |
1099 Private slot to un-apply all migrations of an application. |
916 </p><a NAME="Project.compileCatalogs" ID="Project.compileCatalogs"></a> |
1100 </p><a NAME="Project.applyMigrations" ID="Project.applyMigrations"></a> |
|
1101 <h4>Project.applyMigrations</h4> |
|
1102 <b>applyMigrations</b>(<i>app=None, migration=None</i>) |
|
1103 <p> |
|
1104 Public slot to apply migrations. |
|
1105 </p><dl> |
|
1106 <dt><i>app</i> (str)</dt> |
|
1107 <dd> |
|
1108 name of an application to apply migrations for |
|
1109 </dd><dt><i>migration</i> (str)</dt> |
|
1110 <dd> |
|
1111 name of a migration to update to |
|
1112 </dd> |
|
1113 </dl><a NAME="Project.compileCatalogs" ID="Project.compileCatalogs"></a> |
917 <h4>Project.compileCatalogs</h4> |
1114 <h4>Project.compileCatalogs</h4> |
918 <b>compileCatalogs</b>(<i>filenames</i>) |
1115 <b>compileCatalogs</b>(<i>filenames</i>) |
919 <p> |
1116 <p> |
920 Public method to compile the message catalogs. |
1117 Public method to compile the message catalogs. |
921 </p><dl> |
1118 </p><dl> |
996 Public method to define the Django actions. |
1208 Public method to define the Django actions. |
997 </p><a NAME="Project.initMenu" ID="Project.initMenu"></a> |
1209 </p><a NAME="Project.initMenu" ID="Project.initMenu"></a> |
998 <h4>Project.initMenu</h4> |
1210 <h4>Project.initMenu</h4> |
999 <b>initMenu</b>(<i></i>) |
1211 <b>initMenu</b>(<i></i>) |
1000 <p> |
1212 <p> |
1001 Public slot to initialize the Django menu. |
1213 Public method to initialize the Django menu. |
1002 </p><dl> |
1214 </p><dl> |
1003 <dt>Returns:</dt> |
1215 <dt>Returns:</dt> |
1004 <dd> |
1216 <dd> |
1005 the menu generated (QMenu) |
1217 the menu generated |
|
1218 </dd> |
|
1219 </dl><dl> |
|
1220 <dt>Return Type:</dt> |
|
1221 <dd> |
|
1222 QMenu |
|
1223 </dd> |
|
1224 </dl><a NAME="Project.makeMigrations" ID="Project.makeMigrations"></a> |
|
1225 <h4>Project.makeMigrations</h4> |
|
1226 <b>makeMigrations</b>(<i>apps, migration=None, dryRun=False</i>) |
|
1227 <p> |
|
1228 Public method to generate migrations. |
|
1229 </p><dl> |
|
1230 <dt><i>apps</i> (list of str)</dt> |
|
1231 <dd> |
|
1232 list of application names to generate migrations for |
|
1233 </dd><dt><i>migration</i> (str)</dt> |
|
1234 <dd> |
|
1235 name of the migration to generate |
|
1236 </dd><dt><i>dryRun</i> (bool)</dt> |
|
1237 <dd> |
|
1238 flag indicating a dry run |
1006 </dd> |
1239 </dd> |
1007 </dl><a NAME="Project.newForm" ID="Project.newForm"></a> |
1240 </dl><a NAME="Project.newForm" ID="Project.newForm"></a> |
1008 <h4>Project.newForm</h4> |
1241 <h4>Project.newForm</h4> |
1009 <b>newForm</b>(<i>path</i>) |
1242 <b>newForm</b>(<i>path</i>) |
1010 <p> |
1243 <p> |