Module implementing the Django project support.
None |
DjangoNoSiteSelectedException | Exception thrown to signal, that there is no current site. |
Project | Class implementing the Django project support. |
None |
Exception thrown to signal, that there is no current site.
None |
None |
Class implementing the Django project support.
RecentApplicationsKey |
Project | Constructor |
__adminIndex | Private slot to print the admin-index template snippet. |
__cleanup | Private slot to clean out old data from the database. |
__createApplication | Private slot to create a new Django application. |
__createCacheTables | Private slot to create the tables for the SQL caching backend. |
__createProject | Private slot to create a new Django project. |
__databaseFlush | Private slot to return all database tables to the state just after their installation. |
__databaseInspect | Private slot to introspect the database and output a Django model module. |
__databaseReset | Private slot to reset the database tables of one or more applications. |
__databaseSqlCreateEverything | Private slot to print the CREATE TABLE, custom SQL and CREATE INDEX SQL statements for one or more applications. |
__databaseSqlCreateIndexes | Private slot to print the CREATE INDEX SQL statements for one or more applications. |
__databaseSqlCreateTables | Private slot to print the CREATE TABLE SQL statements for one or more applications. |
__databaseSqlCustom | Private slot to print the custom table modifying SQL statements for one or more applications. |
__databaseSqlDropTables | Private slot to print the DROP TABLE SQL statements for one or more applications. |
__databaseSqlFlushDatabase | Private slot to print a list of statements to return all database tables to their initial state. |
__databaseSqlResetApplication | Private slot to print the DROP TABLE SQL, then the CREATE TABLE SQL for one or more applications. |
__databaseSqlResetSequences | Private slot to print the SQL statements for resetting sequences for one or more applications. |
__databaseSynchronize | Private slot to synchronize the database. |
__diffSettings | Private slot to show the changes made to the settings.py file. |
__djangoInfo | Private slot to show some info about Django. |
__dumpData | Private slot to dump the database data to a fixture. |
__findSites | Private method to determine the relative path to all manage.py scripts. |
__getApplications | Private method to ask the user for a list of application names. |
__getLocale | Private method to extract the locale out of a file name. |
__getPythonExecutable | Private method to determine the name of the Python executable. |
__initDatabaseActions | Private method to define the database related actions. |
__initDatabaseMenu | Private slot to initialize the database menu. |
__initDatabaseSqlActions | Private method to define the database SQL related actions. |
__initDatabaseSqlMenu | Private slot to initialize the database SQL submenu. |
__initTestingActions | Private method to define the testing actions. |
__initTestingMenu | Private slot to initialize the testing menu. |
__initToolsActions | Private method to define the tool actions. |
__initToolsMenu | Private slot to initialize the tools menu. |
__loadData | Private slot to load data from fixture files. |
__loadRecentApplications | Private method to load the recently used applications list. |
__normalizeList | Private method to normalize a list of file names. |
__projectLanguageAdded | Private slot handling the addition of a new language. |
__runBrowser | Private slot to start the default web browser with the server URL. |
__runDatabaseClient | Private slot to start a database client for a Django project. |
__runPythonShell | Private slot to start a Python console for a Django project. |
__runServer | Private slot to start the Django Web server. |
__runTestServer | Private slot to run a development server with data from a set of fixtures. |
__runTestSuite | Private slot to run the test suite for applications or the whole site. |
__saveRecentApplications | Private method to save the list of recently used applications list. |
__selectSite | Private method to select a site to work with. |
__serverProcFinished | Private slot connected to the finished signal. |
__setCurrentSite | Private slot to set the current site. |
__showHelpIndex | Private slot to show the help index page. |
__site | Private method to get the name of the current site. |
__siteFilteredList | Private method to filter a list of file names by site. |
__sitePath | Private method to calculate the full path of the Django site. |
__sqlCommand | Private method to perform an SQL creation function. |
__startGlobalApplication | Private slot to start a new global Django application. |
__startLocalApplication | Private slot to start a new local Django application. |
__startProject | Private slot to start a new Django project. |
__testServerProcFinished | Private slot connected to the finished signal of the test server. |
__validate | Private slot to validate all installed models. |
compileCatalogs | Public method to compile the message catalogs. |
compileSelectedCatalogs | Public method to update the message catalogs. |
getDjangoVersion | Public method to get the Django version. |
getProjectPath | Public method to get the path of the eric4 project. |
getRecentApplications | Public method to get the list of recent applications. |
initActions | Public method to define the Django actions. |
initMenu | Public slot to initialize the Django menu. |
newForm | Public method to create a new form. |
projectClosed | Public method to handle the closing of a project. |
projectClosedHooks | Public method to remove our hook methods. |
projectOpenedHooks | Public method to add our hook methods. |
setMostRecentApplication | Public method to set the most recently used applications entry. |
startProjectOrApplication | Public slot to start a new Django project or application. |
updateCatalogs | Public method to update the message catalogs. |
updateSelectedCatalogs | Public method to update the message catalogs. |
Constructor
Private slot to print the admin-index template snippet.
Private slot to clean out old data from the database.
Private slot to create a new Django application.
Private slot to create the tables for the SQL caching backend.
Private slot to create a new Django project.
Private slot to return all database tables to the state just after their installation.
Private slot to introspect the database and output a Django model module.
Private slot to reset the database tables of one or more applications.
Private slot to print the CREATE TABLE, custom SQL and CREATE INDEX SQL statements for one or more applications.
Private slot to print the CREATE INDEX SQL statements for one or more applications.
Private slot to print the CREATE TABLE SQL statements for one or more applications.
Private slot to print the custom table modifying SQL statements for one or more applications.
Private slot to print the DROP TABLE SQL statements for one or more applications.
Private slot to print a list of statements to return all database tables to their initial state.
Private slot to print the DROP TABLE SQL, then the CREATE TABLE SQL for one or more applications.
Private slot to print the SQL statements for resetting sequences for one or more applications.
Private slot to synchronize the database.
Private slot to show the changes made to the settings.py file.
Private slot to show some info about Django.
Private slot to dump the database data to a fixture.
Private method to determine the relative path to all manage.py scripts.
Private method to ask the user for a list of application names.
Private method to extract the locale out of a file name.
Private method to determine the name of the Python executable.
Private method to define the database related actions.
Private slot to initialize the database menu.
Private method to define the database SQL related actions.
Private slot to initialize the database SQL submenu.
Private method to define the testing actions.
Private slot to initialize the testing menu.
Private method to define the tool actions.
Private slot to initialize the tools menu.
Private slot to load data from fixture files.
Private method to load the recently used applications list.
Private method to normalize a list of file names.
Private slot handling the addition of a new language.
Private slot to start the default web browser with the server URL.
Private slot to start a database client for a Django project.
Private slot to start a Python console for a Django project.
Private slot to start the Django Web server.
Private slot to run a development server with data from a set of fixtures.
Private slot to run the test suite for applications or the whole site.
Private method to save the list of recently used applications list.
Private method to select a site to work with.
Private slot connected to the finished signal.
Private slot to set the current site.
Private slot to show the help index page.
Private method to get the name of the current site.
Private method to filter a list of file names by site.
Private method to calculate the full path of the Django site.
Private method to perform an SQL creation function.
Private slot to start a new global Django application.
Private slot to start a new local Django application.
Private slot to start a new Django project.
Private slot connected to the finished signal of the test server.
Private slot to validate all installed models.
Public method to compile the message catalogs.
Public method to update the message catalogs.
Public method to get the Django version.
Public method to get the path of the eric4 project.
Public method to get the list of recent applications.
Public method to define the Django actions.
Public slot to initialize the Django menu.
Public method to create a new form.
Public method to handle the closing of a project.
Public method to remove our hook methods.
Public method to add our hook methods.
Public method to set the most recently used applications entry.
Public slot to start a new Django project or application.
Public method to update the message catalogs.
Public method to update the message catalogs.