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

changeset 29
76d04dd67367
parent 26
2dd206cd1aa2
child 32
fd79d080b065
equal deleted inserted replaced
28:df55ca77e25f 29:76d04dd67367
33 <td><a href="#DjangoNoSiteSelectedException">DjangoNoSiteSelectedException</a></td> 33 <td><a href="#DjangoNoSiteSelectedException">DjangoNoSiteSelectedException</a></td>
34 <td>Exception thrown to signal, that there is no current site.</td> 34 <td>Exception thrown to signal, that there is no current site.</td>
35 </tr><tr> 35 </tr><tr>
36 <td><a href="#Project">Project</a></td> 36 <td><a href="#Project">Project</a></td>
37 <td>Class implementing the Django project support.</td> 37 <td>Class implementing the Django project support.</td>
38 </tr><tr>
39 <td><a href="#QProcess">QProcess</a></td>
40 <td>Class transforming the call arguments in case of gnome-terminal.</td>
38 </tr> 41 </tr>
39 </table> 42 </table>
40 <h3>Functions</h3> 43 <h3>Functions</h3>
41 <table> 44 <table>
42 <tr><td>None</td></tr> 45 <tr><td>None</td></tr>
390 <dd> 393 <dd>
391 the directory where the application should be created 394 the directory where the application should be created
392 (string) 395 (string)
393 </dd><dt><i>isGlobal</i></dt> 396 </dd><dt><i>isGlobal</i></dt>
394 <dd> 397 <dd>
395 flag indicating a standalone Django application (boolean) 398 flag indicating a standalone Django application
399 (boolean)
396 </dd> 400 </dd>
397 </dl><dl> 401 </dl><dl>
398 <dt>Returns:</dt> 402 <dt>Returns:</dt>
399 <dd> 403 <dd>
400 flag indicating a successful creation (boolean) 404 flag indicating a successful creation (boolean)
430 Private slot to create a super user account. 434 Private slot to create a super user account.
431 </p><a NAME="Project.__databaseFlush" ID="Project.__databaseFlush"></a> 435 </p><a NAME="Project.__databaseFlush" ID="Project.__databaseFlush"></a>
432 <h4>Project.__databaseFlush</h4> 436 <h4>Project.__databaseFlush</h4>
433 <b>__databaseFlush</b>(<i></i>) 437 <b>__databaseFlush</b>(<i></i>)
434 <p> 438 <p>
435 Private slot to return all database tables to the state just after their 439 Private slot to return all database tables to the state just after
436 installation. 440 their installation.
437 </p><a NAME="Project.__databaseInspect" ID="Project.__databaseInspect"></a> 441 </p><a NAME="Project.__databaseInspect" ID="Project.__databaseInspect"></a>
438 <h4>Project.__databaseInspect</h4> 442 <h4>Project.__databaseInspect</h4>
439 <b>__databaseInspect</b>(<i></i>) 443 <b>__databaseInspect</b>(<i></i>)
440 <p> 444 <p>
441 Private slot to introspect the database and output a Django model module. 445 Private slot to introspect the database and output a Django model
446 module.
442 </p><a NAME="Project.__databaseSqlCreateEverything" ID="Project.__databaseSqlCreateEverything"></a> 447 </p><a NAME="Project.__databaseSqlCreateEverything" ID="Project.__databaseSqlCreateEverything"></a>
443 <h4>Project.__databaseSqlCreateEverything</h4> 448 <h4>Project.__databaseSqlCreateEverything</h4>
444 <b>__databaseSqlCreateEverything</b>(<i></i>) 449 <b>__databaseSqlCreateEverything</b>(<i></i>)
445 <p> 450 <p>
446 Private slot to print the CREATE TABLE, custom SQL and 451 Private slot to print the CREATE TABLE, custom SQL and
565 filename of the executable (string) 570 filename of the executable (string)
566 </dd> 571 </dd>
567 </dl><dl> 572 </dl><dl>
568 <dt>Returns:</dt> 573 <dt>Returns:</dt>
569 <dd> 574 <dd>
570 list of full executable names, if the executable file is accessible 575 list of full executable names, if the executable file is
571 via the searchpath defined by the PATH environment variable, or an 576 accessible via the searchpath defined by the PATH environment
572 empty list otherwise. 577 variable, or an empty list otherwise.
573 </dd> 578 </dd>
574 </dl><a NAME="Project.__getLocale" ID="Project.__getLocale"></a> 579 </dl><a NAME="Project.__getLocale" ID="Project.__getLocale"></a>
575 <h4>Project.__getLocale</h4> 580 <h4>Project.__getLocale</h4>
576 <b>__getLocale</b>(<i>filename</i>) 581 <b>__getLocale</b>(<i>filename</i>)
577 <p> 582 <p>
776 Private slot to start the Django Web server. 781 Private slot to start the Django Web server.
777 </p><a NAME="Project.__runTestServer" ID="Project.__runTestServer"></a> 782 </p><a NAME="Project.__runTestServer" ID="Project.__runTestServer"></a>
778 <h4>Project.__runTestServer</h4> 783 <h4>Project.__runTestServer</h4>
779 <b>__runTestServer</b>(<i></i>) 784 <b>__runTestServer</b>(<i></i>)
780 <p> 785 <p>
781 Private slot to run a development server with data from a set of fixtures. 786 Private slot to run a development server with data from a set of
787 fixtures.
782 </p><a NAME="Project.__runTestSuite" ID="Project.__runTestSuite"></a> 788 </p><a NAME="Project.__runTestSuite" ID="Project.__runTestSuite"></a>
783 <h4>Project.__runTestSuite</h4> 789 <h4>Project.__runTestSuite</h4>
784 <b>__runTestSuite</b>(<i></i>) 790 <b>__runTestSuite</b>(<i></i>)
785 <p> 791 <p>
786 Private slot to run the test suite for applications or the whole site. 792 Private slot to run the test suite for applications or the whole site.
792 </p><a NAME="Project.__selectSite" ID="Project.__selectSite"></a> 798 </p><a NAME="Project.__selectSite" ID="Project.__selectSite"></a>
793 <h4>Project.__selectSite</h4> 799 <h4>Project.__selectSite</h4>
794 <b>__selectSite</b>(<i></i>) 800 <b>__selectSite</b>(<i></i>)
795 <p> 801 <p>
796 Private method to select a site to work with. 802 Private method to select a site to work with.
797 </p><dl> 803 </p><a NAME="Project.__serverProcFinished" ID="Project.__serverProcFinished"></a>
798 <dt>Returns:</dt>
799 <dd>
800 selected site (string)
801 </dd>
802 </dl><a NAME="Project.__serverProcFinished" ID="Project.__serverProcFinished"></a>
803 <h4>Project.__serverProcFinished</h4> 804 <h4>Project.__serverProcFinished</h4>
804 <b>__serverProcFinished</b>(<i></i>) 805 <b>__serverProcFinished</b>(<i></i>)
805 <p> 806 <p>
806 Private slot connected to the finished signal. 807 Private slot connected to the finished signal.
807 </p><a NAME="Project.__setCurrentSite" ID="Project.__setCurrentSite"></a> 808 </p><a NAME="Project.__setCurrentSite" ID="Project.__setCurrentSite"></a>
1077 <dd> 1078 <dd>
1078 list of filenames 1079 list of filenames
1079 </dd> 1080 </dd>
1080 </dl> 1081 </dl>
1081 <div align="right"><a href="#top">Up</a></div> 1082 <div align="right"><a href="#top">Up</a></div>
1083 <hr /><hr />
1084 <a NAME="QProcess" ID="QProcess"></a>
1085 <h2>QProcess</h2>
1086 <p>
1087 Class transforming the call arguments in case of gnome-terminal.
1088 </p>
1089 <h3>Derived from</h3>
1090 QProcessPyQt
1091 <h3>Class Attributes</h3>
1092 <table>
1093 <tr><td>None</td></tr>
1094 </table>
1095 <h3>Class Methods</h3>
1096 <table>
1097 <tr><td>None</td></tr>
1098 </table>
1099 <h3>Methods</h3>
1100 <table>
1101 <tr>
1102 <td><a href="#QProcess.start">start</a></td>
1103 <td>Static method to start the given program (cmd) in a new process, if none is already running, passing the command line arguments in args.</td>
1104 </tr>
1105 </table>
1106 <h3>Static Methods</h3>
1107 <table>
1108 <tr>
1109 <td><a href="#QProcess.startDetached">startDetached</a></td>
1110 <td>Static method to start the given program (cmd) in a new process, if none is already running, passing the command line arguments in args.</td>
1111 </tr>
1112 </table>
1113 <a NAME="QProcess.start" ID="QProcess.start"></a>
1114 <h4>QProcess.start</h4>
1115 <b>start</b>(<i>cmd, args=[], mode=QProcessPyQt.ReadWrite</i>)
1116 <p>
1117 Static method to start the given program (cmd) in a new process, if
1118 none is already running, passing the command line arguments in args.
1119 </p><dl>
1120 <dt><i>cmd</i></dt>
1121 <dd>
1122 start the given program cmd (string)
1123 </dd><dt><i>args=</i></dt>
1124 <dd>
1125 list of parameters (list of strings)
1126 </dd><dt><i>mode=</i></dt>
1127 <dd>
1128 access mode (QIODevice.OpenMode)
1129 </dd>
1130 </dl><a NAME="QProcess.startDetached" ID="QProcess.startDetached"></a>
1131 <h4>QProcess.startDetached (static)</h4>
1132 <b>startDetached</b>(<i>args=[], path=''</i>)
1133 <p>
1134 Static method to start the given program (cmd) in a new process, if
1135 none is already running, passing the command line arguments in args.
1136 </p><dl>
1137 <dt><i>cmd</i></dt>
1138 <dd>
1139 start the given program cmd (string)
1140 </dd><dt><i>args=</i></dt>
1141 <dd>
1142 list of parameters (list of strings)
1143 </dd><dt><i>path=</i></dt>
1144 <dd>
1145 new working directory (string)
1146 </dd>
1147 </dl><dl>
1148 <dt>Returns:</dt>
1149 <dd>
1150 tuple of successful start and process id (boolean, integer)
1151 </dd>
1152 </dl>
1153 <div align="right"><a href="#top">Up</a></div>
1082 <hr /> 1154 <hr />
1083 </body></html> 1155 </body></html>

eric ide

mercurial