16 |
16 |
17 a { color: #BA6D36; } |
17 a { color: #BA6D36; } |
18 |
18 |
19 </style> |
19 </style> |
20 </head> |
20 </head> |
21 <body><a NAME="top" ID="top"></a> |
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
22 <h1>Plugin_Project_Django.ProjectDjango.Project</h1> |
23 <h1>Plugin_Project_Django.ProjectDjango.Project</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing the Django project support. |
26 Module implementing the Django project support. |
25 </p> |
27 </p> |
26 <h3>Global Attributes</h3> |
28 <h3>Global Attributes</h3> |
|
29 |
27 <table> |
30 <table> |
28 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
29 </table> |
32 </table> |
30 <h3>Classes</h3> |
33 <h3>Classes</h3> |
|
34 |
31 <table> |
35 <table> |
|
36 |
32 <tr> |
37 <tr> |
33 <td><a href="#DjangoNoSiteSelectedException">DjangoNoSiteSelectedException</a></td> |
38 <td><a href="#DjangoNoSiteSelectedException">DjangoNoSiteSelectedException</a></td> |
34 <td>Exception thrown to signal, that there is no current site.</td> |
39 <td>Exception thrown to signal, that there is no current site.</td> |
35 </tr><tr> |
40 </tr> |
|
41 <tr> |
36 <td><a href="#Project">Project</a></td> |
42 <td><a href="#Project">Project</a></td> |
37 <td>Class implementing the Django project support.</td> |
43 <td>Class implementing the Django project support.</td> |
38 </tr><tr> |
44 </tr> |
|
45 <tr> |
39 <td><a href="#QProcess">QProcess</a></td> |
46 <td><a href="#QProcess">QProcess</a></td> |
40 <td>Class transforming the call arguments in case of gnome-terminal.</td> |
47 <td>Class transforming the call arguments in case of gnome-terminal.</td> |
41 </tr> |
48 </tr> |
42 </table> |
49 </table> |
43 <h3>Functions</h3> |
50 <h3>Functions</h3> |
|
51 |
44 <table> |
52 <table> |
45 <tr><td>None</td></tr> |
53 <tr><td>None</td></tr> |
46 </table> |
54 </table> |
47 <hr /><hr /> |
55 <hr /> |
|
56 <hr /> |
48 <a NAME="DjangoNoSiteSelectedException" ID="DjangoNoSiteSelectedException"></a> |
57 <a NAME="DjangoNoSiteSelectedException" ID="DjangoNoSiteSelectedException"></a> |
49 <h2>DjangoNoSiteSelectedException</h2> |
58 <h2>DjangoNoSiteSelectedException</h2> |
|
59 |
50 <p> |
60 <p> |
51 Exception thrown to signal, that there is no current site. |
61 Exception thrown to signal, that there is no current site. |
52 </p> |
62 </p> |
53 <h3>Derived from</h3> |
63 <h3>Derived from</h3> |
54 Exception |
64 Exception |
55 <h3>Class Attributes</h3> |
65 <h3>Class Attributes</h3> |
|
66 |
56 <table> |
67 <table> |
57 <tr><td>None</td></tr> |
68 <tr><td>None</td></tr> |
58 </table> |
69 </table> |
59 <h3>Class Methods</h3> |
70 <h3>Class Methods</h3> |
|
71 |
60 <table> |
72 <table> |
61 <tr><td>None</td></tr> |
73 <tr><td>None</td></tr> |
62 </table> |
74 </table> |
63 <h3>Methods</h3> |
75 <h3>Methods</h3> |
|
76 |
64 <table> |
77 <table> |
65 <tr><td>None</td></tr> |
78 <tr><td>None</td></tr> |
66 </table> |
79 </table> |
67 <h3>Static Methods</h3> |
80 <h3>Static Methods</h3> |
|
81 |
68 <table> |
82 <table> |
69 <tr><td>None</td></tr> |
83 <tr><td>None</td></tr> |
70 </table> |
84 </table> |
71 |
85 |
72 <div align="right"><a href="#top">Up</a></div> |
86 <div align="right"><a href="#top">Up</a></div> |
73 <hr /><hr /> |
87 <hr /> |
|
88 <hr /> |
74 <a NAME="Project" ID="Project"></a> |
89 <a NAME="Project" ID="Project"></a> |
75 <h2>Project</h2> |
90 <h2>Project</h2> |
|
91 |
76 <p> |
92 <p> |
77 Class implementing the Django project support. |
93 Class implementing the Django project support. |
78 </p> |
94 </p> |
79 <h3>Derived from</h3> |
95 <h3>Derived from</h3> |
80 QObject |
96 QObject |
81 <h3>Class Attributes</h3> |
97 <h3>Class Attributes</h3> |
|
98 |
82 <table> |
99 <table> |
83 <tr><td>RecentApplicationsKey</td></tr><tr><td>RecentDatabaseNamesKey</td></tr> |
100 <tr><td>RecentApplicationsKey</td></tr><tr><td>RecentDatabaseNamesKey</td></tr> |
84 </table> |
101 </table> |
85 <h3>Class Methods</h3> |
102 <h3>Class Methods</h3> |
|
103 |
86 <table> |
104 <table> |
87 <tr><td>None</td></tr> |
105 <tr><td>None</td></tr> |
88 </table> |
106 </table> |
89 <h3>Methods</h3> |
107 <h3>Methods</h3> |
|
108 |
90 <table> |
109 <table> |
|
110 |
91 <tr> |
111 <tr> |
92 <td><a href="#Project.__init__">Project</a></td> |
112 <td><a href="#Project.__init__">Project</a></td> |
93 <td>Constructor</td> |
113 <td>Constructor</td> |
94 </tr><tr> |
114 </tr> |
|
115 <tr> |
95 <td><a href="#Project.__adjustWorkingDirectory">__adjustWorkingDirectory</a></td> |
116 <td><a href="#Project.__adjustWorkingDirectory">__adjustWorkingDirectory</a></td> |
96 <td>Private method to adjust the working directory in the arguments list.</td> |
117 <td>Private method to adjust the working directory in the arguments list.</td> |
97 </tr><tr> |
118 </tr> |
|
119 <tr> |
98 <td><a href="#Project.__applyAllMigrations">__applyAllMigrations</a></td> |
120 <td><a href="#Project.__applyAllMigrations">__applyAllMigrations</a></td> |
99 <td>Private slot to apply all migrations.</td> |
121 <td>Private slot to apply all migrations.</td> |
100 </tr><tr> |
122 </tr> |
|
123 <tr> |
101 <td><a href="#Project.__applySelectedMigrations">__applySelectedMigrations</a></td> |
124 <td><a href="#Project.__applySelectedMigrations">__applySelectedMigrations</a></td> |
102 <td>Private slot to apply selected migrations of a selected app.</td> |
125 <td>Private slot to apply selected migrations of a selected app.</td> |
103 </tr><tr> |
126 </tr> |
|
127 <tr> |
104 <td><a href="#Project.__changePassword">__changePassword</a></td> |
128 <td><a href="#Project.__changePassword">__changePassword</a></td> |
105 <td>Private slot to change the password of a user.</td> |
129 <td>Private slot to change the password of a user.</td> |
106 </tr><tr> |
130 </tr> |
|
131 <tr> |
107 <td><a href="#Project.__clearSessions">__clearSessions</a></td> |
132 <td><a href="#Project.__clearSessions">__clearSessions</a></td> |
108 <td>Private slot to clear expired sessions.</td> |
133 <td>Private slot to clear expired sessions.</td> |
109 </tr><tr> |
134 </tr> |
|
135 <tr> |
110 <td><a href="#Project.__createApplication">__createApplication</a></td> |
136 <td><a href="#Project.__createApplication">__createApplication</a></td> |
111 <td>Private slot to create a new Django application.</td> |
137 <td>Private slot to create a new Django application.</td> |
112 </tr><tr> |
138 </tr> |
|
139 <tr> |
113 <td><a href="#Project.__createCacheTables">__createCacheTables</a></td> |
140 <td><a href="#Project.__createCacheTables">__createCacheTables</a></td> |
114 <td>Private slot to create the tables for the SQL caching backend.</td> |
141 <td>Private slot to create the tables for the SQL caching backend.</td> |
115 </tr><tr> |
142 </tr> |
|
143 <tr> |
116 <td><a href="#Project.__createProject">__createProject</a></td> |
144 <td><a href="#Project.__createProject">__createProject</a></td> |
117 <td>Private slot to create a new Django project.</td> |
145 <td>Private slot to create a new Django project.</td> |
118 </tr><tr> |
146 </tr> |
|
147 <tr> |
119 <td><a href="#Project.__createSuperUser">__createSuperUser</a></td> |
148 <td><a href="#Project.__createSuperUser">__createSuperUser</a></td> |
120 <td>Private slot to create a super user account.</td> |
149 <td>Private slot to create a super user account.</td> |
121 </tr><tr> |
150 </tr> |
|
151 <tr> |
122 <td><a href="#Project.__databaseFlush">__databaseFlush</a></td> |
152 <td><a href="#Project.__databaseFlush">__databaseFlush</a></td> |
123 <td>Private slot to return all database tables to the state just after their installation.</td> |
153 <td>Private slot to return all database tables to the state just after their installation.</td> |
124 </tr><tr> |
154 </tr> |
|
155 <tr> |
125 <td><a href="#Project.__databaseInspect">__databaseInspect</a></td> |
156 <td><a href="#Project.__databaseInspect">__databaseInspect</a></td> |
126 <td>Private slot to introspect the database and output a Django model module.</td> |
157 <td>Private slot to introspect the database and output a Django model module.</td> |
127 </tr><tr> |
158 </tr> |
|
159 <tr> |
128 <td><a href="#Project.__databaseSqlCreateEverything">__databaseSqlCreateEverything</a></td> |
160 <td><a href="#Project.__databaseSqlCreateEverything">__databaseSqlCreateEverything</a></td> |
129 <td>Private slot to print the CREATE TABLE, custom SQL and CREATE INDEX SQL statements for one or more applications.</td> |
161 <td>Private slot to print the CREATE TABLE, custom SQL and CREATE INDEX SQL statements for one or more applications.</td> |
130 </tr><tr> |
162 </tr> |
|
163 <tr> |
131 <td><a href="#Project.__databaseSqlCreateIndexes">__databaseSqlCreateIndexes</a></td> |
164 <td><a href="#Project.__databaseSqlCreateIndexes">__databaseSqlCreateIndexes</a></td> |
132 <td>Private slot to print the CREATE INDEX SQL statements for one or more applications.</td> |
165 <td>Private slot to print the CREATE INDEX SQL statements for one or more applications.</td> |
133 </tr><tr> |
166 </tr> |
|
167 <tr> |
134 <td><a href="#Project.__databaseSqlCreateTables">__databaseSqlCreateTables</a></td> |
168 <td><a href="#Project.__databaseSqlCreateTables">__databaseSqlCreateTables</a></td> |
135 <td>Private slot to print the CREATE TABLE SQL statements for one or more applications.</td> |
169 <td>Private slot to print the CREATE TABLE SQL statements for one or more applications.</td> |
136 </tr><tr> |
170 </tr> |
|
171 <tr> |
137 <td><a href="#Project.__databaseSqlCustom">__databaseSqlCustom</a></td> |
172 <td><a href="#Project.__databaseSqlCustom">__databaseSqlCustom</a></td> |
138 <td>Private slot to print the custom table modifying SQL statements for one or more applications.</td> |
173 <td>Private slot to print the custom table modifying SQL statements for one or more applications.</td> |
139 </tr><tr> |
174 </tr> |
|
175 <tr> |
140 <td><a href="#Project.__databaseSqlDropIndexes">__databaseSqlDropIndexes</a></td> |
176 <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> |
177 <td>Private slot to print the DROP INDEX SQL statements for one or more applications.</td> |
142 </tr><tr> |
178 </tr> |
|
179 <tr> |
143 <td><a href="#Project.__databaseSqlDropTables">__databaseSqlDropTables</a></td> |
180 <td><a href="#Project.__databaseSqlDropTables">__databaseSqlDropTables</a></td> |
144 <td>Private slot to print the DROP TABLE SQL statements for one or more applications.</td> |
181 <td>Private slot to print the DROP TABLE SQL statements for one or more applications.</td> |
145 </tr><tr> |
182 </tr> |
|
183 <tr> |
146 <td><a href="#Project.__databaseSqlFlushDatabase">__databaseSqlFlushDatabase</a></td> |
184 <td><a href="#Project.__databaseSqlFlushDatabase">__databaseSqlFlushDatabase</a></td> |
147 <td>Private slot to print a list of statements to return all database tables to their initial state.</td> |
185 <td>Private slot to print a list of statements to return all database tables to their initial state.</td> |
148 </tr><tr> |
186 </tr> |
|
187 <tr> |
149 <td><a href="#Project.__databaseSqlMigrate">__databaseSqlMigrate</a></td> |
188 <td><a href="#Project.__databaseSqlMigrate">__databaseSqlMigrate</a></td> |
150 <td>Private slot to print the SQL statements for a migration of an application.</td> |
189 <td>Private slot to print the SQL statements for a migration of an application.</td> |
151 </tr><tr> |
190 </tr> |
|
191 <tr> |
152 <td><a href="#Project.__databaseSqlResetSequences">__databaseSqlResetSequences</a></td> |
192 <td><a href="#Project.__databaseSqlResetSequences">__databaseSqlResetSequences</a></td> |
153 <td>Private slot to print the SQL statements for resetting sequences for one or more applications.</td> |
193 <td>Private slot to print the SQL statements for resetting sequences for one or more applications.</td> |
154 </tr><tr> |
194 </tr> |
|
195 <tr> |
155 <td><a href="#Project.__diffSettings">__diffSettings</a></td> |
196 <td><a href="#Project.__diffSettings">__diffSettings</a></td> |
156 <td>Private slot to show the changes made to the settings.py file.</td> |
197 <td>Private slot to show the changes made to the settings.py file.</td> |
157 </tr><tr> |
198 </tr> |
|
199 <tr> |
158 <td><a href="#Project.__djangoInfo">__djangoInfo</a></td> |
200 <td><a href="#Project.__djangoInfo">__djangoInfo</a></td> |
159 <td>Private slot to show some info about Django.</td> |
201 <td>Private slot to show some info about Django.</td> |
160 </tr><tr> |
202 </tr> |
|
203 <tr> |
161 <td><a href="#Project.__dumpData">__dumpData</a></td> |
204 <td><a href="#Project.__dumpData">__dumpData</a></td> |
162 <td>Private slot to dump the database data to a fixture.</td> |
205 <td>Private slot to dump the database data to a fixture.</td> |
163 </tr><tr> |
206 </tr> |
|
207 <tr> |
164 <td><a href="#Project.__findSites">__findSites</a></td> |
208 <td><a href="#Project.__findSites">__findSites</a></td> |
165 <td>Private method to determine the relative path to all manage.py scripts.</td> |
209 <td>Private method to determine the relative path to all manage.py scripts.</td> |
166 </tr><tr> |
210 </tr> |
|
211 <tr> |
167 <td><a href="#Project.__getApplications">__getApplications</a></td> |
212 <td><a href="#Project.__getApplications">__getApplications</a></td> |
168 <td>Private method to ask the user for a list of application names.</td> |
213 <td>Private method to ask the user for a list of application names.</td> |
169 </tr><tr> |
214 </tr> |
|
215 <tr> |
170 <td><a href="#Project.__getDebugEnvironment">__getDebugEnvironment</a></td> |
216 <td><a href="#Project.__getDebugEnvironment">__getDebugEnvironment</a></td> |
171 <td>Private method to get the path of the debugger environment.</td> |
217 <td>Private method to get the path of the debugger environment.</td> |
172 </tr><tr> |
218 </tr> |
|
219 <tr> |
173 <td><a href="#Project.__getDjangoAdminCommand">__getDjangoAdminCommand</a></td> |
220 <td><a href="#Project.__getDjangoAdminCommand">__getDjangoAdminCommand</a></td> |
174 <td>Private method to build a django-admin.py command.</td> |
221 <td>Private method to build a django-admin.py command.</td> |
175 </tr><tr> |
222 </tr> |
|
223 <tr> |
176 <td><a href="#Project.__getExecutablePaths">__getExecutablePaths</a></td> |
224 <td><a href="#Project.__getExecutablePaths">__getExecutablePaths</a></td> |
177 <td>Private method to build all full paths of an executable file from the environment.</td> |
225 <td>Private method to build all full paths of an executable file from the environment.</td> |
178 </tr><tr> |
226 </tr> |
|
227 <tr> |
179 <td><a href="#Project.__getLocale">__getLocale</a></td> |
228 <td><a href="#Project.__getLocale">__getLocale</a></td> |
180 <td>Private method to extract the locale out of a file name.</td> |
229 <td>Private method to extract the locale out of a file name.</td> |
181 </tr><tr> |
230 </tr> |
|
231 <tr> |
182 <td><a href="#Project.__getMigrations">__getMigrations</a></td> |
232 <td><a href="#Project.__getMigrations">__getMigrations</a></td> |
183 <td>Private method to get the available migrations.</td> |
233 <td>Private method to get the available migrations.</td> |
184 </tr><tr> |
234 </tr> |
|
235 <tr> |
185 <td><a href="#Project.__getPythonExecutable">__getPythonExecutable</a></td> |
236 <td><a href="#Project.__getPythonExecutable">__getPythonExecutable</a></td> |
186 <td>Private method to build the Python command.</td> |
237 <td>Private method to build the Python command.</td> |
187 </tr><tr> |
238 </tr> |
|
239 <tr> |
188 <td><a href="#Project.__getVirtualEnvironment">__getVirtualEnvironment</a></td> |
240 <td><a href="#Project.__getVirtualEnvironment">__getVirtualEnvironment</a></td> |
189 <td>Private method to get the path of the virtual environment.</td> |
241 <td>Private method to get the path of the virtual environment.</td> |
190 </tr><tr> |
242 </tr> |
|
243 <tr> |
191 <td><a href="#Project.__initAuthorizationActions">__initAuthorizationActions</a></td> |
244 <td><a href="#Project.__initAuthorizationActions">__initAuthorizationActions</a></td> |
192 <td>Private method to define the authorization actions.</td> |
245 <td>Private method to define the authorization actions.</td> |
193 </tr><tr> |
246 </tr> |
|
247 <tr> |
194 <td><a href="#Project.__initAuthorizationMenu">__initAuthorizationMenu</a></td> |
248 <td><a href="#Project.__initAuthorizationMenu">__initAuthorizationMenu</a></td> |
195 <td>Private method to initialize the authorization menu.</td> |
249 <td>Private method to initialize the authorization menu.</td> |
196 </tr><tr> |
250 </tr> |
|
251 <tr> |
197 <td><a href="#Project.__initDatabaseActions">__initDatabaseActions</a></td> |
252 <td><a href="#Project.__initDatabaseActions">__initDatabaseActions</a></td> |
198 <td>Private method to define the database related actions.</td> |
253 <td>Private method to define the database related actions.</td> |
199 </tr><tr> |
254 </tr> |
|
255 <tr> |
200 <td><a href="#Project.__initDatabaseMenu">__initDatabaseMenu</a></td> |
256 <td><a href="#Project.__initDatabaseMenu">__initDatabaseMenu</a></td> |
201 <td>Private method to initialize the database menu.</td> |
257 <td>Private method to initialize the database menu.</td> |
202 </tr><tr> |
258 </tr> |
|
259 <tr> |
203 <td><a href="#Project.__initDatabaseSqlActions">__initDatabaseSqlActions</a></td> |
260 <td><a href="#Project.__initDatabaseSqlActions">__initDatabaseSqlActions</a></td> |
204 <td>Private method to define the database SQL related actions.</td> |
261 <td>Private method to define the database SQL related actions.</td> |
205 </tr><tr> |
262 </tr> |
|
263 <tr> |
206 <td><a href="#Project.__initDatabaseSqlMenu">__initDatabaseSqlMenu</a></td> |
264 <td><a href="#Project.__initDatabaseSqlMenu">__initDatabaseSqlMenu</a></td> |
207 <td>Private method to initialize the database SQL submenu.</td> |
265 <td>Private method to initialize the database SQL submenu.</td> |
208 </tr><tr> |
266 </tr> |
|
267 <tr> |
209 <td><a href="#Project.__initMigrationActions">__initMigrationActions</a></td> |
268 <td><a href="#Project.__initMigrationActions">__initMigrationActions</a></td> |
210 <td>Private method to define the migration actions.</td> |
269 <td>Private method to define the migration actions.</td> |
211 </tr><tr> |
270 </tr> |
|
271 <tr> |
212 <td><a href="#Project.__initMigrationsMenu">__initMigrationsMenu</a></td> |
272 <td><a href="#Project.__initMigrationsMenu">__initMigrationsMenu</a></td> |
213 <td>Private method to initialize the Migrations submenu.</td> |
273 <td>Private method to initialize the Migrations submenu.</td> |
214 </tr><tr> |
274 </tr> |
|
275 <tr> |
215 <td><a href="#Project.__initSessionActions">__initSessionActions</a></td> |
276 <td><a href="#Project.__initSessionActions">__initSessionActions</a></td> |
216 <td>Private method to define the session actions.</td> |
277 <td>Private method to define the session actions.</td> |
217 </tr><tr> |
278 </tr> |
|
279 <tr> |
218 <td><a href="#Project.__initSessionMenu">__initSessionMenu</a></td> |
280 <td><a href="#Project.__initSessionMenu">__initSessionMenu</a></td> |
219 <td>Private method to initialize the authorization menu.</td> |
281 <td>Private method to initialize the authorization menu.</td> |
220 </tr><tr> |
282 </tr> |
|
283 <tr> |
221 <td><a href="#Project.__initTestingActions">__initTestingActions</a></td> |
284 <td><a href="#Project.__initTestingActions">__initTestingActions</a></td> |
222 <td>Private method to define the testing actions.</td> |
285 <td>Private method to define the testing actions.</td> |
223 </tr><tr> |
286 </tr> |
|
287 <tr> |
224 <td><a href="#Project.__initTestingMenu">__initTestingMenu</a></td> |
288 <td><a href="#Project.__initTestingMenu">__initTestingMenu</a></td> |
225 <td>Private method to initialize the testing menu.</td> |
289 <td>Private method to initialize the testing menu.</td> |
226 </tr><tr> |
290 </tr> |
|
291 <tr> |
227 <td><a href="#Project.__initToolsActions">__initToolsActions</a></td> |
292 <td><a href="#Project.__initToolsActions">__initToolsActions</a></td> |
228 <td>Private method to define the tool actions.</td> |
293 <td>Private method to define the tool actions.</td> |
229 </tr><tr> |
294 </tr> |
|
295 <tr> |
230 <td><a href="#Project.__initToolsMenu">__initToolsMenu</a></td> |
296 <td><a href="#Project.__initToolsMenu">__initToolsMenu</a></td> |
231 <td>Private method to initialize the tools menu.</td> |
297 <td>Private method to initialize the tools menu.</td> |
232 </tr><tr> |
298 </tr> |
|
299 <tr> |
233 <td><a href="#Project.__isSpawningConsole">__isSpawningConsole</a></td> |
300 <td><a href="#Project.__isSpawningConsole">__isSpawningConsole</a></td> |
234 <td>Private method to check, if the given console is a spawning console.</td> |
301 <td>Private method to check, if the given console is a spawning console.</td> |
235 </tr><tr> |
302 </tr> |
|
303 <tr> |
236 <td><a href="#Project.__isSuitableForVariant">__isSuitableForVariant</a></td> |
304 <td><a href="#Project.__isSuitableForVariant">__isSuitableForVariant</a></td> |
237 <td>Private method to test, if a detected command file is suitable for the given Python variant.</td> |
305 <td>Private method to test, if a detected command file is suitable for the given Python variant.</td> |
238 </tr><tr> |
306 </tr> |
|
307 <tr> |
239 <td><a href="#Project.__loadData">__loadData</a></td> |
308 <td><a href="#Project.__loadData">__loadData</a></td> |
240 <td>Private slot to load data from fixture files.</td> |
309 <td>Private slot to load data from fixture files.</td> |
241 </tr><tr> |
310 </tr> |
|
311 <tr> |
242 <td><a href="#Project.__loadRecentApplications">__loadRecentApplications</a></td> |
312 <td><a href="#Project.__loadRecentApplications">__loadRecentApplications</a></td> |
243 <td>Private method to load the recently used applications list.</td> |
313 <td>Private method to load the recently used applications list.</td> |
244 </tr><tr> |
314 </tr> |
|
315 <tr> |
245 <td><a href="#Project.__loadRecentDatabaseNames">__loadRecentDatabaseNames</a></td> |
316 <td><a href="#Project.__loadRecentDatabaseNames">__loadRecentDatabaseNames</a></td> |
246 <td>Private method to load the list of recently used database names.</td> |
317 <td>Private method to load the list of recently used database names.</td> |
247 </tr><tr> |
318 </tr> |
|
319 <tr> |
248 <td><a href="#Project.__loadRecentTestData">__loadRecentTestData</a></td> |
320 <td><a href="#Project.__loadRecentTestData">__loadRecentTestData</a></td> |
249 <td>Private method to load the recently used test data lists.</td> |
321 <td>Private method to load the recently used test data lists.</td> |
250 </tr><tr> |
322 </tr> |
|
323 <tr> |
251 <td><a href="#Project.__makeMigrations">__makeMigrations</a></td> |
324 <td><a href="#Project.__makeMigrations">__makeMigrations</a></td> |
252 <td>Private slot to generate migrations for the Django project.</td> |
325 <td>Private slot to generate migrations for the Django project.</td> |
253 </tr><tr> |
326 </tr> |
|
327 <tr> |
254 <td><a href="#Project.__normalizeList">__normalizeList</a></td> |
328 <td><a href="#Project.__normalizeList">__normalizeList</a></td> |
255 <td>Private method to normalize a list of file names.</td> |
329 <td>Private method to normalize a list of file names.</td> |
256 </tr><tr> |
330 </tr> |
|
331 <tr> |
257 <td><a href="#Project.__performCheck">__performCheck</a></td> |
332 <td><a href="#Project.__performCheck">__performCheck</a></td> |
258 <td>Private slot to inspect the project for common problems.</td> |
333 <td>Private slot to inspect the project for common problems.</td> |
259 </tr><tr> |
334 </tr> |
|
335 <tr> |
260 <td><a href="#Project.__projectLanguageAdded">__projectLanguageAdded</a></td> |
336 <td><a href="#Project.__projectLanguageAdded">__projectLanguageAdded</a></td> |
261 <td>Private slot handling the addition of a new language.</td> |
337 <td>Private slot handling the addition of a new language.</td> |
262 </tr><tr> |
338 </tr> |
|
339 <tr> |
263 <td><a href="#Project.__runBrowser">__runBrowser</a></td> |
340 <td><a href="#Project.__runBrowser">__runBrowser</a></td> |
264 <td>Private slot to start the default web browser with the server URL.</td> |
341 <td>Private slot to start the default web browser with the server URL.</td> |
265 </tr><tr> |
342 </tr> |
|
343 <tr> |
266 <td><a href="#Project.__runDatabaseClient">__runDatabaseClient</a></td> |
344 <td><a href="#Project.__runDatabaseClient">__runDatabaseClient</a></td> |
267 <td>Private slot to start a database client for a Django project.</td> |
345 <td>Private slot to start a database client for a Django project.</td> |
268 </tr><tr> |
346 </tr> |
|
347 <tr> |
269 <td><a href="#Project.__runPythonShell">__runPythonShell</a></td> |
348 <td><a href="#Project.__runPythonShell">__runPythonShell</a></td> |
270 <td>Private slot to start a Python console for a Django project.</td> |
349 <td>Private slot to start a Python console for a Django project.</td> |
271 </tr><tr> |
350 </tr> |
|
351 <tr> |
272 <td><a href="#Project.__runServer">__runServer</a></td> |
352 <td><a href="#Project.__runServer">__runServer</a></td> |
273 <td>Private slot to start the Django Web server.</td> |
353 <td>Private slot to start the Django Web server.</td> |
274 </tr><tr> |
354 </tr> |
|
355 <tr> |
275 <td><a href="#Project.__runTestServer">__runTestServer</a></td> |
356 <td><a href="#Project.__runTestServer">__runTestServer</a></td> |
276 <td>Private slot to run a development server with data from a set of fixtures.</td> |
357 <td>Private slot to run a development server with data from a set of fixtures.</td> |
277 </tr><tr> |
358 </tr> |
|
359 <tr> |
278 <td><a href="#Project.__runTestSuite">__runTestSuite</a></td> |
360 <td><a href="#Project.__runTestSuite">__runTestSuite</a></td> |
279 <td>Private slot to run the test suite for applications or the whole site.</td> |
361 <td>Private slot to run the test suite for applications or the whole site.</td> |
280 </tr><tr> |
362 </tr> |
|
363 <tr> |
281 <td><a href="#Project.__saveRecentApplications">__saveRecentApplications</a></td> |
364 <td><a href="#Project.__saveRecentApplications">__saveRecentApplications</a></td> |
282 <td>Private method to save the list of recently used applications list.</td> |
365 <td>Private method to save the list of recently used applications list.</td> |
283 </tr><tr> |
366 </tr> |
|
367 <tr> |
284 <td><a href="#Project.__saveRecentDatabaseNames">__saveRecentDatabaseNames</a></td> |
368 <td><a href="#Project.__saveRecentDatabaseNames">__saveRecentDatabaseNames</a></td> |
285 <td>Private method to save the list of recently used database names.</td> |
369 <td>Private method to save the list of recently used database names.</td> |
286 </tr><tr> |
370 </tr> |
|
371 <tr> |
287 <td><a href="#Project.__saveRecentTestData">__saveRecentTestData</a></td> |
372 <td><a href="#Project.__saveRecentTestData">__saveRecentTestData</a></td> |
288 <td>Private method to save the list of recently used test data.</td> |
373 <td>Private method to save the list of recently used test data.</td> |
289 </tr><tr> |
374 </tr> |
|
375 <tr> |
290 <td><a href="#Project.__selectDatabaseName">__selectDatabaseName</a></td> |
376 <td><a href="#Project.__selectDatabaseName">__selectDatabaseName</a></td> |
291 <td>Private method to select the name of the database to work with.</td> |
377 <td>Private method to select the name of the database to work with.</td> |
292 </tr><tr> |
378 </tr> |
|
379 <tr> |
293 <td><a href="#Project.__selectSite">__selectSite</a></td> |
380 <td><a href="#Project.__selectSite">__selectSite</a></td> |
294 <td>Private method to select a site to work with.</td> |
381 <td>Private method to select a site to work with.</td> |
295 </tr><tr> |
382 </tr> |
|
383 <tr> |
296 <td><a href="#Project.__sendTestEmail">__sendTestEmail</a></td> |
384 <td><a href="#Project.__sendTestEmail">__sendTestEmail</a></td> |
297 <td>Private slot to send a test email through Django.</td> |
385 <td>Private slot to send a test email through Django.</td> |
298 </tr><tr> |
386 </tr> |
|
387 <tr> |
299 <td><a href="#Project.__serverProcFinished">__serverProcFinished</a></td> |
388 <td><a href="#Project.__serverProcFinished">__serverProcFinished</a></td> |
300 <td>Private slot connected to the finished signal.</td> |
389 <td>Private slot connected to the finished signal.</td> |
301 </tr><tr> |
390 </tr> |
|
391 <tr> |
302 <td><a href="#Project.__setCurrentDatabase">__setCurrentDatabase</a></td> |
392 <td><a href="#Project.__setCurrentDatabase">__setCurrentDatabase</a></td> |
303 <td>Private method to set the database name to be used.</td> |
393 <td>Private method to set the database name to be used.</td> |
304 </tr><tr> |
394 </tr> |
|
395 <tr> |
305 <td><a href="#Project.__setCurrentSite">__setCurrentSite</a></td> |
396 <td><a href="#Project.__setCurrentSite">__setCurrentSite</a></td> |
306 <td>Private slot to set the current site.</td> |
397 <td>Private slot to set the current site.</td> |
307 </tr><tr> |
398 </tr> |
|
399 <tr> |
308 <td><a href="#Project.__showHelpIndex">__showHelpIndex</a></td> |
400 <td><a href="#Project.__showHelpIndex">__showHelpIndex</a></td> |
309 <td>Private slot to show the help index page.</td> |
401 <td>Private slot to show the help index page.</td> |
310 </tr><tr> |
402 </tr> |
|
403 <tr> |
311 <td><a href="#Project.__showMigrationsList">__showMigrationsList</a></td> |
404 <td><a href="#Project.__showMigrationsList">__showMigrationsList</a></td> |
312 <td>Private slot to show the available migrations and their status.</td> |
405 <td>Private slot to show the available migrations and their status.</td> |
313 </tr><tr> |
406 </tr> |
|
407 <tr> |
314 <td><a href="#Project.__showMigrationsPlan">__showMigrationsPlan</a></td> |
408 <td><a href="#Project.__showMigrationsPlan">__showMigrationsPlan</a></td> |
315 <td>Private slot to show the migrations plan.</td> |
409 <td>Private slot to show the migrations plan.</td> |
316 </tr><tr> |
410 </tr> |
|
411 <tr> |
317 <td><a href="#Project.__site">__site</a></td> |
412 <td><a href="#Project.__site">__site</a></td> |
318 <td>Private method to get the name of the current site.</td> |
413 <td>Private method to get the name of the current site.</td> |
319 </tr><tr> |
414 </tr> |
|
415 <tr> |
320 <td><a href="#Project.__siteFilteredList">__siteFilteredList</a></td> |
416 <td><a href="#Project.__siteFilteredList">__siteFilteredList</a></td> |
321 <td>Private method to filter a list of file names by site.</td> |
417 <td>Private method to filter a list of file names by site.</td> |
322 </tr><tr> |
418 </tr> |
|
419 <tr> |
323 <td><a href="#Project.__sitePath">__sitePath</a></td> |
420 <td><a href="#Project.__sitePath">__sitePath</a></td> |
324 <td>Private method to calculate the full path of the Django site.</td> |
421 <td>Private method to calculate the full path of the Django site.</td> |
325 </tr><tr> |
422 </tr> |
|
423 <tr> |
326 <td><a href="#Project.__sqlCommand">__sqlCommand</a></td> |
424 <td><a href="#Project.__sqlCommand">__sqlCommand</a></td> |
327 <td>Private method to perform an SQL creation function.</td> |
425 <td>Private method to perform an SQL creation function.</td> |
328 </tr><tr> |
426 </tr> |
|
427 <tr> |
329 <td><a href="#Project.__squashMigrations">__squashMigrations</a></td> |
428 <td><a href="#Project.__squashMigrations">__squashMigrations</a></td> |
330 <td>Private slot to squash migrations.</td> |
429 <td>Private slot to squash migrations.</td> |
331 </tr><tr> |
430 </tr> |
|
431 <tr> |
332 <td><a href="#Project.__startGlobalApplication">__startGlobalApplication</a></td> |
432 <td><a href="#Project.__startGlobalApplication">__startGlobalApplication</a></td> |
333 <td>Private slot to start a new global Django application.</td> |
433 <td>Private slot to start a new global Django application.</td> |
334 </tr><tr> |
434 </tr> |
|
435 <tr> |
335 <td><a href="#Project.__startLocalApplication">__startLocalApplication</a></td> |
436 <td><a href="#Project.__startLocalApplication">__startLocalApplication</a></td> |
336 <td>Private slot to start a new local Django application.</td> |
437 <td>Private slot to start a new local Django application.</td> |
337 </tr><tr> |
438 </tr> |
|
439 <tr> |
338 <td><a href="#Project.__startProject">__startProject</a></td> |
440 <td><a href="#Project.__startProject">__startProject</a></td> |
339 <td>Private slot to start a new Django project.</td> |
441 <td>Private slot to start a new Django project.</td> |
340 </tr><tr> |
442 </tr> |
|
443 <tr> |
341 <td><a href="#Project.__testServerProcFinished">__testServerProcFinished</a></td> |
444 <td><a href="#Project.__testServerProcFinished">__testServerProcFinished</a></td> |
342 <td>Private slot connected to the finished signal of the test server.</td> |
445 <td>Private slot connected to the finished signal of the test server.</td> |
343 </tr><tr> |
446 </tr> |
|
447 <tr> |
344 <td><a href="#Project.__unapplyMigrations">__unapplyMigrations</a></td> |
448 <td><a href="#Project.__unapplyMigrations">__unapplyMigrations</a></td> |
345 <td>Private slot to un-apply all migrations of an application.</td> |
449 <td>Private slot to un-apply all migrations of an application.</td> |
346 </tr><tr> |
450 </tr> |
|
451 <tr> |
347 <td><a href="#Project.applyMigrations">applyMigrations</a></td> |
452 <td><a href="#Project.applyMigrations">applyMigrations</a></td> |
348 <td>Public slot to apply migrations.</td> |
453 <td>Public slot to apply migrations.</td> |
349 </tr><tr> |
454 </tr> |
|
455 <tr> |
350 <td><a href="#Project.compileCatalogs">compileCatalogs</a></td> |
456 <td><a href="#Project.compileCatalogs">compileCatalogs</a></td> |
351 <td>Public method to compile the message catalogs.</td> |
457 <td>Public method to compile the message catalogs.</td> |
352 </tr><tr> |
458 </tr> |
|
459 <tr> |
353 <td><a href="#Project.compileSelectedCatalogs">compileSelectedCatalogs</a></td> |
460 <td><a href="#Project.compileSelectedCatalogs">compileSelectedCatalogs</a></td> |
354 <td>Public method to update the message catalogs.</td> |
461 <td>Public method to update the message catalogs.</td> |
355 </tr><tr> |
462 </tr> |
|
463 <tr> |
356 <td><a href="#Project.currentDatabase">currentDatabase</a></td> |
464 <td><a href="#Project.currentDatabase">currentDatabase</a></td> |
357 <td>Public method to get the database name to be used.</td> |
465 <td>Public method to get the database name to be used.</td> |
358 </tr><tr> |
466 </tr> |
|
467 <tr> |
359 <td><a href="#Project.getDjangoVersion">getDjangoVersion</a></td> |
468 <td><a href="#Project.getDjangoVersion">getDjangoVersion</a></td> |
360 <td>Public method to get the Django version as a tuple.</td> |
469 <td>Public method to get the Django version as a tuple.</td> |
361 </tr><tr> |
470 </tr> |
|
471 <tr> |
362 <td><a href="#Project.getDjangoVersionString">getDjangoVersionString</a></td> |
472 <td><a href="#Project.getDjangoVersionString">getDjangoVersionString</a></td> |
363 <td>Public method to get the Django version as a string.</td> |
473 <td>Public method to get the Django version as a string.</td> |
364 </tr><tr> |
474 </tr> |
|
475 <tr> |
365 <td><a href="#Project.getMenu">getMenu</a></td> |
476 <td><a href="#Project.getMenu">getMenu</a></td> |
366 <td>Public method to get a reference to the requested menu.</td> |
477 <td>Public method to get a reference to the requested menu.</td> |
367 </tr><tr> |
478 </tr> |
|
479 <tr> |
368 <td><a href="#Project.getMenuNames">getMenuNames</a></td> |
480 <td><a href="#Project.getMenuNames">getMenuNames</a></td> |
369 <td>Public method to get the names of all menus.</td> |
481 <td>Public method to get the names of all menus.</td> |
370 </tr><tr> |
482 </tr> |
|
483 <tr> |
371 <td><a href="#Project.getProjectPath">getProjectPath</a></td> |
484 <td><a href="#Project.getProjectPath">getProjectPath</a></td> |
372 <td>Public method to get the path of the eric6 project.</td> |
485 <td>Public method to get the path of the eric6 project.</td> |
373 </tr><tr> |
486 </tr> |
|
487 <tr> |
374 <td><a href="#Project.getRecentApplications">getRecentApplications</a></td> |
488 <td><a href="#Project.getRecentApplications">getRecentApplications</a></td> |
375 <td>Public method to get the list of recent applications.</td> |
489 <td>Public method to get the list of recent applications.</td> |
376 </tr><tr> |
490 </tr> |
|
491 <tr> |
377 <td><a href="#Project.getRecentDatabaseNames">getRecentDatabaseNames</a></td> |
492 <td><a href="#Project.getRecentDatabaseNames">getRecentDatabaseNames</a></td> |
378 <td>Public method to get the list of recently used database names.</td> |
493 <td>Public method to get the list of recently used database names.</td> |
379 </tr><tr> |
494 </tr> |
|
495 <tr> |
380 <td><a href="#Project.getRecentTestData">getRecentTestData</a></td> |
496 <td><a href="#Project.getRecentTestData">getRecentTestData</a></td> |
381 <td>Public method to get the list of recent test data.</td> |
497 <td>Public method to get the list of recent test data.</td> |
382 </tr><tr> |
498 </tr> |
|
499 <tr> |
383 <td><a href="#Project.initActions">initActions</a></td> |
500 <td><a href="#Project.initActions">initActions</a></td> |
384 <td>Public method to define the Django actions.</td> |
501 <td>Public method to define the Django actions.</td> |
385 </tr><tr> |
502 </tr> |
|
503 <tr> |
386 <td><a href="#Project.initMenu">initMenu</a></td> |
504 <td><a href="#Project.initMenu">initMenu</a></td> |
387 <td>Public method to initialize the Django menu.</td> |
505 <td>Public method to initialize the Django menu.</td> |
388 </tr><tr> |
506 </tr> |
|
507 <tr> |
389 <td><a href="#Project.makeMigrations">makeMigrations</a></td> |
508 <td><a href="#Project.makeMigrations">makeMigrations</a></td> |
390 <td>Public method to generate migrations.</td> |
509 <td>Public method to generate migrations.</td> |
391 </tr><tr> |
510 </tr> |
|
511 <tr> |
392 <td><a href="#Project.newForm">newForm</a></td> |
512 <td><a href="#Project.newForm">newForm</a></td> |
393 <td>Public method to create a new form.</td> |
513 <td>Public method to create a new form.</td> |
394 </tr><tr> |
514 </tr> |
|
515 <tr> |
395 <td><a href="#Project.newProjectCreated">newProjectCreated</a></td> |
516 <td><a href="#Project.newProjectCreated">newProjectCreated</a></td> |
396 <td>Public slot to finish up the newly generated project.</td> |
517 <td>Public slot to finish up the newly generated project.</td> |
397 </tr><tr> |
518 </tr> |
|
519 <tr> |
398 <td><a href="#Project.openPOEditor">openPOEditor</a></td> |
520 <td><a href="#Project.openPOEditor">openPOEditor</a></td> |
399 <td>Public method to edit the given file in an external .po editor.</td> |
521 <td>Public method to edit the given file in an external .po editor.</td> |
400 </tr><tr> |
522 </tr> |
|
523 <tr> |
401 <td><a href="#Project.projectClosed">projectClosed</a></td> |
524 <td><a href="#Project.projectClosed">projectClosed</a></td> |
402 <td>Public method to handle the closing of a project.</td> |
525 <td>Public method to handle the closing of a project.</td> |
403 </tr><tr> |
526 </tr> |
|
527 <tr> |
404 <td><a href="#Project.projectClosedHooks">projectClosedHooks</a></td> |
528 <td><a href="#Project.projectClosedHooks">projectClosedHooks</a></td> |
405 <td>Public method to remove our hook methods.</td> |
529 <td>Public method to remove our hook methods.</td> |
406 </tr><tr> |
530 </tr> |
|
531 <tr> |
407 <td><a href="#Project.projectOpenedHooks">projectOpenedHooks</a></td> |
532 <td><a href="#Project.projectOpenedHooks">projectOpenedHooks</a></td> |
408 <td>Public method to add our hook methods.</td> |
533 <td>Public method to add our hook methods.</td> |
409 </tr><tr> |
534 </tr> |
|
535 <tr> |
410 <td><a href="#Project.registerOpenHook">registerOpenHook</a></td> |
536 <td><a href="#Project.registerOpenHook">registerOpenHook</a></td> |
411 <td>Public method to register the open hook to open a translations file in a translations editor.</td> |
537 <td>Public method to register the open hook to open a translations file in a translations editor.</td> |
412 </tr><tr> |
538 </tr> |
|
539 <tr> |
413 <td><a href="#Project.setMostRecentApplication">setMostRecentApplication</a></td> |
540 <td><a href="#Project.setMostRecentApplication">setMostRecentApplication</a></td> |
414 <td>Public method to set the most recently used applications entry.</td> |
541 <td>Public method to set the most recently used applications entry.</td> |
415 </tr><tr> |
542 </tr> |
|
543 <tr> |
416 <td><a href="#Project.setMostRecentDatabaseNames">setMostRecentDatabaseNames</a></td> |
544 <td><a href="#Project.setMostRecentDatabaseNames">setMostRecentDatabaseNames</a></td> |
417 <td>Public method to set the most recently used database names.</td> |
545 <td>Public method to set the most recently used database names.</td> |
418 </tr><tr> |
546 </tr> |
|
547 <tr> |
419 <td><a href="#Project.setMostRecentTestData">setMostRecentTestData</a></td> |
548 <td><a href="#Project.setMostRecentTestData">setMostRecentTestData</a></td> |
420 <td>Public method to set the most recently used test data entry.</td> |
549 <td>Public method to set the most recently used test data entry.</td> |
421 </tr><tr> |
550 </tr> |
|
551 <tr> |
422 <td><a href="#Project.startProjectOrApplication">startProjectOrApplication</a></td> |
552 <td><a href="#Project.startProjectOrApplication">startProjectOrApplication</a></td> |
423 <td>Public slot to start a new Django project or application.</td> |
553 <td>Public slot to start a new Django project or application.</td> |
424 </tr><tr> |
554 </tr> |
|
555 <tr> |
425 <td><a href="#Project.supportedPythonVariants">supportedPythonVariants</a></td> |
556 <td><a href="#Project.supportedPythonVariants">supportedPythonVariants</a></td> |
426 <td>Public method to get the supported Python variants.</td> |
557 <td>Public method to get the supported Python variants.</td> |
427 </tr><tr> |
558 </tr> |
|
559 <tr> |
428 <td><a href="#Project.updateCatalogs">updateCatalogs</a></td> |
560 <td><a href="#Project.updateCatalogs">updateCatalogs</a></td> |
429 <td>Public method to update the message catalogs.</td> |
561 <td>Public method to update the message catalogs.</td> |
430 </tr><tr> |
562 </tr> |
|
563 <tr> |
431 <td><a href="#Project.updateCatalogsWithObsolete">updateCatalogsWithObsolete</a></td> |
564 <td><a href="#Project.updateCatalogsWithObsolete">updateCatalogsWithObsolete</a></td> |
432 <td>Public method to update the message catalogs keeping obsolete messages.</td> |
565 <td>Public method to update the message catalogs keeping obsolete messages.</td> |
433 </tr><tr> |
566 </tr> |
|
567 <tr> |
434 <td><a href="#Project.updateSelectedCatalogs">updateSelectedCatalogs</a></td> |
568 <td><a href="#Project.updateSelectedCatalogs">updateSelectedCatalogs</a></td> |
435 <td>Public method to update the message catalogs.</td> |
569 <td>Public method to update the message catalogs.</td> |
436 </tr><tr> |
570 </tr> |
|
571 <tr> |
437 <td><a href="#Project.updateSelectedCatalogsWithObsolete">updateSelectedCatalogsWithObsolete</a></td> |
572 <td><a href="#Project.updateSelectedCatalogsWithObsolete">updateSelectedCatalogsWithObsolete</a></td> |
438 <td>Public method to update the message catalogs keeping obsolete messages.</td> |
573 <td>Public method to update the message catalogs keeping obsolete messages.</td> |
439 </tr> |
574 </tr> |
440 </table> |
575 </table> |
441 <h3>Static Methods</h3> |
576 <h3>Static Methods</h3> |
|
577 |
442 <table> |
578 <table> |
443 <tr><td>None</td></tr> |
579 <tr><td>None</td></tr> |
444 </table> |
580 </table> |
|
581 |
445 <a NAME="Project.__init__" ID="Project.__init__"></a> |
582 <a NAME="Project.__init__" ID="Project.__init__"></a> |
446 <h4>Project (Constructor)</h4> |
583 <h4>Project (Constructor)</h4> |
447 <b>Project</b>(<i>plugin, parent=None</i>) |
584 <b>Project</b>(<i>plugin, iconSuffix, parent=None</i>) |
|
585 |
448 <p> |
586 <p> |
449 Constructor |
587 Constructor |
450 </p><dl> |
588 </p> |
451 <dt><i>plugin</i></dt> |
589 <dl> |
|
590 |
|
591 <dt><i>plugin</i> (ProjectDjangoPlugin)</dt> |
452 <dd> |
592 <dd> |
453 reference to the plugin object |
593 reference to the plugin object |
454 </dd><dt><i>parent</i></dt> |
594 </dd> |
455 <dd> |
595 <dt><i>iconSuffix</i> (str)</dt> |
456 parent (QObject) |
596 <dd> |
457 </dd> |
597 suffix for the icons |
458 </dl><a NAME="Project.__adjustWorkingDirectory" ID="Project.__adjustWorkingDirectory"></a> |
598 </dd> |
|
599 <dt><i>parent</i> (QObject)</dt> |
|
600 <dd> |
|
601 parent |
|
602 </dd> |
|
603 </dl> |
|
604 <a NAME="Project.__adjustWorkingDirectory" ID="Project.__adjustWorkingDirectory"></a> |
459 <h4>Project.__adjustWorkingDirectory</h4> |
605 <h4>Project.__adjustWorkingDirectory</h4> |
460 <b>__adjustWorkingDirectory</b>(<i>args, wd</i>) |
606 <b>__adjustWorkingDirectory</b>(<i>args, wd</i>) |
|
607 |
461 <p> |
608 <p> |
462 Private method to adjust the working directory in the arguments list. |
609 Private method to adjust the working directory in the arguments list. |
463 </p><dl> |
610 </p> |
|
611 <dl> |
|
612 |
464 <dt><i>args</i> (list of str)</dt> |
613 <dt><i>args</i> (list of str)</dt> |
465 <dd> |
614 <dd> |
466 list of arguments to be modified |
615 list of arguments to be modified |
467 </dd><dt><i>wd</i> (str)</dt> |
616 </dd> |
|
617 <dt><i>wd</i> (str)</dt> |
468 <dd> |
618 <dd> |
469 working directory |
619 working directory |
470 </dd> |
620 </dd> |
471 </dl><a NAME="Project.__applyAllMigrations" ID="Project.__applyAllMigrations"></a> |
621 </dl> |
|
622 <a NAME="Project.__applyAllMigrations" ID="Project.__applyAllMigrations"></a> |
472 <h4>Project.__applyAllMigrations</h4> |
623 <h4>Project.__applyAllMigrations</h4> |
473 <b>__applyAllMigrations</b>(<i></i>) |
624 <b>__applyAllMigrations</b>(<i></i>) |
|
625 |
474 <p> |
626 <p> |
475 Private slot to apply all migrations. |
627 Private slot to apply all migrations. |
476 </p><a NAME="Project.__applySelectedMigrations" ID="Project.__applySelectedMigrations"></a> |
628 </p> |
|
629 <a NAME="Project.__applySelectedMigrations" ID="Project.__applySelectedMigrations"></a> |
477 <h4>Project.__applySelectedMigrations</h4> |
630 <h4>Project.__applySelectedMigrations</h4> |
478 <b>__applySelectedMigrations</b>(<i></i>) |
631 <b>__applySelectedMigrations</b>(<i></i>) |
|
632 |
479 <p> |
633 <p> |
480 Private slot to apply selected migrations of a selected app. |
634 Private slot to apply selected migrations of a selected app. |
481 </p><a NAME="Project.__changePassword" ID="Project.__changePassword"></a> |
635 </p> |
|
636 <a NAME="Project.__changePassword" ID="Project.__changePassword"></a> |
482 <h4>Project.__changePassword</h4> |
637 <h4>Project.__changePassword</h4> |
483 <b>__changePassword</b>(<i></i>) |
638 <b>__changePassword</b>(<i></i>) |
|
639 |
484 <p> |
640 <p> |
485 Private slot to change the password of a user. |
641 Private slot to change the password of a user. |
486 </p><a NAME="Project.__clearSessions" ID="Project.__clearSessions"></a> |
642 </p> |
|
643 <a NAME="Project.__clearSessions" ID="Project.__clearSessions"></a> |
487 <h4>Project.__clearSessions</h4> |
644 <h4>Project.__clearSessions</h4> |
488 <b>__clearSessions</b>(<i></i>) |
645 <b>__clearSessions</b>(<i></i>) |
|
646 |
489 <p> |
647 <p> |
490 Private slot to clear expired sessions. |
648 Private slot to clear expired sessions. |
491 </p><a NAME="Project.__createApplication" ID="Project.__createApplication"></a> |
649 </p> |
|
650 <a NAME="Project.__createApplication" ID="Project.__createApplication"></a> |
492 <h4>Project.__createApplication</h4> |
651 <h4>Project.__createApplication</h4> |
493 <b>__createApplication</b>(<i>applName, path, isGlobal=True</i>) |
652 <b>__createApplication</b>(<i>applName, path, isGlobal=True</i>) |
|
653 |
494 <p> |
654 <p> |
495 Private slot to create a new Django application. |
655 Private slot to create a new Django application. |
496 </p><dl> |
656 </p> |
|
657 <dl> |
|
658 |
497 <dt><i>applName</i></dt> |
659 <dt><i>applName</i></dt> |
498 <dd> |
660 <dd> |
499 name of the new application (string) |
661 name of the new application (string) |
500 </dd><dt><i>path</i></dt> |
662 </dd> |
|
663 <dt><i>path</i></dt> |
501 <dd> |
664 <dd> |
502 the directory where the application should be created |
665 the directory where the application should be created |
503 (string) |
666 (string) |
504 </dd><dt><i>isGlobal</i></dt> |
667 </dd> |
|
668 <dt><i>isGlobal</i></dt> |
505 <dd> |
669 <dd> |
506 flag indicating a standalone Django application |
670 flag indicating a standalone Django application |
507 (boolean) |
671 (boolean) |
508 </dd> |
672 </dd> |
509 </dl><dl> |
673 </dl> |
|
674 <dl> |
510 <dt>Returns:</dt> |
675 <dt>Returns:</dt> |
511 <dd> |
676 <dd> |
512 flag indicating a successful creation (boolean) |
677 flag indicating a successful creation (boolean) |
513 </dd> |
678 </dd> |
514 </dl><a NAME="Project.__createCacheTables" ID="Project.__createCacheTables"></a> |
679 </dl> |
|
680 <a NAME="Project.__createCacheTables" ID="Project.__createCacheTables"></a> |
515 <h4>Project.__createCacheTables</h4> |
681 <h4>Project.__createCacheTables</h4> |
516 <b>__createCacheTables</b>(<i></i>) |
682 <b>__createCacheTables</b>(<i></i>) |
|
683 |
517 <p> |
684 <p> |
518 Private slot to create the tables for the SQL caching backend. |
685 Private slot to create the tables for the SQL caching backend. |
519 </p><a NAME="Project.__createProject" ID="Project.__createProject"></a> |
686 </p> |
|
687 <a NAME="Project.__createProject" ID="Project.__createProject"></a> |
520 <h4>Project.__createProject</h4> |
688 <h4>Project.__createProject</h4> |
521 <b>__createProject</b>(<i>projectName, path</i>) |
689 <b>__createProject</b>(<i>projectName, path</i>) |
|
690 |
522 <p> |
691 <p> |
523 Private slot to create a new Django project. |
692 Private slot to create a new Django project. |
524 </p><dl> |
693 </p> |
|
694 <dl> |
|
695 |
525 <dt><i>projectName</i></dt> |
696 <dt><i>projectName</i></dt> |
526 <dd> |
697 <dd> |
527 name of the new project (string) |
698 name of the new project (string) |
528 </dd><dt><i>path</i></dt> |
699 </dd> |
|
700 <dt><i>path</i></dt> |
529 <dd> |
701 <dd> |
530 the directory where the project should be created |
702 the directory where the project should be created |
531 (string) |
703 (string) |
532 </dd> |
704 </dd> |
533 </dl><dl> |
705 </dl> |
|
706 <dl> |
534 <dt>Returns:</dt> |
707 <dt>Returns:</dt> |
535 <dd> |
708 <dd> |
536 flag indicating a successful creation (boolean) |
709 flag indicating a successful creation (boolean) |
537 </dd> |
710 </dd> |
538 </dl><a NAME="Project.__createSuperUser" ID="Project.__createSuperUser"></a> |
711 </dl> |
|
712 <a NAME="Project.__createSuperUser" ID="Project.__createSuperUser"></a> |
539 <h4>Project.__createSuperUser</h4> |
713 <h4>Project.__createSuperUser</h4> |
540 <b>__createSuperUser</b>(<i></i>) |
714 <b>__createSuperUser</b>(<i></i>) |
|
715 |
541 <p> |
716 <p> |
542 Private slot to create a super user account. |
717 Private slot to create a super user account. |
543 </p><a NAME="Project.__databaseFlush" ID="Project.__databaseFlush"></a> |
718 </p> |
|
719 <a NAME="Project.__databaseFlush" ID="Project.__databaseFlush"></a> |
544 <h4>Project.__databaseFlush</h4> |
720 <h4>Project.__databaseFlush</h4> |
545 <b>__databaseFlush</b>(<i></i>) |
721 <b>__databaseFlush</b>(<i></i>) |
|
722 |
546 <p> |
723 <p> |
547 Private slot to return all database tables to the state just after |
724 Private slot to return all database tables to the state just after |
548 their installation. |
725 their installation. |
549 </p><a NAME="Project.__databaseInspect" ID="Project.__databaseInspect"></a> |
726 </p> |
|
727 <a NAME="Project.__databaseInspect" ID="Project.__databaseInspect"></a> |
550 <h4>Project.__databaseInspect</h4> |
728 <h4>Project.__databaseInspect</h4> |
551 <b>__databaseInspect</b>(<i></i>) |
729 <b>__databaseInspect</b>(<i></i>) |
|
730 |
552 <p> |
731 <p> |
553 Private slot to introspect the database and output a Django model |
732 Private slot to introspect the database and output a Django model |
554 module. |
733 module. |
555 </p><a NAME="Project.__databaseSqlCreateEverything" ID="Project.__databaseSqlCreateEverything"></a> |
734 </p> |
|
735 <a NAME="Project.__databaseSqlCreateEverything" ID="Project.__databaseSqlCreateEverything"></a> |
556 <h4>Project.__databaseSqlCreateEverything</h4> |
736 <h4>Project.__databaseSqlCreateEverything</h4> |
557 <b>__databaseSqlCreateEverything</b>(<i></i>) |
737 <b>__databaseSqlCreateEverything</b>(<i></i>) |
|
738 |
558 <p> |
739 <p> |
559 Private slot to print the CREATE TABLE, custom SQL and |
740 Private slot to print the CREATE TABLE, custom SQL and |
560 CREATE INDEX SQL statements for one or more applications. |
741 CREATE INDEX SQL statements for one or more applications. |
561 </p><p> |
742 </p> |
|
743 <p> |
562 Note: available before Django v1.9.0 |
744 Note: available before Django v1.9.0 |
563 </p><a NAME="Project.__databaseSqlCreateIndexes" ID="Project.__databaseSqlCreateIndexes"></a> |
745 </p> |
|
746 <a NAME="Project.__databaseSqlCreateIndexes" ID="Project.__databaseSqlCreateIndexes"></a> |
564 <h4>Project.__databaseSqlCreateIndexes</h4> |
747 <h4>Project.__databaseSqlCreateIndexes</h4> |
565 <b>__databaseSqlCreateIndexes</b>(<i></i>) |
748 <b>__databaseSqlCreateIndexes</b>(<i></i>) |
|
749 |
566 <p> |
750 <p> |
567 Private slot to print the CREATE INDEX SQL statements for one |
751 Private slot to print the CREATE INDEX SQL statements for one |
568 or more applications. |
752 or more applications. |
569 </p><p> |
753 </p> |
|
754 <p> |
570 Note: available before Django v1.9.0 |
755 Note: available before Django v1.9.0 |
571 </p><a NAME="Project.__databaseSqlCreateTables" ID="Project.__databaseSqlCreateTables"></a> |
756 </p> |
|
757 <a NAME="Project.__databaseSqlCreateTables" ID="Project.__databaseSqlCreateTables"></a> |
572 <h4>Project.__databaseSqlCreateTables</h4> |
758 <h4>Project.__databaseSqlCreateTables</h4> |
573 <b>__databaseSqlCreateTables</b>(<i></i>) |
759 <b>__databaseSqlCreateTables</b>(<i></i>) |
|
760 |
574 <p> |
761 <p> |
575 Private slot to print the CREATE TABLE SQL statements for one |
762 Private slot to print the CREATE TABLE SQL statements for one |
576 or more applications. |
763 or more applications. |
577 </p><p> |
764 </p> |
|
765 <p> |
578 Note: available before Django v1.9.0 |
766 Note: available before Django v1.9.0 |
579 </p><a NAME="Project.__databaseSqlCustom" ID="Project.__databaseSqlCustom"></a> |
767 </p> |
|
768 <a NAME="Project.__databaseSqlCustom" ID="Project.__databaseSqlCustom"></a> |
580 <h4>Project.__databaseSqlCustom</h4> |
769 <h4>Project.__databaseSqlCustom</h4> |
581 <b>__databaseSqlCustom</b>(<i></i>) |
770 <b>__databaseSqlCustom</b>(<i></i>) |
|
771 |
582 <p> |
772 <p> |
583 Private slot to print the custom table modifying SQL statements |
773 Private slot to print the custom table modifying SQL statements |
584 for one or more applications. |
774 for one or more applications. |
585 </p><p> |
775 </p> |
|
776 <p> |
586 Note: available before Django v1.9.0 |
777 Note: available before Django v1.9.0 |
587 </p><a NAME="Project.__databaseSqlDropIndexes" ID="Project.__databaseSqlDropIndexes"></a> |
778 </p> |
|
779 <a NAME="Project.__databaseSqlDropIndexes" ID="Project.__databaseSqlDropIndexes"></a> |
588 <h4>Project.__databaseSqlDropIndexes</h4> |
780 <h4>Project.__databaseSqlDropIndexes</h4> |
589 <b>__databaseSqlDropIndexes</b>(<i></i>) |
781 <b>__databaseSqlDropIndexes</b>(<i></i>) |
|
782 |
590 <p> |
783 <p> |
591 Private slot to print the DROP INDEX SQL statements for one or |
784 Private slot to print the DROP INDEX SQL statements for one or |
592 more applications. |
785 more applications. |
593 </p><p> |
786 </p> |
|
787 <p> |
594 Note: available before Django v1.9.0 |
788 Note: available before Django v1.9.0 |
595 </p><a NAME="Project.__databaseSqlDropTables" ID="Project.__databaseSqlDropTables"></a> |
789 </p> |
|
790 <a NAME="Project.__databaseSqlDropTables" ID="Project.__databaseSqlDropTables"></a> |
596 <h4>Project.__databaseSqlDropTables</h4> |
791 <h4>Project.__databaseSqlDropTables</h4> |
597 <b>__databaseSqlDropTables</b>(<i></i>) |
792 <b>__databaseSqlDropTables</b>(<i></i>) |
|
793 |
598 <p> |
794 <p> |
599 Private slot to print the DROP TABLE SQL statements for one or |
795 Private slot to print the DROP TABLE SQL statements for one or |
600 more applications. |
796 more applications. |
601 </p><p> |
797 </p> |
|
798 <p> |
602 Note: available before Django v1.9.0 |
799 Note: available before Django v1.9.0 |
603 </p><a NAME="Project.__databaseSqlFlushDatabase" ID="Project.__databaseSqlFlushDatabase"></a> |
800 </p> |
|
801 <a NAME="Project.__databaseSqlFlushDatabase" ID="Project.__databaseSqlFlushDatabase"></a> |
604 <h4>Project.__databaseSqlFlushDatabase</h4> |
802 <h4>Project.__databaseSqlFlushDatabase</h4> |
605 <b>__databaseSqlFlushDatabase</b>(<i></i>) |
803 <b>__databaseSqlFlushDatabase</b>(<i></i>) |
|
804 |
606 <p> |
805 <p> |
607 Private slot to print a list of statements to return all database |
806 Private slot to print a list of statements to return all database |
608 tables to their initial state. |
807 tables to their initial state. |
609 </p><a NAME="Project.__databaseSqlMigrate" ID="Project.__databaseSqlMigrate"></a> |
808 </p> |
|
809 <a NAME="Project.__databaseSqlMigrate" ID="Project.__databaseSqlMigrate"></a> |
610 <h4>Project.__databaseSqlMigrate</h4> |
810 <h4>Project.__databaseSqlMigrate</h4> |
611 <b>__databaseSqlMigrate</b>(<i>backwards=False</i>) |
811 <b>__databaseSqlMigrate</b>(<i>backwards=False</i>) |
|
812 |
612 <p> |
813 <p> |
613 Private slot to print the SQL statements for a migration of an |
814 Private slot to print the SQL statements for a migration of an |
614 application. |
815 application. |
615 </p><dl> |
816 </p> |
|
817 <dl> |
|
818 |
616 <dt><i>backwards</i> (bool)</dt> |
819 <dt><i>backwards</i> (bool)</dt> |
617 <dd> |
820 <dd> |
618 flag indicating to generate the SQL code to unapply |
821 flag indicating to generate the SQL code to unapply |
619 a migration |
822 a migration |
620 </dd> |
823 </dd> |
621 </dl><a NAME="Project.__databaseSqlResetSequences" ID="Project.__databaseSqlResetSequences"></a> |
824 </dl> |
|
825 <a NAME="Project.__databaseSqlResetSequences" ID="Project.__databaseSqlResetSequences"></a> |
622 <h4>Project.__databaseSqlResetSequences</h4> |
826 <h4>Project.__databaseSqlResetSequences</h4> |
623 <b>__databaseSqlResetSequences</b>(<i></i>) |
827 <b>__databaseSqlResetSequences</b>(<i></i>) |
|
828 |
624 <p> |
829 <p> |
625 Private slot to print the SQL statements for resetting sequences for |
830 Private slot to print the SQL statements for resetting sequences for |
626 one or more applications. |
831 one or more applications. |
627 </p><a NAME="Project.__diffSettings" ID="Project.__diffSettings"></a> |
832 </p> |
|
833 <a NAME="Project.__diffSettings" ID="Project.__diffSettings"></a> |
628 <h4>Project.__diffSettings</h4> |
834 <h4>Project.__diffSettings</h4> |
629 <b>__diffSettings</b>(<i></i>) |
835 <b>__diffSettings</b>(<i></i>) |
|
836 |
630 <p> |
837 <p> |
631 Private slot to show the changes made to the settings.py file. |
838 Private slot to show the changes made to the settings.py file. |
632 </p><a NAME="Project.__djangoInfo" ID="Project.__djangoInfo"></a> |
839 </p> |
|
840 <a NAME="Project.__djangoInfo" ID="Project.__djangoInfo"></a> |
633 <h4>Project.__djangoInfo</h4> |
841 <h4>Project.__djangoInfo</h4> |
634 <b>__djangoInfo</b>(<i></i>) |
842 <b>__djangoInfo</b>(<i></i>) |
|
843 |
635 <p> |
844 <p> |
636 Private slot to show some info about Django. |
845 Private slot to show some info about Django. |
637 </p><a NAME="Project.__dumpData" ID="Project.__dumpData"></a> |
846 </p> |
|
847 <a NAME="Project.__dumpData" ID="Project.__dumpData"></a> |
638 <h4>Project.__dumpData</h4> |
848 <h4>Project.__dumpData</h4> |
639 <b>__dumpData</b>(<i></i>) |
849 <b>__dumpData</b>(<i></i>) |
|
850 |
640 <p> |
851 <p> |
641 Private slot to dump the database data to a fixture. |
852 Private slot to dump the database data to a fixture. |
642 </p><a NAME="Project.__findSites" ID="Project.__findSites"></a> |
853 </p> |
|
854 <a NAME="Project.__findSites" ID="Project.__findSites"></a> |
643 <h4>Project.__findSites</h4> |
855 <h4>Project.__findSites</h4> |
644 <b>__findSites</b>(<i></i>) |
856 <b>__findSites</b>(<i></i>) |
|
857 |
645 <p> |
858 <p> |
646 Private method to determine the relative path to all manage.py scripts. |
859 Private method to determine the relative path to all manage.py scripts. |
647 </p><dl> |
860 </p> |
|
861 <dl> |
648 <dt>Returns:</dt> |
862 <dt>Returns:</dt> |
649 <dd> |
863 <dd> |
650 list of sites (list of strings) |
864 list of sites (list of strings) |
651 </dd> |
865 </dd> |
652 </dl><a NAME="Project.__getApplications" ID="Project.__getApplications"></a> |
866 </dl> |
|
867 <a NAME="Project.__getApplications" ID="Project.__getApplications"></a> |
653 <h4>Project.__getApplications</h4> |
868 <h4>Project.__getApplications</h4> |
654 <b>__getApplications</b>(<i></i>) |
869 <b>__getApplications</b>(<i></i>) |
|
870 |
655 <p> |
871 <p> |
656 Private method to ask the user for a list of application names. |
872 Private method to ask the user for a list of application names. |
657 </p><dl> |
873 </p> |
|
874 <dl> |
658 <dt>Returns:</dt> |
875 <dt>Returns:</dt> |
659 <dd> |
876 <dd> |
660 list of application names (list of strings) |
877 list of application names (list of strings) |
661 </dd> |
878 </dd> |
662 </dl><a NAME="Project.__getDebugEnvironment" ID="Project.__getDebugEnvironment"></a> |
879 </dl> |
|
880 <a NAME="Project.__getDebugEnvironment" ID="Project.__getDebugEnvironment"></a> |
663 <h4>Project.__getDebugEnvironment</h4> |
881 <h4>Project.__getDebugEnvironment</h4> |
664 <b>__getDebugEnvironment</b>(<i>language=""</i>) |
882 <b>__getDebugEnvironment</b>(<i>language=""</i>) |
|
883 |
665 <p> |
884 <p> |
666 Private method to get the path of the debugger environment. |
885 Private method to get the path of the debugger environment. |
667 </p><dl> |
886 </p> |
|
887 <dl> |
|
888 |
668 <dt><i>language</i></dt> |
889 <dt><i>language</i></dt> |
669 <dd> |
890 <dd> |
670 Python variant to get the debugger environment |
891 Python variant to get the debugger environment |
671 for (string, one of '', 'Python2' or 'Python3') |
892 for (string, one of '' or 'Python3') |
672 </dd> |
893 </dd> |
673 </dl><dl> |
894 </dl> |
|
895 <dl> |
674 <dt>Returns:</dt> |
896 <dt>Returns:</dt> |
675 <dd> |
897 <dd> |
676 path of the debugger environment (string) |
898 path of the debugger environment (string) |
677 </dd> |
899 </dd> |
678 </dl><a NAME="Project.__getDjangoAdminCommand" ID="Project.__getDjangoAdminCommand"></a> |
900 </dl> |
|
901 <a NAME="Project.__getDjangoAdminCommand" ID="Project.__getDjangoAdminCommand"></a> |
679 <h4>Project.__getDjangoAdminCommand</h4> |
902 <h4>Project.__getDjangoAdminCommand</h4> |
680 <b>__getDjangoAdminCommand</b>(<i>language=""</i>) |
903 <b>__getDjangoAdminCommand</b>(<i>language=""</i>) |
|
904 |
681 <p> |
905 <p> |
682 Private method to build a django-admin.py command. |
906 Private method to build a django-admin.py command. |
683 </p><dl> |
907 </p> |
|
908 <dl> |
|
909 |
684 <dt><i>language</i></dt> |
910 <dt><i>language</i></dt> |
685 <dd> |
911 <dd> |
686 Python variant to get the django-admin.py |
912 Python variant to get the django-admin.py |
687 command for (string, one of '', 'Python2' or 'Python3') |
913 command for (string, one of '' or 'Python3') |
688 </dd> |
914 </dd> |
689 </dl><dl> |
915 </dl> |
|
916 <dl> |
690 <dt>Returns:</dt> |
917 <dt>Returns:</dt> |
691 <dd> |
918 <dd> |
692 full django-admin.py command (string) |
919 full django-admin.py command (string) |
693 </dd> |
920 </dd> |
694 </dl><a NAME="Project.__getExecutablePaths" ID="Project.__getExecutablePaths"></a> |
921 </dl> |
|
922 <a NAME="Project.__getExecutablePaths" ID="Project.__getExecutablePaths"></a> |
695 <h4>Project.__getExecutablePaths</h4> |
923 <h4>Project.__getExecutablePaths</h4> |
696 <b>__getExecutablePaths</b>(<i>file</i>) |
924 <b>__getExecutablePaths</b>(<i>file</i>) |
|
925 |
697 <p> |
926 <p> |
698 Private method to build all full paths of an executable file from |
927 Private method to build all full paths of an executable file from |
699 the environment. |
928 the environment. |
700 </p><dl> |
929 </p> |
|
930 <dl> |
|
931 |
701 <dt><i>file</i></dt> |
932 <dt><i>file</i></dt> |
702 <dd> |
933 <dd> |
703 filename of the executable (string) |
934 filename of the executable (string) |
704 </dd> |
935 </dd> |
705 </dl><dl> |
936 </dl> |
|
937 <dl> |
706 <dt>Returns:</dt> |
938 <dt>Returns:</dt> |
707 <dd> |
939 <dd> |
708 list of full executable names, if the executable file is |
940 list of full executable names, if the executable file is |
709 accessible via the searchpath defined by the PATH environment |
941 accessible via the searchpath defined by the PATH environment |
710 variable, or an empty list otherwise. |
942 variable, or an empty list otherwise. |
711 </dd> |
943 </dd> |
712 </dl><a NAME="Project.__getLocale" ID="Project.__getLocale"></a> |
944 </dl> |
|
945 <a NAME="Project.__getLocale" ID="Project.__getLocale"></a> |
713 <h4>Project.__getLocale</h4> |
946 <h4>Project.__getLocale</h4> |
714 <b>__getLocale</b>(<i>filename</i>) |
947 <b>__getLocale</b>(<i>filename</i>) |
|
948 |
715 <p> |
949 <p> |
716 Private method to extract the locale out of a file name. |
950 Private method to extract the locale out of a file name. |
717 </p><dl> |
951 </p> |
|
952 <dl> |
|
953 |
718 <dt><i>filename</i></dt> |
954 <dt><i>filename</i></dt> |
719 <dd> |
955 <dd> |
720 name of the file used for extraction (string) |
956 name of the file used for extraction (string) |
721 </dd> |
957 </dd> |
722 </dl><dl> |
958 </dl> |
|
959 <dl> |
723 <dt>Returns:</dt> |
960 <dt>Returns:</dt> |
724 <dd> |
961 <dd> |
725 extracted locale (string) or None |
962 extracted locale (string) or None |
726 </dd> |
963 </dd> |
727 </dl><a NAME="Project.__getMigrations" ID="Project.__getMigrations"></a> |
964 </dl> |
|
965 <a NAME="Project.__getMigrations" ID="Project.__getMigrations"></a> |
728 <h4>Project.__getMigrations</h4> |
966 <h4>Project.__getMigrations</h4> |
729 <b>__getMigrations</b>(<i></i>) |
967 <b>__getMigrations</b>(<i></i>) |
|
968 |
730 <p> |
969 <p> |
731 Private method to get the available migrations. |
970 Private method to get the available migrations. |
732 </p><dl> |
971 </p> |
|
972 <dl> |
733 <dt>Returns:</dt> |
973 <dt>Returns:</dt> |
734 <dd> |
974 <dd> |
735 dictionary containing the available migrations |
975 dictionary containing the available migrations |
736 </dd> |
976 </dd> |
737 </dl><dl> |
977 </dl> |
|
978 <dl> |
738 <dt>Return Type:</dt> |
979 <dt>Return Type:</dt> |
739 <dd> |
980 <dd> |
740 dict with app name as key (str) and list of tuples of |
981 dict with app name as key (str) and list of tuples of |
741 applied indication (bool) and migration name (str) as value |
982 applied indication (bool) and migration name (str) as value |
742 </dd> |
983 </dd> |
743 </dl><a NAME="Project.__getPythonExecutable" ID="Project.__getPythonExecutable"></a> |
984 </dl> |
|
985 <a NAME="Project.__getPythonExecutable" ID="Project.__getPythonExecutable"></a> |
744 <h4>Project.__getPythonExecutable</h4> |
986 <h4>Project.__getPythonExecutable</h4> |
745 <b>__getPythonExecutable</b>(<i></i>) |
987 <b>__getPythonExecutable</b>(<i></i>) |
|
988 |
746 <p> |
989 <p> |
747 Private method to build the Python command. |
990 Private method to build the Python command. |
748 </p><dl> |
991 </p> |
|
992 <dl> |
749 <dt>Returns:</dt> |
993 <dt>Returns:</dt> |
750 <dd> |
994 <dd> |
751 python command (string) |
995 python command (string) |
752 </dd> |
996 </dd> |
753 </dl><a NAME="Project.__getVirtualEnvironment" ID="Project.__getVirtualEnvironment"></a> |
997 </dl> |
|
998 <a NAME="Project.__getVirtualEnvironment" ID="Project.__getVirtualEnvironment"></a> |
754 <h4>Project.__getVirtualEnvironment</h4> |
999 <h4>Project.__getVirtualEnvironment</h4> |
755 <b>__getVirtualEnvironment</b>(<i>language=""</i>) |
1000 <b>__getVirtualEnvironment</b>(<i>language=""</i>) |
|
1001 |
756 <p> |
1002 <p> |
757 Private method to get the path of the virtual environment. |
1003 Private method to get the path of the virtual environment. |
758 </p><dl> |
1004 </p> |
|
1005 <dl> |
|
1006 |
759 <dt><i>language</i></dt> |
1007 <dt><i>language</i></dt> |
760 <dd> |
1008 <dd> |
761 Python variant to get the virtual environment |
1009 Python variant to get the virtual environment |
762 for (string, one of '', 'Python2' or 'Python3') |
1010 for (string, one of '' or 'Python3') |
763 </dd> |
1011 </dd> |
764 </dl><dl> |
1012 </dl> |
|
1013 <dl> |
765 <dt>Returns:</dt> |
1014 <dt>Returns:</dt> |
766 <dd> |
1015 <dd> |
767 path of the virtual environment (string) |
1016 path of the virtual environment (string) |
768 </dd> |
1017 </dd> |
769 </dl><a NAME="Project.__initAuthorizationActions" ID="Project.__initAuthorizationActions"></a> |
1018 </dl> |
|
1019 <a NAME="Project.__initAuthorizationActions" ID="Project.__initAuthorizationActions"></a> |
770 <h4>Project.__initAuthorizationActions</h4> |
1020 <h4>Project.__initAuthorizationActions</h4> |
771 <b>__initAuthorizationActions</b>(<i></i>) |
1021 <b>__initAuthorizationActions</b>(<i></i>) |
|
1022 |
772 <p> |
1023 <p> |
773 Private method to define the authorization actions. |
1024 Private method to define the authorization actions. |
774 </p><a NAME="Project.__initAuthorizationMenu" ID="Project.__initAuthorizationMenu"></a> |
1025 </p> |
|
1026 <a NAME="Project.__initAuthorizationMenu" ID="Project.__initAuthorizationMenu"></a> |
775 <h4>Project.__initAuthorizationMenu</h4> |
1027 <h4>Project.__initAuthorizationMenu</h4> |
776 <b>__initAuthorizationMenu</b>(<i></i>) |
1028 <b>__initAuthorizationMenu</b>(<i></i>) |
|
1029 |
777 <p> |
1030 <p> |
778 Private method to initialize the authorization menu. |
1031 Private method to initialize the authorization menu. |
779 </p><dl> |
1032 </p> |
|
1033 <dl> |
780 <dt>Returns:</dt> |
1034 <dt>Returns:</dt> |
781 <dd> |
1035 <dd> |
782 the menu generated |
1036 the menu generated |
783 </dd> |
1037 </dd> |
784 </dl><dl> |
1038 </dl> |
|
1039 <dl> |
785 <dt>Return Type:</dt> |
1040 <dt>Return Type:</dt> |
786 <dd> |
1041 <dd> |
787 QMenu |
1042 QMenu |
788 </dd> |
1043 </dd> |
789 </dl><a NAME="Project.__initDatabaseActions" ID="Project.__initDatabaseActions"></a> |
1044 </dl> |
|
1045 <a NAME="Project.__initDatabaseActions" ID="Project.__initDatabaseActions"></a> |
790 <h4>Project.__initDatabaseActions</h4> |
1046 <h4>Project.__initDatabaseActions</h4> |
791 <b>__initDatabaseActions</b>(<i></i>) |
1047 <b>__initDatabaseActions</b>(<i></i>) |
|
1048 |
792 <p> |
1049 <p> |
793 Private method to define the database related actions. |
1050 Private method to define the database related actions. |
794 </p><a NAME="Project.__initDatabaseMenu" ID="Project.__initDatabaseMenu"></a> |
1051 </p> |
|
1052 <a NAME="Project.__initDatabaseMenu" ID="Project.__initDatabaseMenu"></a> |
795 <h4>Project.__initDatabaseMenu</h4> |
1053 <h4>Project.__initDatabaseMenu</h4> |
796 <b>__initDatabaseMenu</b>(<i></i>) |
1054 <b>__initDatabaseMenu</b>(<i></i>) |
|
1055 |
797 <p> |
1056 <p> |
798 Private method to initialize the database menu. |
1057 Private method to initialize the database menu. |
799 </p><dl> |
1058 </p> |
|
1059 <dl> |
800 <dt>Returns:</dt> |
1060 <dt>Returns:</dt> |
801 <dd> |
1061 <dd> |
802 the menu generated |
1062 the menu generated |
803 </dd> |
1063 </dd> |
804 </dl><dl> |
1064 </dl> |
|
1065 <dl> |
805 <dt>Return Type:</dt> |
1066 <dt>Return Type:</dt> |
806 <dd> |
1067 <dd> |
807 QMenu |
1068 QMenu |
808 </dd> |
1069 </dd> |
809 </dl><a NAME="Project.__initDatabaseSqlActions" ID="Project.__initDatabaseSqlActions"></a> |
1070 </dl> |
|
1071 <a NAME="Project.__initDatabaseSqlActions" ID="Project.__initDatabaseSqlActions"></a> |
810 <h4>Project.__initDatabaseSqlActions</h4> |
1072 <h4>Project.__initDatabaseSqlActions</h4> |
811 <b>__initDatabaseSqlActions</b>(<i></i>) |
1073 <b>__initDatabaseSqlActions</b>(<i></i>) |
|
1074 |
812 <p> |
1075 <p> |
813 Private method to define the database SQL related actions. |
1076 Private method to define the database SQL related actions. |
814 </p><a NAME="Project.__initDatabaseSqlMenu" ID="Project.__initDatabaseSqlMenu"></a> |
1077 </p> |
|
1078 <a NAME="Project.__initDatabaseSqlMenu" ID="Project.__initDatabaseSqlMenu"></a> |
815 <h4>Project.__initDatabaseSqlMenu</h4> |
1079 <h4>Project.__initDatabaseSqlMenu</h4> |
816 <b>__initDatabaseSqlMenu</b>(<i></i>) |
1080 <b>__initDatabaseSqlMenu</b>(<i></i>) |
|
1081 |
817 <p> |
1082 <p> |
818 Private method to initialize the database SQL submenu. |
1083 Private method to initialize the database SQL submenu. |
819 </p><dl> |
1084 </p> |
|
1085 <dl> |
820 <dt>Returns:</dt> |
1086 <dt>Returns:</dt> |
821 <dd> |
1087 <dd> |
822 the menu generated |
1088 the menu generated |
823 </dd> |
1089 </dd> |
824 </dl><dl> |
1090 </dl> |
|
1091 <dl> |
825 <dt>Return Type:</dt> |
1092 <dt>Return Type:</dt> |
826 <dd> |
1093 <dd> |
827 QMenu |
1094 QMenu |
828 </dd> |
1095 </dd> |
829 </dl><a NAME="Project.__initMigrationActions" ID="Project.__initMigrationActions"></a> |
1096 </dl> |
|
1097 <a NAME="Project.__initMigrationActions" ID="Project.__initMigrationActions"></a> |
830 <h4>Project.__initMigrationActions</h4> |
1098 <h4>Project.__initMigrationActions</h4> |
831 <b>__initMigrationActions</b>(<i></i>) |
1099 <b>__initMigrationActions</b>(<i></i>) |
|
1100 |
832 <p> |
1101 <p> |
833 Private method to define the migration actions. |
1102 Private method to define the migration actions. |
834 </p><a NAME="Project.__initMigrationsMenu" ID="Project.__initMigrationsMenu"></a> |
1103 </p> |
|
1104 <a NAME="Project.__initMigrationsMenu" ID="Project.__initMigrationsMenu"></a> |
835 <h4>Project.__initMigrationsMenu</h4> |
1105 <h4>Project.__initMigrationsMenu</h4> |
836 <b>__initMigrationsMenu</b>(<i></i>) |
1106 <b>__initMigrationsMenu</b>(<i></i>) |
|
1107 |
837 <p> |
1108 <p> |
838 Private method to initialize the Migrations submenu. |
1109 Private method to initialize the Migrations submenu. |
839 </p><dl> |
1110 </p> |
|
1111 <dl> |
840 <dt>Returns:</dt> |
1112 <dt>Returns:</dt> |
841 <dd> |
1113 <dd> |
842 the menu generated |
1114 the menu generated |
843 </dd> |
1115 </dd> |
844 </dl><dl> |
1116 </dl> |
|
1117 <dl> |
845 <dt>Return Type:</dt> |
1118 <dt>Return Type:</dt> |
846 <dd> |
1119 <dd> |
847 QMenu |
1120 QMenu |
848 </dd> |
1121 </dd> |
849 </dl><a NAME="Project.__initSessionActions" ID="Project.__initSessionActions"></a> |
1122 </dl> |
|
1123 <a NAME="Project.__initSessionActions" ID="Project.__initSessionActions"></a> |
850 <h4>Project.__initSessionActions</h4> |
1124 <h4>Project.__initSessionActions</h4> |
851 <b>__initSessionActions</b>(<i></i>) |
1125 <b>__initSessionActions</b>(<i></i>) |
|
1126 |
852 <p> |
1127 <p> |
853 Private method to define the session actions. |
1128 Private method to define the session actions. |
854 </p><a NAME="Project.__initSessionMenu" ID="Project.__initSessionMenu"></a> |
1129 </p> |
|
1130 <a NAME="Project.__initSessionMenu" ID="Project.__initSessionMenu"></a> |
855 <h4>Project.__initSessionMenu</h4> |
1131 <h4>Project.__initSessionMenu</h4> |
856 <b>__initSessionMenu</b>(<i></i>) |
1132 <b>__initSessionMenu</b>(<i></i>) |
|
1133 |
857 <p> |
1134 <p> |
858 Private method to initialize the authorization menu. |
1135 Private method to initialize the authorization menu. |
859 </p><dl> |
1136 </p> |
|
1137 <dl> |
860 <dt>Returns:</dt> |
1138 <dt>Returns:</dt> |
861 <dd> |
1139 <dd> |
862 the menu generated |
1140 the menu generated |
863 </dd> |
1141 </dd> |
864 </dl><dl> |
1142 </dl> |
|
1143 <dl> |
865 <dt>Return Type:</dt> |
1144 <dt>Return Type:</dt> |
866 <dd> |
1145 <dd> |
867 QMenu |
1146 QMenu |
868 </dd> |
1147 </dd> |
869 </dl><a NAME="Project.__initTestingActions" ID="Project.__initTestingActions"></a> |
1148 </dl> |
|
1149 <a NAME="Project.__initTestingActions" ID="Project.__initTestingActions"></a> |
870 <h4>Project.__initTestingActions</h4> |
1150 <h4>Project.__initTestingActions</h4> |
871 <b>__initTestingActions</b>(<i></i>) |
1151 <b>__initTestingActions</b>(<i></i>) |
|
1152 |
872 <p> |
1153 <p> |
873 Private method to define the testing actions. |
1154 Private method to define the testing actions. |
874 </p><a NAME="Project.__initTestingMenu" ID="Project.__initTestingMenu"></a> |
1155 </p> |
|
1156 <a NAME="Project.__initTestingMenu" ID="Project.__initTestingMenu"></a> |
875 <h4>Project.__initTestingMenu</h4> |
1157 <h4>Project.__initTestingMenu</h4> |
876 <b>__initTestingMenu</b>(<i></i>) |
1158 <b>__initTestingMenu</b>(<i></i>) |
|
1159 |
877 <p> |
1160 <p> |
878 Private method to initialize the testing menu. |
1161 Private method to initialize the testing menu. |
879 </p><dl> |
1162 </p> |
|
1163 <dl> |
880 <dt>Returns:</dt> |
1164 <dt>Returns:</dt> |
881 <dd> |
1165 <dd> |
882 the menu generated |
1166 the menu generated |
883 </dd> |
1167 </dd> |
884 </dl><dl> |
1168 </dl> |
|
1169 <dl> |
885 <dt>Return Type:</dt> |
1170 <dt>Return Type:</dt> |
886 <dd> |
1171 <dd> |
887 QMenu |
1172 QMenu |
888 </dd> |
1173 </dd> |
889 </dl><a NAME="Project.__initToolsActions" ID="Project.__initToolsActions"></a> |
1174 </dl> |
|
1175 <a NAME="Project.__initToolsActions" ID="Project.__initToolsActions"></a> |
890 <h4>Project.__initToolsActions</h4> |
1176 <h4>Project.__initToolsActions</h4> |
891 <b>__initToolsActions</b>(<i></i>) |
1177 <b>__initToolsActions</b>(<i></i>) |
|
1178 |
892 <p> |
1179 <p> |
893 Private method to define the tool actions. |
1180 Private method to define the tool actions. |
894 </p><a NAME="Project.__initToolsMenu" ID="Project.__initToolsMenu"></a> |
1181 </p> |
|
1182 <a NAME="Project.__initToolsMenu" ID="Project.__initToolsMenu"></a> |
895 <h4>Project.__initToolsMenu</h4> |
1183 <h4>Project.__initToolsMenu</h4> |
896 <b>__initToolsMenu</b>(<i></i>) |
1184 <b>__initToolsMenu</b>(<i></i>) |
|
1185 |
897 <p> |
1186 <p> |
898 Private method to initialize the tools menu. |
1187 Private method to initialize the tools menu. |
899 </p><dl> |
1188 </p> |
|
1189 <dl> |
900 <dt>Returns:</dt> |
1190 <dt>Returns:</dt> |
901 <dd> |
1191 <dd> |
902 the menu generated |
1192 the menu generated |
903 </dd> |
1193 </dd> |
904 </dl><dl> |
1194 </dl> |
|
1195 <dl> |
905 <dt>Return Type:</dt> |
1196 <dt>Return Type:</dt> |
906 <dd> |
1197 <dd> |
907 QMenu |
1198 QMenu |
908 </dd> |
1199 </dd> |
909 </dl><a NAME="Project.__isSpawningConsole" ID="Project.__isSpawningConsole"></a> |
1200 </dl> |
|
1201 <a NAME="Project.__isSpawningConsole" ID="Project.__isSpawningConsole"></a> |
910 <h4>Project.__isSpawningConsole</h4> |
1202 <h4>Project.__isSpawningConsole</h4> |
911 <b>__isSpawningConsole</b>(<i>consoleCmd</i>) |
1203 <b>__isSpawningConsole</b>(<i>consoleCmd</i>) |
|
1204 |
912 <p> |
1205 <p> |
913 Private method to check, if the given console is a spawning console. |
1206 Private method to check, if the given console is a spawning console. |
914 </p><dl> |
1207 </p> |
|
1208 <dl> |
|
1209 |
915 <dt><i>consoleCmd</i></dt> |
1210 <dt><i>consoleCmd</i></dt> |
916 <dd> |
1211 <dd> |
917 console command (string) |
1212 console command (string) |
918 </dd> |
1213 </dd> |
919 </dl><dl> |
1214 </dl> |
|
1215 <dl> |
920 <dt>Returns:</dt> |
1216 <dt>Returns:</dt> |
921 <dd> |
1217 <dd> |
922 tuple of two entries giving an indication, if the console |
1218 tuple of two entries giving an indication, if the console |
923 is spawning (boolean) and the (possibly) cleaned console command |
1219 is spawning (boolean) and the (possibly) cleaned console command |
924 (string) |
1220 (string) |
925 </dd> |
1221 </dd> |
926 </dl><a NAME="Project.__isSuitableForVariant" ID="Project.__isSuitableForVariant"></a> |
1222 </dl> |
|
1223 <a NAME="Project.__isSuitableForVariant" ID="Project.__isSuitableForVariant"></a> |
927 <h4>Project.__isSuitableForVariant</h4> |
1224 <h4>Project.__isSuitableForVariant</h4> |
928 <b>__isSuitableForVariant</b>(<i>variant, line0</i>) |
1225 <b>__isSuitableForVariant</b>(<i>variant, line0</i>) |
|
1226 |
929 <p> |
1227 <p> |
930 Private method to test, if a detected command file is suitable for the |
1228 Private method to test, if a detected command file is suitable for the |
931 given Python variant. |
1229 given Python variant. |
932 </p><dl> |
1230 </p> |
933 <dt><i>variant</i> (str (one of Python2 or Python3))</dt> |
1231 <dl> |
|
1232 |
|
1233 <dt><i>variant</i> (str)</dt> |
934 <dd> |
1234 <dd> |
935 Python variant to test for |
1235 Python variant to test for |
936 </dd><dt><i>line0</i> (str)</dt> |
1236 </dd> |
|
1237 <dt><i>line0</i> (str)</dt> |
937 <dd> |
1238 <dd> |
938 first line of the executable |
1239 first line of the executable |
939 </dd> |
1240 </dd> |
940 </dl><a NAME="Project.__loadData" ID="Project.__loadData"></a> |
1241 </dl> |
|
1242 <dl> |
|
1243 <dt>Returns:</dt> |
|
1244 <dd> |
|
1245 flag indicating a suitable file was found |
|
1246 </dd> |
|
1247 </dl> |
|
1248 <dl> |
|
1249 <dt>Return Type:</dt> |
|
1250 <dd> |
|
1251 bool |
|
1252 </dd> |
|
1253 </dl> |
|
1254 <a NAME="Project.__loadData" ID="Project.__loadData"></a> |
941 <h4>Project.__loadData</h4> |
1255 <h4>Project.__loadData</h4> |
942 <b>__loadData</b>(<i></i>) |
1256 <b>__loadData</b>(<i></i>) |
|
1257 |
943 <p> |
1258 <p> |
944 Private slot to load data from fixture files. |
1259 Private slot to load data from fixture files. |
945 </p><a NAME="Project.__loadRecentApplications" ID="Project.__loadRecentApplications"></a> |
1260 </p> |
|
1261 <a NAME="Project.__loadRecentApplications" ID="Project.__loadRecentApplications"></a> |
946 <h4>Project.__loadRecentApplications</h4> |
1262 <h4>Project.__loadRecentApplications</h4> |
947 <b>__loadRecentApplications</b>(<i></i>) |
1263 <b>__loadRecentApplications</b>(<i></i>) |
|
1264 |
948 <p> |
1265 <p> |
949 Private method to load the recently used applications list. |
1266 Private method to load the recently used applications list. |
950 </p><a NAME="Project.__loadRecentDatabaseNames" ID="Project.__loadRecentDatabaseNames"></a> |
1267 </p> |
|
1268 <a NAME="Project.__loadRecentDatabaseNames" ID="Project.__loadRecentDatabaseNames"></a> |
951 <h4>Project.__loadRecentDatabaseNames</h4> |
1269 <h4>Project.__loadRecentDatabaseNames</h4> |
952 <b>__loadRecentDatabaseNames</b>(<i></i>) |
1270 <b>__loadRecentDatabaseNames</b>(<i></i>) |
|
1271 |
953 <p> |
1272 <p> |
954 Private method to load the list of recently used database names. |
1273 Private method to load the list of recently used database names. |
955 </p><a NAME="Project.__loadRecentTestData" ID="Project.__loadRecentTestData"></a> |
1274 </p> |
|
1275 <a NAME="Project.__loadRecentTestData" ID="Project.__loadRecentTestData"></a> |
956 <h4>Project.__loadRecentTestData</h4> |
1276 <h4>Project.__loadRecentTestData</h4> |
957 <b>__loadRecentTestData</b>(<i></i>) |
1277 <b>__loadRecentTestData</b>(<i></i>) |
|
1278 |
958 <p> |
1279 <p> |
959 Private method to load the recently used test data lists. |
1280 Private method to load the recently used test data lists. |
960 </p><a NAME="Project.__makeMigrations" ID="Project.__makeMigrations"></a> |
1281 </p> |
|
1282 <a NAME="Project.__makeMigrations" ID="Project.__makeMigrations"></a> |
961 <h4>Project.__makeMigrations</h4> |
1283 <h4>Project.__makeMigrations</h4> |
962 <b>__makeMigrations</b>(<i></i>) |
1284 <b>__makeMigrations</b>(<i></i>) |
|
1285 |
963 <p> |
1286 <p> |
964 Private slot to generate migrations for the Django project. |
1287 Private slot to generate migrations for the Django project. |
965 </p><a NAME="Project.__normalizeList" ID="Project.__normalizeList"></a> |
1288 </p> |
|
1289 <a NAME="Project.__normalizeList" ID="Project.__normalizeList"></a> |
966 <h4>Project.__normalizeList</h4> |
1290 <h4>Project.__normalizeList</h4> |
967 <b>__normalizeList</b>(<i>filenames</i>) |
1291 <b>__normalizeList</b>(<i>filenames</i>) |
|
1292 |
968 <p> |
1293 <p> |
969 Private method to normalize a list of file names. |
1294 Private method to normalize a list of file names. |
970 </p><dl> |
1295 </p> |
|
1296 <dl> |
|
1297 |
971 <dt><i>filenames</i></dt> |
1298 <dt><i>filenames</i></dt> |
972 <dd> |
1299 <dd> |
973 list of file names to normalize (list of strings) |
1300 list of file names to normalize (list of strings) |
974 </dd> |
1301 </dd> |
975 </dl><dl> |
1302 </dl> |
|
1303 <dl> |
976 <dt>Returns:</dt> |
1304 <dt>Returns:</dt> |
977 <dd> |
1305 <dd> |
978 normalized file names (list of strings) |
1306 normalized file names (list of strings) |
979 </dd> |
1307 </dd> |
980 </dl><a NAME="Project.__performCheck" ID="Project.__performCheck"></a> |
1308 </dl> |
|
1309 <a NAME="Project.__performCheck" ID="Project.__performCheck"></a> |
981 <h4>Project.__performCheck</h4> |
1310 <h4>Project.__performCheck</h4> |
982 <b>__performCheck</b>(<i></i>) |
1311 <b>__performCheck</b>(<i></i>) |
|
1312 |
983 <p> |
1313 <p> |
984 Private slot to inspect the project for common problems. |
1314 Private slot to inspect the project for common problems. |
985 </p><a NAME="Project.__projectLanguageAdded" ID="Project.__projectLanguageAdded"></a> |
1315 </p> |
|
1316 <a NAME="Project.__projectLanguageAdded" ID="Project.__projectLanguageAdded"></a> |
986 <h4>Project.__projectLanguageAdded</h4> |
1317 <h4>Project.__projectLanguageAdded</h4> |
987 <b>__projectLanguageAdded</b>(<i>code</i>) |
1318 <b>__projectLanguageAdded</b>(<i>code</i>) |
|
1319 |
988 <p> |
1320 <p> |
989 Private slot handling the addition of a new language. |
1321 Private slot handling the addition of a new language. |
990 </p><dl> |
1322 </p> |
|
1323 <dl> |
|
1324 |
991 <dt><i>code</i></dt> |
1325 <dt><i>code</i></dt> |
992 <dd> |
1326 <dd> |
993 language code of the new language (string) |
1327 language code of the new language (string) |
994 </dd> |
1328 </dd> |
995 </dl><a NAME="Project.__runBrowser" ID="Project.__runBrowser"></a> |
1329 </dl> |
|
1330 <a NAME="Project.__runBrowser" ID="Project.__runBrowser"></a> |
996 <h4>Project.__runBrowser</h4> |
1331 <h4>Project.__runBrowser</h4> |
997 <b>__runBrowser</b>(<i></i>) |
1332 <b>__runBrowser</b>(<i></i>) |
|
1333 |
998 <p> |
1334 <p> |
999 Private slot to start the default web browser with the server URL. |
1335 Private slot to start the default web browser with the server URL. |
1000 </p><a NAME="Project.__runDatabaseClient" ID="Project.__runDatabaseClient"></a> |
1336 </p> |
|
1337 <a NAME="Project.__runDatabaseClient" ID="Project.__runDatabaseClient"></a> |
1001 <h4>Project.__runDatabaseClient</h4> |
1338 <h4>Project.__runDatabaseClient</h4> |
1002 <b>__runDatabaseClient</b>(<i></i>) |
1339 <b>__runDatabaseClient</b>(<i></i>) |
|
1340 |
1003 <p> |
1341 <p> |
1004 Private slot to start a database client for a Django project. |
1342 Private slot to start a database client for a Django project. |
1005 </p><a NAME="Project.__runPythonShell" ID="Project.__runPythonShell"></a> |
1343 </p> |
|
1344 <a NAME="Project.__runPythonShell" ID="Project.__runPythonShell"></a> |
1006 <h4>Project.__runPythonShell</h4> |
1345 <h4>Project.__runPythonShell</h4> |
1007 <b>__runPythonShell</b>(<i></i>) |
1346 <b>__runPythonShell</b>(<i></i>) |
|
1347 |
1008 <p> |
1348 <p> |
1009 Private slot to start a Python console for a Django project. |
1349 Private slot to start a Python console for a Django project. |
1010 </p><a NAME="Project.__runServer" ID="Project.__runServer"></a> |
1350 </p> |
|
1351 <a NAME="Project.__runServer" ID="Project.__runServer"></a> |
1011 <h4>Project.__runServer</h4> |
1352 <h4>Project.__runServer</h4> |
1012 <b>__runServer</b>(<i></i>) |
1353 <b>__runServer</b>(<i></i>) |
|
1354 |
1013 <p> |
1355 <p> |
1014 Private slot to start the Django Web server. |
1356 Private slot to start the Django Web server. |
1015 </p><a NAME="Project.__runTestServer" ID="Project.__runTestServer"></a> |
1357 </p> |
|
1358 <a NAME="Project.__runTestServer" ID="Project.__runTestServer"></a> |
1016 <h4>Project.__runTestServer</h4> |
1359 <h4>Project.__runTestServer</h4> |
1017 <b>__runTestServer</b>(<i></i>) |
1360 <b>__runTestServer</b>(<i></i>) |
|
1361 |
1018 <p> |
1362 <p> |
1019 Private slot to run a development server with data from a set of |
1363 Private slot to run a development server with data from a set of |
1020 fixtures. |
1364 fixtures. |
1021 </p><a NAME="Project.__runTestSuite" ID="Project.__runTestSuite"></a> |
1365 </p> |
|
1366 <a NAME="Project.__runTestSuite" ID="Project.__runTestSuite"></a> |
1022 <h4>Project.__runTestSuite</h4> |
1367 <h4>Project.__runTestSuite</h4> |
1023 <b>__runTestSuite</b>(<i>deprecation=False</i>) |
1368 <b>__runTestSuite</b>(<i>deprecation=False</i>) |
|
1369 |
1024 <p> |
1370 <p> |
1025 Private slot to run the test suite for applications or the whole site. |
1371 Private slot to run the test suite for applications or the whole site. |
1026 </p><dl> |
1372 </p> |
|
1373 <dl> |
|
1374 |
1027 <dt><i>deprecation</i> (bool)</dt> |
1375 <dt><i>deprecation</i> (bool)</dt> |
1028 <dd> |
1376 <dd> |
1029 flag indicating to test for deprecation warnings |
1377 flag indicating to test for deprecation warnings |
1030 </dd> |
1378 </dd> |
1031 </dl><a NAME="Project.__saveRecentApplications" ID="Project.__saveRecentApplications"></a> |
1379 </dl> |
|
1380 <a NAME="Project.__saveRecentApplications" ID="Project.__saveRecentApplications"></a> |
1032 <h4>Project.__saveRecentApplications</h4> |
1381 <h4>Project.__saveRecentApplications</h4> |
1033 <b>__saveRecentApplications</b>(<i></i>) |
1382 <b>__saveRecentApplications</b>(<i></i>) |
|
1383 |
1034 <p> |
1384 <p> |
1035 Private method to save the list of recently used applications list. |
1385 Private method to save the list of recently used applications list. |
1036 </p><a NAME="Project.__saveRecentDatabaseNames" ID="Project.__saveRecentDatabaseNames"></a> |
1386 </p> |
|
1387 <a NAME="Project.__saveRecentDatabaseNames" ID="Project.__saveRecentDatabaseNames"></a> |
1037 <h4>Project.__saveRecentDatabaseNames</h4> |
1388 <h4>Project.__saveRecentDatabaseNames</h4> |
1038 <b>__saveRecentDatabaseNames</b>(<i></i>) |
1389 <b>__saveRecentDatabaseNames</b>(<i></i>) |
|
1390 |
1039 <p> |
1391 <p> |
1040 Private method to save the list of recently used database names. |
1392 Private method to save the list of recently used database names. |
1041 </p><a NAME="Project.__saveRecentTestData" ID="Project.__saveRecentTestData"></a> |
1393 </p> |
|
1394 <a NAME="Project.__saveRecentTestData" ID="Project.__saveRecentTestData"></a> |
1042 <h4>Project.__saveRecentTestData</h4> |
1395 <h4>Project.__saveRecentTestData</h4> |
1043 <b>__saveRecentTestData</b>(<i></i>) |
1396 <b>__saveRecentTestData</b>(<i></i>) |
|
1397 |
1044 <p> |
1398 <p> |
1045 Private method to save the list of recently used test data. |
1399 Private method to save the list of recently used test data. |
1046 </p><a NAME="Project.__selectDatabaseName" ID="Project.__selectDatabaseName"></a> |
1400 </p> |
|
1401 <a NAME="Project.__selectDatabaseName" ID="Project.__selectDatabaseName"></a> |
1047 <h4>Project.__selectDatabaseName</h4> |
1402 <h4>Project.__selectDatabaseName</h4> |
1048 <b>__selectDatabaseName</b>(<i></i>) |
1403 <b>__selectDatabaseName</b>(<i></i>) |
|
1404 |
1049 <p> |
1405 <p> |
1050 Private method to select the name of the database to work with. |
1406 Private method to select the name of the database to work with. |
1051 </p><a NAME="Project.__selectSite" ID="Project.__selectSite"></a> |
1407 </p> |
|
1408 <a NAME="Project.__selectSite" ID="Project.__selectSite"></a> |
1052 <h4>Project.__selectSite</h4> |
1409 <h4>Project.__selectSite</h4> |
1053 <b>__selectSite</b>(<i></i>) |
1410 <b>__selectSite</b>(<i></i>) |
|
1411 |
1054 <p> |
1412 <p> |
1055 Private method to select a site to work with. |
1413 Private method to select a site to work with. |
1056 </p><a NAME="Project.__sendTestEmail" ID="Project.__sendTestEmail"></a> |
1414 </p> |
|
1415 <a NAME="Project.__sendTestEmail" ID="Project.__sendTestEmail"></a> |
1057 <h4>Project.__sendTestEmail</h4> |
1416 <h4>Project.__sendTestEmail</h4> |
1058 <b>__sendTestEmail</b>(<i></i>) |
1417 <b>__sendTestEmail</b>(<i></i>) |
|
1418 |
1059 <p> |
1419 <p> |
1060 Private slot to send a test email through Django. |
1420 Private slot to send a test email through Django. |
1061 </p><a NAME="Project.__serverProcFinished" ID="Project.__serverProcFinished"></a> |
1421 </p> |
|
1422 <a NAME="Project.__serverProcFinished" ID="Project.__serverProcFinished"></a> |
1062 <h4>Project.__serverProcFinished</h4> |
1423 <h4>Project.__serverProcFinished</h4> |
1063 <b>__serverProcFinished</b>(<i></i>) |
1424 <b>__serverProcFinished</b>(<i></i>) |
|
1425 |
1064 <p> |
1426 <p> |
1065 Private slot connected to the finished signal. |
1427 Private slot connected to the finished signal. |
1066 </p><a NAME="Project.__setCurrentDatabase" ID="Project.__setCurrentDatabase"></a> |
1428 </p> |
|
1429 <a NAME="Project.__setCurrentDatabase" ID="Project.__setCurrentDatabase"></a> |
1067 <h4>Project.__setCurrentDatabase</h4> |
1430 <h4>Project.__setCurrentDatabase</h4> |
1068 <b>__setCurrentDatabase</b>(<i>database</i>) |
1431 <b>__setCurrentDatabase</b>(<i>database</i>) |
|
1432 |
1069 <p> |
1433 <p> |
1070 Private method to set the database name to be used. |
1434 Private method to set the database name to be used. |
1071 </p><dl> |
1435 </p> |
|
1436 <dl> |
|
1437 |
1072 <dt><i>database</i> (str)</dt> |
1438 <dt><i>database</i> (str)</dt> |
1073 <dd> |
1439 <dd> |
1074 name of the database |
1440 name of the database |
1075 </dd> |
1441 </dd> |
1076 </dl><a NAME="Project.__setCurrentSite" ID="Project.__setCurrentSite"></a> |
1442 </dl> |
|
1443 <a NAME="Project.__setCurrentSite" ID="Project.__setCurrentSite"></a> |
1077 <h4>Project.__setCurrentSite</h4> |
1444 <h4>Project.__setCurrentSite</h4> |
1078 <b>__setCurrentSite</b>(<i>site</i>) |
1445 <b>__setCurrentSite</b>(<i>site</i>) |
|
1446 |
1079 <p> |
1447 <p> |
1080 Private slot to set the current site. |
1448 Private slot to set the current site. |
1081 </p><dl> |
1449 </p> |
|
1450 <dl> |
|
1451 |
1082 <dt><i>site</i></dt> |
1452 <dt><i>site</i></dt> |
1083 <dd> |
1453 <dd> |
1084 name of the site (string) |
1454 name of the site (string) |
1085 </dd> |
1455 </dd> |
1086 </dl><a NAME="Project.__showHelpIndex" ID="Project.__showHelpIndex"></a> |
1456 </dl> |
|
1457 <a NAME="Project.__showHelpIndex" ID="Project.__showHelpIndex"></a> |
1087 <h4>Project.__showHelpIndex</h4> |
1458 <h4>Project.__showHelpIndex</h4> |
1088 <b>__showHelpIndex</b>(<i></i>) |
1459 <b>__showHelpIndex</b>(<i></i>) |
|
1460 |
1089 <p> |
1461 <p> |
1090 Private slot to show the help index page. |
1462 Private slot to show the help index page. |
1091 </p><a NAME="Project.__showMigrationsList" ID="Project.__showMigrationsList"></a> |
1463 </p> |
|
1464 <a NAME="Project.__showMigrationsList" ID="Project.__showMigrationsList"></a> |
1092 <h4>Project.__showMigrationsList</h4> |
1465 <h4>Project.__showMigrationsList</h4> |
1093 <b>__showMigrationsList</b>(<i></i>) |
1466 <b>__showMigrationsList</b>(<i></i>) |
|
1467 |
1094 <p> |
1468 <p> |
1095 Private slot to show the available migrations and their status. |
1469 Private slot to show the available migrations and their status. |
1096 </p><a NAME="Project.__showMigrationsPlan" ID="Project.__showMigrationsPlan"></a> |
1470 </p> |
|
1471 <a NAME="Project.__showMigrationsPlan" ID="Project.__showMigrationsPlan"></a> |
1097 <h4>Project.__showMigrationsPlan</h4> |
1472 <h4>Project.__showMigrationsPlan</h4> |
1098 <b>__showMigrationsPlan</b>(<i></i>) |
1473 <b>__showMigrationsPlan</b>(<i></i>) |
|
1474 |
1099 <p> |
1475 <p> |
1100 Private slot to show the migrations plan. |
1476 Private slot to show the migrations plan. |
1101 </p><a NAME="Project.__site" ID="Project.__site"></a> |
1477 </p> |
|
1478 <a NAME="Project.__site" ID="Project.__site"></a> |
1102 <h4>Project.__site</h4> |
1479 <h4>Project.__site</h4> |
1103 <b>__site</b>(<i></i>) |
1480 <b>__site</b>(<i></i>) |
|
1481 |
1104 <p> |
1482 <p> |
1105 Private method to get the name of the current site. |
1483 Private method to get the name of the current site. |
1106 </p><dl> |
1484 </p> |
|
1485 <dl> |
1107 <dt>Returns:</dt> |
1486 <dt>Returns:</dt> |
1108 <dd> |
1487 <dd> |
1109 name of the site (string) |
1488 name of the site (string) |
1110 </dd> |
1489 </dd> |
1111 </dl><dl> |
1490 </dl> |
|
1491 <dl> |
|
1492 |
1112 <dt>Raises <b>DjangoNoSiteSelectedException</b>:</dt> |
1493 <dt>Raises <b>DjangoNoSiteSelectedException</b>:</dt> |
1113 <dd> |
1494 <dd> |
1114 raised, if no site is selected |
1495 raised, if no site is selected |
1115 </dd> |
1496 </dd> |
1116 </dl><a NAME="Project.__siteFilteredList" ID="Project.__siteFilteredList"></a> |
1497 </dl> |
|
1498 <a NAME="Project.__siteFilteredList" ID="Project.__siteFilteredList"></a> |
1117 <h4>Project.__siteFilteredList</h4> |
1499 <h4>Project.__siteFilteredList</h4> |
1118 <b>__siteFilteredList</b>(<i>filenames</i>) |
1500 <b>__siteFilteredList</b>(<i>filenames</i>) |
|
1501 |
1119 <p> |
1502 <p> |
1120 Private method to filter a list of file names by site. |
1503 Private method to filter a list of file names by site. |
1121 </p><dl> |
1504 </p> |
|
1505 <dl> |
|
1506 |
1122 <dt><i>filenames</i></dt> |
1507 <dt><i>filenames</i></dt> |
1123 <dd> |
1508 <dd> |
1124 list of file names to be filtered (list of strings) |
1509 list of file names to be filtered (list of strings) |
1125 </dd> |
1510 </dd> |
1126 </dl><dl> |
1511 </dl> |
|
1512 <dl> |
1127 <dt>Returns:</dt> |
1513 <dt>Returns:</dt> |
1128 <dd> |
1514 <dd> |
1129 file names belonging to the current site (list of strings) |
1515 file names belonging to the current site (list of strings) |
1130 </dd> |
1516 </dd> |
1131 </dl><a NAME="Project.__sitePath" ID="Project.__sitePath"></a> |
1517 </dl> |
|
1518 <a NAME="Project.__sitePath" ID="Project.__sitePath"></a> |
1132 <h4>Project.__sitePath</h4> |
1519 <h4>Project.__sitePath</h4> |
1133 <b>__sitePath</b>(<i></i>) |
1520 <b>__sitePath</b>(<i></i>) |
|
1521 |
1134 <p> |
1522 <p> |
1135 Private method to calculate the full path of the Django site. |
1523 Private method to calculate the full path of the Django site. |
1136 </p><dl> |
1524 </p> |
|
1525 <dl> |
1137 <dt>Returns:</dt> |
1526 <dt>Returns:</dt> |
1138 <dd> |
1527 <dd> |
1139 path of the site (string) |
1528 path of the site (string) |
1140 </dd> |
1529 </dd> |
1141 </dl><dl> |
1530 </dl> |
|
1531 <dl> |
|
1532 |
1142 <dt>Raises <b>DjangoNoSiteSelectedException</b>:</dt> |
1533 <dt>Raises <b>DjangoNoSiteSelectedException</b>:</dt> |
1143 <dd> |
1534 <dd> |
1144 raised, if no site is selected |
1535 raised, if no site is selected |
1145 </dd> |
1536 </dd> |
1146 </dl><a NAME="Project.__sqlCommand" ID="Project.__sqlCommand"></a> |
1537 </dl> |
|
1538 <a NAME="Project.__sqlCommand" ID="Project.__sqlCommand"></a> |
1147 <h4>Project.__sqlCommand</h4> |
1539 <h4>Project.__sqlCommand</h4> |
1148 <b>__sqlCommand</b>(<i>title, command, requestApps=True</i>) |
1540 <b>__sqlCommand</b>(<i>title, command, requestApps=True</i>) |
|
1541 |
1149 <p> |
1542 <p> |
1150 Private method to perform an SQL creation function. |
1543 Private method to perform an SQL creation function. |
1151 </p><dl> |
1544 </p> |
|
1545 <dl> |
|
1546 |
1152 <dt><i>title</i></dt> |
1547 <dt><i>title</i></dt> |
1153 <dd> |
1548 <dd> |
1154 dialog title (string) |
1549 dialog title (string) |
1155 </dd><dt><i>command</i></dt> |
1550 </dd> |
|
1551 <dt><i>command</i></dt> |
1156 <dd> |
1552 <dd> |
1157 Django sql... command (string) |
1553 Django sql... command (string) |
1158 </dd><dt><i>requestApps</i></dt> |
1554 </dd> |
|
1555 <dt><i>requestApps</i></dt> |
1159 <dd> |
1556 <dd> |
1160 flag indicating to request a list of applications |
1557 flag indicating to request a list of applications |
1161 to work on (boolean) |
1558 to work on (boolean) |
1162 </dd> |
1559 </dd> |
1163 </dl><a NAME="Project.__squashMigrations" ID="Project.__squashMigrations"></a> |
1560 </dl> |
|
1561 <a NAME="Project.__squashMigrations" ID="Project.__squashMigrations"></a> |
1164 <h4>Project.__squashMigrations</h4> |
1562 <h4>Project.__squashMigrations</h4> |
1165 <b>__squashMigrations</b>(<i></i>) |
1563 <b>__squashMigrations</b>(<i></i>) |
|
1564 |
1166 <p> |
1565 <p> |
1167 Private slot to squash migrations. |
1566 Private slot to squash migrations. |
1168 </p><a NAME="Project.__startGlobalApplication" ID="Project.__startGlobalApplication"></a> |
1567 </p> |
|
1568 <a NAME="Project.__startGlobalApplication" ID="Project.__startGlobalApplication"></a> |
1169 <h4>Project.__startGlobalApplication</h4> |
1569 <h4>Project.__startGlobalApplication</h4> |
1170 <b>__startGlobalApplication</b>(<i></i>) |
1570 <b>__startGlobalApplication</b>(<i></i>) |
|
1571 |
1171 <p> |
1572 <p> |
1172 Private slot to start a new global Django application. |
1573 Private slot to start a new global Django application. |
1173 </p><a NAME="Project.__startLocalApplication" ID="Project.__startLocalApplication"></a> |
1574 </p> |
|
1575 <a NAME="Project.__startLocalApplication" ID="Project.__startLocalApplication"></a> |
1174 <h4>Project.__startLocalApplication</h4> |
1576 <h4>Project.__startLocalApplication</h4> |
1175 <b>__startLocalApplication</b>(<i></i>) |
1577 <b>__startLocalApplication</b>(<i></i>) |
|
1578 |
1176 <p> |
1579 <p> |
1177 Private slot to start a new local Django application. |
1580 Private slot to start a new local Django application. |
1178 </p><a NAME="Project.__startProject" ID="Project.__startProject"></a> |
1581 </p> |
|
1582 <a NAME="Project.__startProject" ID="Project.__startProject"></a> |
1179 <h4>Project.__startProject</h4> |
1583 <h4>Project.__startProject</h4> |
1180 <b>__startProject</b>(<i></i>) |
1584 <b>__startProject</b>(<i></i>) |
|
1585 |
1181 <p> |
1586 <p> |
1182 Private slot to start a new Django project. |
1587 Private slot to start a new Django project. |
1183 </p><a NAME="Project.__testServerProcFinished" ID="Project.__testServerProcFinished"></a> |
1588 </p> |
|
1589 <a NAME="Project.__testServerProcFinished" ID="Project.__testServerProcFinished"></a> |
1184 <h4>Project.__testServerProcFinished</h4> |
1590 <h4>Project.__testServerProcFinished</h4> |
1185 <b>__testServerProcFinished</b>(<i></i>) |
1591 <b>__testServerProcFinished</b>(<i></i>) |
|
1592 |
1186 <p> |
1593 <p> |
1187 Private slot connected to the finished signal of the test server. |
1594 Private slot connected to the finished signal of the test server. |
1188 </p><a NAME="Project.__unapplyMigrations" ID="Project.__unapplyMigrations"></a> |
1595 </p> |
|
1596 <a NAME="Project.__unapplyMigrations" ID="Project.__unapplyMigrations"></a> |
1189 <h4>Project.__unapplyMigrations</h4> |
1597 <h4>Project.__unapplyMigrations</h4> |
1190 <b>__unapplyMigrations</b>(<i></i>) |
1598 <b>__unapplyMigrations</b>(<i></i>) |
|
1599 |
1191 <p> |
1600 <p> |
1192 Private slot to un-apply all migrations of an application. |
1601 Private slot to un-apply all migrations of an application. |
1193 </p><a NAME="Project.applyMigrations" ID="Project.applyMigrations"></a> |
1602 </p> |
|
1603 <a NAME="Project.applyMigrations" ID="Project.applyMigrations"></a> |
1194 <h4>Project.applyMigrations</h4> |
1604 <h4>Project.applyMigrations</h4> |
1195 <b>applyMigrations</b>(<i>app=None, migration=None</i>) |
1605 <b>applyMigrations</b>(<i>app=None, migration=None</i>) |
|
1606 |
1196 <p> |
1607 <p> |
1197 Public slot to apply migrations. |
1608 Public slot to apply migrations. |
1198 </p><dl> |
1609 </p> |
|
1610 <dl> |
|
1611 |
1199 <dt><i>app</i> (str)</dt> |
1612 <dt><i>app</i> (str)</dt> |
1200 <dd> |
1613 <dd> |
1201 name of an application to apply migrations for |
1614 name of an application to apply migrations for |
1202 </dd><dt><i>migration</i> (str)</dt> |
1615 </dd> |
|
1616 <dt><i>migration</i> (str)</dt> |
1203 <dd> |
1617 <dd> |
1204 name of a migration to update to |
1618 name of a migration to update to |
1205 </dd> |
1619 </dd> |
1206 </dl><a NAME="Project.compileCatalogs" ID="Project.compileCatalogs"></a> |
1620 </dl> |
|
1621 <a NAME="Project.compileCatalogs" ID="Project.compileCatalogs"></a> |
1207 <h4>Project.compileCatalogs</h4> |
1622 <h4>Project.compileCatalogs</h4> |
1208 <b>compileCatalogs</b>(<i>filenames</i>) |
1623 <b>compileCatalogs</b>(<i>filenames</i>) |
|
1624 |
1209 <p> |
1625 <p> |
1210 Public method to compile the message catalogs. |
1626 Public method to compile the message catalogs. |
1211 </p><dl> |
1627 </p> |
|
1628 <dl> |
|
1629 |
1212 <dt><i>filenames</i></dt> |
1630 <dt><i>filenames</i></dt> |
1213 <dd> |
1631 <dd> |
1214 list of filenames (not used) |
1632 list of filenames (not used) |
1215 </dd> |
1633 </dd> |
1216 </dl><a NAME="Project.compileSelectedCatalogs" ID="Project.compileSelectedCatalogs"></a> |
1634 </dl> |
|
1635 <a NAME="Project.compileSelectedCatalogs" ID="Project.compileSelectedCatalogs"></a> |
1217 <h4>Project.compileSelectedCatalogs</h4> |
1636 <h4>Project.compileSelectedCatalogs</h4> |
1218 <b>compileSelectedCatalogs</b>(<i>filenames</i>) |
1637 <b>compileSelectedCatalogs</b>(<i>filenames</i>) |
|
1638 |
1219 <p> |
1639 <p> |
1220 Public method to update the message catalogs. |
1640 Public method to update the message catalogs. |
1221 </p><dl> |
1641 </p> |
|
1642 <dl> |
|
1643 |
1222 <dt><i>filenames</i></dt> |
1644 <dt><i>filenames</i></dt> |
1223 <dd> |
1645 <dd> |
1224 list of filenames |
1646 list of filenames |
1225 </dd> |
1647 </dd> |
1226 </dl><a NAME="Project.currentDatabase" ID="Project.currentDatabase"></a> |
1648 </dl> |
|
1649 <a NAME="Project.currentDatabase" ID="Project.currentDatabase"></a> |
1227 <h4>Project.currentDatabase</h4> |
1650 <h4>Project.currentDatabase</h4> |
1228 <b>currentDatabase</b>(<i></i>) |
1651 <b>currentDatabase</b>(<i></i>) |
|
1652 |
1229 <p> |
1653 <p> |
1230 Public method to get the database name to be used. |
1654 Public method to get the database name to be used. |
1231 </p><dl> |
1655 </p> |
|
1656 <dl> |
1232 <dt>Returns:</dt> |
1657 <dt>Returns:</dt> |
1233 <dd> |
1658 <dd> |
1234 database name |
1659 database name |
1235 </dd> |
1660 </dd> |
1236 </dl><dl> |
1661 </dl> |
|
1662 <dl> |
1237 <dt>Return Type:</dt> |
1663 <dt>Return Type:</dt> |
1238 <dd> |
1664 <dd> |
1239 str |
1665 str |
1240 </dd> |
1666 </dd> |
1241 </dl><a NAME="Project.getDjangoVersion" ID="Project.getDjangoVersion"></a> |
1667 </dl> |
|
1668 <a NAME="Project.getDjangoVersion" ID="Project.getDjangoVersion"></a> |
1242 <h4>Project.getDjangoVersion</h4> |
1669 <h4>Project.getDjangoVersion</h4> |
1243 <b>getDjangoVersion</b>(<i></i>) |
1670 <b>getDjangoVersion</b>(<i></i>) |
|
1671 |
1244 <p> |
1672 <p> |
1245 Public method to get the Django version as a tuple. |
1673 Public method to get the Django version as a tuple. |
1246 </p><dl> |
1674 </p> |
|
1675 <dl> |
1247 <dt>Returns:</dt> |
1676 <dt>Returns:</dt> |
1248 <dd> |
1677 <dd> |
1249 Django version |
1678 Django version |
1250 </dd> |
1679 </dd> |
1251 </dl><dl> |
1680 </dl> |
|
1681 <dl> |
1252 <dt>Return Type:</dt> |
1682 <dt>Return Type:</dt> |
1253 <dd> |
1683 <dd> |
1254 tuple of int |
1684 tuple of int |
1255 </dd> |
1685 </dd> |
1256 </dl><a NAME="Project.getDjangoVersionString" ID="Project.getDjangoVersionString"></a> |
1686 </dl> |
|
1687 <a NAME="Project.getDjangoVersionString" ID="Project.getDjangoVersionString"></a> |
1257 <h4>Project.getDjangoVersionString</h4> |
1688 <h4>Project.getDjangoVersionString</h4> |
1258 <b>getDjangoVersionString</b>(<i></i>) |
1689 <b>getDjangoVersionString</b>(<i></i>) |
|
1690 |
1259 <p> |
1691 <p> |
1260 Public method to get the Django version as a string. |
1692 Public method to get the Django version as a string. |
1261 </p><dl> |
1693 </p> |
|
1694 <dl> |
1262 <dt>Returns:</dt> |
1695 <dt>Returns:</dt> |
1263 <dd> |
1696 <dd> |
1264 Django version (string) |
1697 Django version (string) |
1265 </dd> |
1698 </dd> |
1266 </dl><a NAME="Project.getMenu" ID="Project.getMenu"></a> |
1699 </dl> |
|
1700 <a NAME="Project.getMenu" ID="Project.getMenu"></a> |
1267 <h4>Project.getMenu</h4> |
1701 <h4>Project.getMenu</h4> |
1268 <b>getMenu</b>(<i>name</i>) |
1702 <b>getMenu</b>(<i>name</i>) |
|
1703 |
1269 <p> |
1704 <p> |
1270 Public method to get a reference to the requested menu. |
1705 Public method to get a reference to the requested menu. |
1271 </p><dl> |
1706 </p> |
|
1707 <dl> |
|
1708 |
1272 <dt><i>name</i></dt> |
1709 <dt><i>name</i></dt> |
1273 <dd> |
1710 <dd> |
1274 name of the menu (string) |
1711 name of the menu (string) |
1275 </dd> |
1712 </dd> |
1276 </dl><dl> |
1713 </dl> |
|
1714 <dl> |
1277 <dt>Returns:</dt> |
1715 <dt>Returns:</dt> |
1278 <dd> |
1716 <dd> |
1279 reference to the menu (QMenu) or None, if no |
1717 reference to the menu (QMenu) or None, if no |
1280 menu with the given name exists |
1718 menu with the given name exists |
1281 </dd> |
1719 </dd> |
1282 </dl><a NAME="Project.getMenuNames" ID="Project.getMenuNames"></a> |
1720 </dl> |
|
1721 <a NAME="Project.getMenuNames" ID="Project.getMenuNames"></a> |
1283 <h4>Project.getMenuNames</h4> |
1722 <h4>Project.getMenuNames</h4> |
1284 <b>getMenuNames</b>(<i></i>) |
1723 <b>getMenuNames</b>(<i></i>) |
|
1724 |
1285 <p> |
1725 <p> |
1286 Public method to get the names of all menus. |
1726 Public method to get the names of all menus. |
1287 </p><dl> |
1727 </p> |
|
1728 <dl> |
1288 <dt>Returns:</dt> |
1729 <dt>Returns:</dt> |
1289 <dd> |
1730 <dd> |
1290 menu names (list of string) |
1731 menu names (list of string) |
1291 </dd> |
1732 </dd> |
1292 </dl><a NAME="Project.getProjectPath" ID="Project.getProjectPath"></a> |
1733 </dl> |
|
1734 <a NAME="Project.getProjectPath" ID="Project.getProjectPath"></a> |
1293 <h4>Project.getProjectPath</h4> |
1735 <h4>Project.getProjectPath</h4> |
1294 <b>getProjectPath</b>(<i></i>) |
1736 <b>getProjectPath</b>(<i></i>) |
|
1737 |
1295 <p> |
1738 <p> |
1296 Public method to get the path of the eric6 project. |
1739 Public method to get the path of the eric6 project. |
1297 </p><dl> |
1740 </p> |
|
1741 <dl> |
1298 <dt>Returns:</dt> |
1742 <dt>Returns:</dt> |
1299 <dd> |
1743 <dd> |
1300 path of the eric6 project (string) |
1744 path of the eric6 project (string) |
1301 </dd> |
1745 </dd> |
1302 </dl><a NAME="Project.getRecentApplications" ID="Project.getRecentApplications"></a> |
1746 </dl> |
|
1747 <a NAME="Project.getRecentApplications" ID="Project.getRecentApplications"></a> |
1303 <h4>Project.getRecentApplications</h4> |
1748 <h4>Project.getRecentApplications</h4> |
1304 <b>getRecentApplications</b>(<i></i>) |
1749 <b>getRecentApplications</b>(<i></i>) |
|
1750 |
1305 <p> |
1751 <p> |
1306 Public method to get the list of recent applications. |
1752 Public method to get the list of recent applications. |
1307 </p><dl> |
1753 </p> |
|
1754 <dl> |
1308 <dt>Returns:</dt> |
1755 <dt>Returns:</dt> |
1309 <dd> |
1756 <dd> |
1310 list of recent applications entries (list of strings) |
1757 list of recent applications entries (list of strings) |
1311 </dd> |
1758 </dd> |
1312 </dl><a NAME="Project.getRecentDatabaseNames" ID="Project.getRecentDatabaseNames"></a> |
1759 </dl> |
|
1760 <a NAME="Project.getRecentDatabaseNames" ID="Project.getRecentDatabaseNames"></a> |
1313 <h4>Project.getRecentDatabaseNames</h4> |
1761 <h4>Project.getRecentDatabaseNames</h4> |
1314 <b>getRecentDatabaseNames</b>(<i></i>) |
1762 <b>getRecentDatabaseNames</b>(<i></i>) |
|
1763 |
1315 <p> |
1764 <p> |
1316 Public method to get the list of recently used database names. |
1765 Public method to get the list of recently used database names. |
1317 </p><dl> |
1766 </p> |
|
1767 <dl> |
1318 <dt>Returns:</dt> |
1768 <dt>Returns:</dt> |
1319 <dd> |
1769 <dd> |
1320 list of recently used database names |
1770 list of recently used database names |
1321 </dd> |
1771 </dd> |
1322 </dl><dl> |
1772 </dl> |
|
1773 <dl> |
1323 <dt>Return Type:</dt> |
1774 <dt>Return Type:</dt> |
1324 <dd> |
1775 <dd> |
1325 list of str |
1776 list of str |
1326 </dd> |
1777 </dd> |
1327 </dl><a NAME="Project.getRecentTestData" ID="Project.getRecentTestData"></a> |
1778 </dl> |
|
1779 <a NAME="Project.getRecentTestData" ID="Project.getRecentTestData"></a> |
1328 <h4>Project.getRecentTestData</h4> |
1780 <h4>Project.getRecentTestData</h4> |
1329 <b>getRecentTestData</b>(<i>key</i>) |
1781 <b>getRecentTestData</b>(<i>key</i>) |
|
1782 |
1330 <p> |
1783 <p> |
1331 Public method to get the list of recent test data. |
1784 Public method to get the list of recent test data. |
1332 </p><dl> |
1785 </p> |
|
1786 <dl> |
|
1787 |
1333 <dt><i>key</i> (str)</dt> |
1788 <dt><i>key</i> (str)</dt> |
1334 <dd> |
1789 <dd> |
1335 key (name) of the test data to get |
1790 key (name) of the test data to get |
1336 </dd> |
1791 </dd> |
1337 </dl><dl> |
1792 </dl> |
|
1793 <dl> |
1338 <dt>Returns:</dt> |
1794 <dt>Returns:</dt> |
1339 <dd> |
1795 <dd> |
1340 list of recent test data entries |
1796 list of recent test data entries |
1341 </dd> |
1797 </dd> |
1342 </dl><dl> |
1798 </dl> |
|
1799 <dl> |
1343 <dt>Return Type:</dt> |
1800 <dt>Return Type:</dt> |
1344 <dd> |
1801 <dd> |
1345 list of str |
1802 list of str |
1346 </dd> |
1803 </dd> |
1347 </dl><a NAME="Project.initActions" ID="Project.initActions"></a> |
1804 </dl> |
|
1805 <a NAME="Project.initActions" ID="Project.initActions"></a> |
1348 <h4>Project.initActions</h4> |
1806 <h4>Project.initActions</h4> |
1349 <b>initActions</b>(<i></i>) |
1807 <b>initActions</b>(<i></i>) |
|
1808 |
1350 <p> |
1809 <p> |
1351 Public method to define the Django actions. |
1810 Public method to define the Django actions. |
1352 </p><a NAME="Project.initMenu" ID="Project.initMenu"></a> |
1811 </p> |
|
1812 <a NAME="Project.initMenu" ID="Project.initMenu"></a> |
1353 <h4>Project.initMenu</h4> |
1813 <h4>Project.initMenu</h4> |
1354 <b>initMenu</b>(<i></i>) |
1814 <b>initMenu</b>(<i></i>) |
|
1815 |
1355 <p> |
1816 <p> |
1356 Public method to initialize the Django menu. |
1817 Public method to initialize the Django menu. |
1357 </p><dl> |
1818 </p> |
|
1819 <dl> |
1358 <dt>Returns:</dt> |
1820 <dt>Returns:</dt> |
1359 <dd> |
1821 <dd> |
1360 the menu generated |
1822 the menu generated |
1361 </dd> |
1823 </dd> |
1362 </dl><dl> |
1824 </dl> |
|
1825 <dl> |
1363 <dt>Return Type:</dt> |
1826 <dt>Return Type:</dt> |
1364 <dd> |
1827 <dd> |
1365 QMenu |
1828 QMenu |
1366 </dd> |
1829 </dd> |
1367 </dl><a NAME="Project.makeMigrations" ID="Project.makeMigrations"></a> |
1830 </dl> |
|
1831 <a NAME="Project.makeMigrations" ID="Project.makeMigrations"></a> |
1368 <h4>Project.makeMigrations</h4> |
1832 <h4>Project.makeMigrations</h4> |
1369 <b>makeMigrations</b>(<i>apps, migration=None, dryRun=False, empty=False, merge=False</i>) |
1833 <b>makeMigrations</b>(<i>apps, migration=None, dryRun=False, empty=False, merge=False</i>) |
|
1834 |
1370 <p> |
1835 <p> |
1371 Public method to generate migrations. |
1836 Public method to generate migrations. |
1372 </p><dl> |
1837 </p> |
|
1838 <dl> |
|
1839 |
1373 <dt><i>apps</i> (list of str)</dt> |
1840 <dt><i>apps</i> (list of str)</dt> |
1374 <dd> |
1841 <dd> |
1375 list of application names to generate migrations for |
1842 list of application names to generate migrations for |
1376 </dd><dt><i>migration</i> (str)</dt> |
1843 </dd> |
|
1844 <dt><i>migration</i> (str)</dt> |
1377 <dd> |
1845 <dd> |
1378 name of the migration to generate |
1846 name of the migration to generate |
1379 </dd><dt><i>dryRun</i> (bool)</dt> |
1847 </dd> |
|
1848 <dt><i>dryRun</i> (bool)</dt> |
1380 <dd> |
1849 <dd> |
1381 flag indicating a dry run |
1850 flag indicating a dry run |
1382 </dd><dt><i>empty</i> (bool)</dt> |
1851 </dd> |
|
1852 <dt><i>empty</i> (bool)</dt> |
1383 <dd> |
1853 <dd> |
1384 flag indicating the creation of an empty migration |
1854 flag indicating the creation of an empty migration |
1385 </dd><dt><i>merge</i> (bool)</dt> |
1855 </dd> |
|
1856 <dt><i>merge</i> (bool)</dt> |
1386 <dd> |
1857 <dd> |
1387 flag indicating to fix migration conflicts |
1858 flag indicating to fix migration conflicts |
1388 </dd> |
1859 </dd> |
1389 </dl><a NAME="Project.newForm" ID="Project.newForm"></a> |
1860 </dl> |
|
1861 <a NAME="Project.newForm" ID="Project.newForm"></a> |
1390 <h4>Project.newForm</h4> |
1862 <h4>Project.newForm</h4> |
1391 <b>newForm</b>(<i>path</i>) |
1863 <b>newForm</b>(<i>path</i>) |
|
1864 |
1392 <p> |
1865 <p> |
1393 Public method to create a new form. |
1866 Public method to create a new form. |
1394 </p><dl> |
1867 </p> |
|
1868 <dl> |
|
1869 |
1395 <dt><i>path</i></dt> |
1870 <dt><i>path</i></dt> |
1396 <dd> |
1871 <dd> |
1397 full directory path for the new form file (string) |
1872 full directory path for the new form file (string) |
1398 </dd> |
1873 </dd> |
1399 </dl><a NAME="Project.newProjectCreated" ID="Project.newProjectCreated"></a> |
1874 </dl> |
|
1875 <a NAME="Project.newProjectCreated" ID="Project.newProjectCreated"></a> |
1400 <h4>Project.newProjectCreated</h4> |
1876 <h4>Project.newProjectCreated</h4> |
1401 <b>newProjectCreated</b>(<i></i>) |
1877 <b>newProjectCreated</b>(<i></i>) |
|
1878 |
1402 <p> |
1879 <p> |
1403 Public slot to finish up the newly generated project. |
1880 Public slot to finish up the newly generated project. |
1404 </p><a NAME="Project.openPOEditor" ID="Project.openPOEditor"></a> |
1881 </p> |
|
1882 <a NAME="Project.openPOEditor" ID="Project.openPOEditor"></a> |
1405 <h4>Project.openPOEditor</h4> |
1883 <h4>Project.openPOEditor</h4> |
1406 <b>openPOEditor</b>(<i>poFile</i>) |
1884 <b>openPOEditor</b>(<i>poFile</i>) |
|
1885 |
1407 <p> |
1886 <p> |
1408 Public method to edit the given file in an external .po editor. |
1887 Public method to edit the given file in an external .po editor. |
1409 </p><dl> |
1888 </p> |
|
1889 <dl> |
|
1890 |
1410 <dt><i>poFile</i></dt> |
1891 <dt><i>poFile</i></dt> |
1411 <dd> |
1892 <dd> |
1412 name of the .po file (string) |
1893 name of the .po file (string) |
1413 </dd> |
1894 </dd> |
1414 </dl><a NAME="Project.projectClosed" ID="Project.projectClosed"></a> |
1895 </dl> |
|
1896 <a NAME="Project.projectClosed" ID="Project.projectClosed"></a> |
1415 <h4>Project.projectClosed</h4> |
1897 <h4>Project.projectClosed</h4> |
1416 <b>projectClosed</b>(<i></i>) |
1898 <b>projectClosed</b>(<i></i>) |
|
1899 |
1417 <p> |
1900 <p> |
1418 Public method to handle the closing of a project. |
1901 Public method to handle the closing of a project. |
1419 </p><a NAME="Project.projectClosedHooks" ID="Project.projectClosedHooks"></a> |
1902 </p> |
|
1903 <a NAME="Project.projectClosedHooks" ID="Project.projectClosedHooks"></a> |
1420 <h4>Project.projectClosedHooks</h4> |
1904 <h4>Project.projectClosedHooks</h4> |
1421 <b>projectClosedHooks</b>(<i></i>) |
1905 <b>projectClosedHooks</b>(<i></i>) |
|
1906 |
1422 <p> |
1907 <p> |
1423 Public method to remove our hook methods. |
1908 Public method to remove our hook methods. |
1424 </p><a NAME="Project.projectOpenedHooks" ID="Project.projectOpenedHooks"></a> |
1909 </p> |
|
1910 <a NAME="Project.projectOpenedHooks" ID="Project.projectOpenedHooks"></a> |
1425 <h4>Project.projectOpenedHooks</h4> |
1911 <h4>Project.projectOpenedHooks</h4> |
1426 <b>projectOpenedHooks</b>(<i></i>) |
1912 <b>projectOpenedHooks</b>(<i></i>) |
|
1913 |
1427 <p> |
1914 <p> |
1428 Public method to add our hook methods. |
1915 Public method to add our hook methods. |
1429 </p><a NAME="Project.registerOpenHook" ID="Project.registerOpenHook"></a> |
1916 </p> |
|
1917 <a NAME="Project.registerOpenHook" ID="Project.registerOpenHook"></a> |
1430 <h4>Project.registerOpenHook</h4> |
1918 <h4>Project.registerOpenHook</h4> |
1431 <b>registerOpenHook</b>(<i></i>) |
1919 <b>registerOpenHook</b>(<i></i>) |
|
1920 |
1432 <p> |
1921 <p> |
1433 Public method to register the open hook to open a translations file |
1922 Public method to register the open hook to open a translations file |
1434 in a translations editor. |
1923 in a translations editor. |
1435 </p><a NAME="Project.setMostRecentApplication" ID="Project.setMostRecentApplication"></a> |
1924 </p> |
|
1925 <a NAME="Project.setMostRecentApplication" ID="Project.setMostRecentApplication"></a> |
1436 <h4>Project.setMostRecentApplication</h4> |
1926 <h4>Project.setMostRecentApplication</h4> |
1437 <b>setMostRecentApplication</b>(<i>applStr</i>) |
1927 <b>setMostRecentApplication</b>(<i>applStr</i>) |
|
1928 |
1438 <p> |
1929 <p> |
1439 Public method to set the most recently used applications entry. |
1930 Public method to set the most recently used applications entry. |
1440 </p><dl> |
1931 </p> |
|
1932 <dl> |
|
1933 |
1441 <dt><i>applStr</i></dt> |
1934 <dt><i>applStr</i></dt> |
1442 <dd> |
1935 <dd> |
1443 applications entry (string) |
1936 applications entry (string) |
1444 </dd> |
1937 </dd> |
1445 </dl><a NAME="Project.setMostRecentDatabaseNames" ID="Project.setMostRecentDatabaseNames"></a> |
1938 </dl> |
|
1939 <a NAME="Project.setMostRecentDatabaseNames" ID="Project.setMostRecentDatabaseNames"></a> |
1446 <h4>Project.setMostRecentDatabaseNames</h4> |
1940 <h4>Project.setMostRecentDatabaseNames</h4> |
1447 <b>setMostRecentDatabaseNames</b>(<i>dbName</i>) |
1941 <b>setMostRecentDatabaseNames</b>(<i>dbName</i>) |
|
1942 |
1448 <p> |
1943 <p> |
1449 Public method to set the most recently used database names. |
1944 Public method to set the most recently used database names. |
1450 </p><dl> |
1945 </p> |
|
1946 <dl> |
|
1947 |
1451 <dt><i>dbName</i> (str)</dt> |
1948 <dt><i>dbName</i> (str)</dt> |
1452 <dd> |
1949 <dd> |
1453 database name |
1950 database name |
1454 </dd> |
1951 </dd> |
1455 </dl><a NAME="Project.setMostRecentTestData" ID="Project.setMostRecentTestData"></a> |
1952 </dl> |
|
1953 <a NAME="Project.setMostRecentTestData" ID="Project.setMostRecentTestData"></a> |
1456 <h4>Project.setMostRecentTestData</h4> |
1954 <h4>Project.setMostRecentTestData</h4> |
1457 <b>setMostRecentTestData</b>(<i>key, data</i>) |
1955 <b>setMostRecentTestData</b>(<i>key, data</i>) |
|
1956 |
1458 <p> |
1957 <p> |
1459 Public method to set the most recently used test data entry. |
1958 Public method to set the most recently used test data entry. |
1460 </p><dl> |
1959 </p> |
|
1960 <dl> |
|
1961 |
1461 <dt><i>key</i> (str)</dt> |
1962 <dt><i>key</i> (str)</dt> |
1462 <dd> |
1963 <dd> |
1463 key (name) of the test data to set |
1964 key (name) of the test data to set |
1464 </dd><dt><i>data</i> (str)</dt> |
1965 </dd> |
|
1966 <dt><i>data</i> (str)</dt> |
1465 <dd> |
1967 <dd> |
1466 test data entry to be set |
1968 test data entry to be set |
1467 </dd> |
1969 </dd> |
1468 </dl><a NAME="Project.startProjectOrApplication" ID="Project.startProjectOrApplication"></a> |
1970 </dl> |
|
1971 <a NAME="Project.startProjectOrApplication" ID="Project.startProjectOrApplication"></a> |
1469 <h4>Project.startProjectOrApplication</h4> |
1972 <h4>Project.startProjectOrApplication</h4> |
1470 <b>startProjectOrApplication</b>(<i></i>) |
1973 <b>startProjectOrApplication</b>(<i></i>) |
|
1974 |
1471 <p> |
1975 <p> |
1472 Public slot to start a new Django project or application. |
1976 Public slot to start a new Django project or application. |
1473 </p><a NAME="Project.supportedPythonVariants" ID="Project.supportedPythonVariants"></a> |
1977 </p> |
|
1978 <a NAME="Project.supportedPythonVariants" ID="Project.supportedPythonVariants"></a> |
1474 <h4>Project.supportedPythonVariants</h4> |
1979 <h4>Project.supportedPythonVariants</h4> |
1475 <b>supportedPythonVariants</b>(<i></i>) |
1980 <b>supportedPythonVariants</b>(<i></i>) |
|
1981 |
1476 <p> |
1982 <p> |
1477 Public method to get the supported Python variants. |
1983 Public method to get the supported Python variants. |
1478 </p><dl> |
1984 </p> |
|
1985 <dl> |
1479 <dt>Returns:</dt> |
1986 <dt>Returns:</dt> |
1480 <dd> |
1987 <dd> |
1481 list of supported Python variants (list of strings) |
1988 list of supported Python variants (list of strings) |
1482 </dd> |
1989 </dd> |
1483 </dl><a NAME="Project.updateCatalogs" ID="Project.updateCatalogs"></a> |
1990 </dl> |
|
1991 <a NAME="Project.updateCatalogs" ID="Project.updateCatalogs"></a> |
1484 <h4>Project.updateCatalogs</h4> |
1992 <h4>Project.updateCatalogs</h4> |
1485 <b>updateCatalogs</b>(<i>filenames</i>) |
1993 <b>updateCatalogs</b>(<i>filenames</i>) |
|
1994 |
1486 <p> |
1995 <p> |
1487 Public method to update the message catalogs. |
1996 Public method to update the message catalogs. |
1488 </p><dl> |
1997 </p> |
|
1998 <dl> |
|
1999 |
1489 <dt><i>filenames</i></dt> |
2000 <dt><i>filenames</i></dt> |
1490 <dd> |
2001 <dd> |
1491 list of filenames (not used) |
2002 list of filenames (not used) |
1492 </dd> |
2003 </dd> |
1493 </dl><a NAME="Project.updateCatalogsWithObsolete" ID="Project.updateCatalogsWithObsolete"></a> |
2004 </dl> |
|
2005 <a NAME="Project.updateCatalogsWithObsolete" ID="Project.updateCatalogsWithObsolete"></a> |
1494 <h4>Project.updateCatalogsWithObsolete</h4> |
2006 <h4>Project.updateCatalogsWithObsolete</h4> |
1495 <b>updateCatalogsWithObsolete</b>(<i>filenames</i>) |
2007 <b>updateCatalogsWithObsolete</b>(<i>filenames</i>) |
|
2008 |
1496 <p> |
2009 <p> |
1497 Public method to update the message catalogs keeping obsolete messages. |
2010 Public method to update the message catalogs keeping obsolete messages. |
1498 </p><dl> |
2011 </p> |
|
2012 <dl> |
|
2013 |
1499 <dt><i>filenames</i></dt> |
2014 <dt><i>filenames</i></dt> |
1500 <dd> |
2015 <dd> |
1501 list of filenames (not used) |
2016 list of filenames (not used) |
1502 </dd> |
2017 </dd> |
1503 </dl><a NAME="Project.updateSelectedCatalogs" ID="Project.updateSelectedCatalogs"></a> |
2018 </dl> |
|
2019 <a NAME="Project.updateSelectedCatalogs" ID="Project.updateSelectedCatalogs"></a> |
1504 <h4>Project.updateSelectedCatalogs</h4> |
2020 <h4>Project.updateSelectedCatalogs</h4> |
1505 <b>updateSelectedCatalogs</b>(<i>filenames</i>) |
2021 <b>updateSelectedCatalogs</b>(<i>filenames</i>) |
|
2022 |
1506 <p> |
2023 <p> |
1507 Public method to update the message catalogs. |
2024 Public method to update the message catalogs. |
1508 </p><dl> |
2025 </p> |
|
2026 <dl> |
|
2027 |
1509 <dt><i>filenames</i></dt> |
2028 <dt><i>filenames</i></dt> |
1510 <dd> |
2029 <dd> |
1511 list of file names (list of strings) |
2030 list of file names (list of strings) |
1512 </dd> |
2031 </dd> |
1513 </dl><a NAME="Project.updateSelectedCatalogsWithObsolete" ID="Project.updateSelectedCatalogsWithObsolete"></a> |
2032 </dl> |
|
2033 <a NAME="Project.updateSelectedCatalogsWithObsolete" ID="Project.updateSelectedCatalogsWithObsolete"></a> |
1514 <h4>Project.updateSelectedCatalogsWithObsolete</h4> |
2034 <h4>Project.updateSelectedCatalogsWithObsolete</h4> |
1515 <b>updateSelectedCatalogsWithObsolete</b>(<i>filenames</i>) |
2035 <b>updateSelectedCatalogsWithObsolete</b>(<i>filenames</i>) |
|
2036 |
1516 <p> |
2037 <p> |
1517 Public method to update the message catalogs keeping obsolete messages. |
2038 Public method to update the message catalogs keeping obsolete messages. |
1518 </p><dl> |
2039 </p> |
|
2040 <dl> |
|
2041 |
1519 <dt><i>filenames</i></dt> |
2042 <dt><i>filenames</i></dt> |
1520 <dd> |
2043 <dd> |
1521 list of filenames |
2044 list of filenames |
1522 </dd> |
2045 </dd> |
1523 </dl> |
2046 </dl> |
1524 <div align="right"><a href="#top">Up</a></div> |
2047 <div align="right"><a href="#top">Up</a></div> |
1525 <hr /><hr /> |
2048 <hr /> |
|
2049 <hr /> |
1526 <a NAME="QProcess" ID="QProcess"></a> |
2050 <a NAME="QProcess" ID="QProcess"></a> |
1527 <h2>QProcess</h2> |
2051 <h2>QProcess</h2> |
|
2052 |
1528 <p> |
2053 <p> |
1529 Class transforming the call arguments in case of gnome-terminal. |
2054 Class transforming the call arguments in case of gnome-terminal. |
1530 </p> |
2055 </p> |
1531 <h3>Derived from</h3> |
2056 <h3>Derived from</h3> |
1532 QProcessPyQt |
2057 QProcessPyQt |
1533 <h3>Class Attributes</h3> |
2058 <h3>Class Attributes</h3> |
|
2059 |
1534 <table> |
2060 <table> |
1535 <tr><td>None</td></tr> |
2061 <tr><td>None</td></tr> |
1536 </table> |
2062 </table> |
1537 <h3>Class Methods</h3> |
2063 <h3>Class Methods</h3> |
|
2064 |
1538 <table> |
2065 <table> |
1539 <tr><td>None</td></tr> |
2066 <tr><td>None</td></tr> |
1540 </table> |
2067 </table> |
1541 <h3>Methods</h3> |
2068 <h3>Methods</h3> |
|
2069 |
1542 <table> |
2070 <table> |
|
2071 |
1543 <tr> |
2072 <tr> |
1544 <td><a href="#QProcess.start">start</a></td> |
2073 <td><a href="#QProcess.start">start</a></td> |
1545 <td>Public method to start the given program (cmd) in a new process, if none is already running, passing the command line arguments in args.</td> |
2074 <td>Public method to start the given program (cmd) in a new process, if none is already running, passing the command line arguments in args.</td> |
1546 </tr> |
2075 </tr> |
1547 </table> |
2076 </table> |
1548 <h3>Static Methods</h3> |
2077 <h3>Static Methods</h3> |
|
2078 |
1549 <table> |
2079 <table> |
|
2080 |
1550 <tr> |
2081 <tr> |
1551 <td><a href="#QProcess.startDetached">startDetached</a></td> |
2082 <td><a href="#QProcess.startDetached">startDetached</a></td> |
1552 <td>Public 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> |
2083 <td>Public 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> |
1553 </tr> |
2084 </tr> |
1554 </table> |
2085 </table> |
|
2086 |
1555 <a NAME="QProcess.start" ID="QProcess.start"></a> |
2087 <a NAME="QProcess.start" ID="QProcess.start"></a> |
1556 <h4>QProcess.start</h4> |
2088 <h4>QProcess.start</h4> |
1557 <b>start</b>(<i>cmd, args=None, mode=QProcessPyQt.ReadWrite</i>) |
2089 <b>start</b>(<i>cmd, args=None, mode=QProcessPyQt.ReadWrite</i>) |
|
2090 |
1558 <p> |
2091 <p> |
1559 Public method to start the given program (cmd) in a new process, if |
2092 Public method to start the given program (cmd) in a new process, if |
1560 none is already running, passing the command line arguments in args. |
2093 none is already running, passing the command line arguments in args. |
1561 </p><dl> |
2094 </p> |
|
2095 <dl> |
|
2096 |
1562 <dt><i>cmd</i></dt> |
2097 <dt><i>cmd</i></dt> |
1563 <dd> |
2098 <dd> |
1564 start the given program cmd (string) |
2099 start the given program cmd (string) |
1565 </dd><dt><i>args=</i></dt> |
2100 </dd> |
|
2101 <dt><i>args=</i></dt> |
1566 <dd> |
2102 <dd> |
1567 list of parameters (list of strings) |
2103 list of parameters (list of strings) |
1568 </dd><dt><i>mode=</i></dt> |
2104 </dd> |
|
2105 <dt><i>mode=</i></dt> |
1569 <dd> |
2106 <dd> |
1570 access mode (QIODevice.OpenMode) |
2107 access mode (QIODevice.OpenMode) |
1571 </dd> |
2108 </dd> |
1572 </dl><a NAME="QProcess.startDetached" ID="QProcess.startDetached"></a> |
2109 </dl> |
|
2110 <a NAME="QProcess.startDetached" ID="QProcess.startDetached"></a> |
1573 <h4>QProcess.startDetached (static)</h4> |
2111 <h4>QProcess.startDetached (static)</h4> |
1574 <b>startDetached</b>(<i>args=None, path=''</i>) |
2112 <b>startDetached</b>(<i>args=None, path=''</i>) |
|
2113 |
1575 <p> |
2114 <p> |
1576 Public static method to start the given program (cmd) in a new process, |
2115 Public static method to start the given program (cmd) in a new process, |
1577 if none is already running, passing the command line arguments in args. |
2116 if none is already running, passing the command line arguments in args. |
1578 </p><dl> |
2117 </p> |
|
2118 <dl> |
|
2119 |
1579 <dt><i>cmd</i></dt> |
2120 <dt><i>cmd</i></dt> |
1580 <dd> |
2121 <dd> |
1581 start the given program cmd (string) |
2122 start the given program cmd (string) |
1582 </dd><dt><i>args=</i></dt> |
2123 </dd> |
|
2124 <dt><i>args=</i></dt> |
1583 <dd> |
2125 <dd> |
1584 list of parameters (list of strings) |
2126 list of parameters (list of strings) |
1585 </dd><dt><i>path=</i></dt> |
2127 </dd> |
|
2128 <dt><i>path=</i></dt> |
1586 <dd> |
2129 <dd> |
1587 new working directory (string) |
2130 new working directory (string) |
1588 </dd> |
2131 </dd> |
1589 </dl><dl> |
2132 </dl> |
|
2133 <dl> |
1590 <dt>Returns:</dt> |
2134 <dt>Returns:</dt> |
1591 <dd> |
2135 <dd> |
1592 tuple of successful start and process id (boolean, integer) |
2136 tuple of successful start and process id (boolean, integer) |
1593 </dd> |
2137 </dd> |
1594 </dl> |
2138 </dl> |