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

branch
eric7
changeset 198
dd36f90e77ee
parent 192
a4b66a1acea6
equal deleted inserted replaced
197:2667e16a3379 198:dd36f90e77ee
5 <link rel="stylesheet" href="styles.css"> 5 <link rel="stylesheet" href="styles.css">
6 </head> 6 </head>
7 <body> 7 <body>
8 <a NAME="top" ID="top"></a> 8 <a NAME="top" ID="top"></a>
9 <h1>Plugin_Project_Django.ProjectDjango.Project</h1> 9 <h1>Plugin_Project_Django.ProjectDjango.Project</h1>
10
11 <p> 10 <p>
12 Module implementing the Django project support. 11 Module implementing the Django project support.
13 </p> 12 </p>
13
14 <h3>Global Attributes</h3> 14 <h3>Global Attributes</h3>
15
16 <table> 15 <table>
17 <tr><td>None</td></tr> 16 <tr><td>None</td></tr>
18 </table> 17 </table>
18
19 <h3>Classes</h3> 19 <h3>Classes</h3>
20
21 <table> 20 <table>
22
23 <tr> 21 <tr>
24 <td><a href="#DjangoNoSiteSelectedError">DjangoNoSiteSelectedError</a></td> 22 <td><a href="#DjangoNoSiteSelectedError">DjangoNoSiteSelectedError</a></td>
25 <td>Exception thrown to signal, that there is no current site.</td> 23 <td>Exception thrown to signal, that there is no current site.</td>
26 </tr> 24 </tr>
27 <tr> 25 <tr>
31 <tr> 29 <tr>
32 <td><a href="#QProcess">QProcess</a></td> 30 <td><a href="#QProcess">QProcess</a></td>
33 <td>Class transforming the call arguments in case of gnome-terminal.</td> 31 <td>Class transforming the call arguments in case of gnome-terminal.</td>
34 </tr> 32 </tr>
35 </table> 33 </table>
34
36 <h3>Functions</h3> 35 <h3>Functions</h3>
37
38 <table> 36 <table>
39 <tr><td>None</td></tr> 37 <tr><td>None</td></tr>
40 </table> 38 </table>
39
41 <hr /> 40 <hr />
42 <hr /> 41 <hr />
43 <a NAME="DjangoNoSiteSelectedError" ID="DjangoNoSiteSelectedError"></a> 42 <a NAME="DjangoNoSiteSelectedError" ID="DjangoNoSiteSelectedError"></a>
44 <h2>DjangoNoSiteSelectedError</h2> 43 <h2>DjangoNoSiteSelectedError</h2>
45
46 <p> 44 <p>
47 Exception thrown to signal, that there is no current site. 45 Exception thrown to signal, that there is no current site.
48 </p> 46 </p>
47
49 <h3>Derived from</h3> 48 <h3>Derived from</h3>
50 Exception 49 Exception
51 <h3>Class Attributes</h3> 50 <h3>Class Attributes</h3>
52
53 <table> 51 <table>
54 <tr><td>None</td></tr> 52 <tr><td>None</td></tr>
55 </table> 53 </table>
54
56 <h3>Class Methods</h3> 55 <h3>Class Methods</h3>
57
58 <table> 56 <table>
59 <tr><td>None</td></tr> 57 <tr><td>None</td></tr>
60 </table> 58 </table>
59
61 <h3>Methods</h3> 60 <h3>Methods</h3>
62
63 <table> 61 <table>
64 <tr><td>None</td></tr> 62 <tr><td>None</td></tr>
65 </table> 63 </table>
64
66 <h3>Static Methods</h3> 65 <h3>Static Methods</h3>
67
68 <table> 66 <table>
69 <tr><td>None</td></tr> 67 <tr><td>None</td></tr>
70 </table> 68 </table>
69
71 70
72 <div align="right"><a href="#top">Up</a></div> 71 <div align="right"><a href="#top">Up</a></div>
73 <hr /> 72 <hr />
74 <hr /> 73 <hr />
75 <a NAME="Project" ID="Project"></a> 74 <a NAME="Project" ID="Project"></a>
76 <h2>Project</h2> 75 <h2>Project</h2>
77
78 <p> 76 <p>
79 Class implementing the Django project support. 77 Class implementing the Django project support.
80 </p> 78 </p>
79
81 <h3>Derived from</h3> 80 <h3>Derived from</h3>
82 QObject 81 QObject
83 <h3>Class Attributes</h3> 82 <h3>Class Attributes</h3>
84
85 <table> 83 <table>
86 <tr><td>RecentApplicationsKey</td></tr><tr><td>RecentDatabaseNamesKey</td></tr> 84 <tr><td>RecentApplicationsKey</td></tr>
85 <tr><td>RecentDatabaseNamesKey</td></tr>
87 </table> 86 </table>
87
88 <h3>Class Methods</h3> 88 <h3>Class Methods</h3>
89
90 <table> 89 <table>
91 <tr><td>None</td></tr> 90 <tr><td>None</td></tr>
92 </table> 91 </table>
92
93 <h3>Methods</h3> 93 <h3>Methods</h3>
94
95 <table> 94 <table>
96
97 <tr> 95 <tr>
98 <td><a href="#Project.__init__">Project</a></td> 96 <td><a href="#Project.__init__">Project</a></td>
99 <td>Constructor</td> 97 <td>Constructor</td>
100 </tr> 98 </tr>
101 <tr> 99 <tr>
533 <tr> 531 <tr>
534 <td><a href="#Project.updateSelectedCatalogsWithObsolete">updateSelectedCatalogsWithObsolete</a></td> 532 <td><a href="#Project.updateSelectedCatalogsWithObsolete">updateSelectedCatalogsWithObsolete</a></td>
535 <td>Public method to update the message catalogs keeping obsolete messages.</td> 533 <td>Public method to update the message catalogs keeping obsolete messages.</td>
536 </tr> 534 </tr>
537 </table> 535 </table>
536
538 <h3>Static Methods</h3> 537 <h3>Static Methods</h3>
539
540 <table> 538 <table>
541 <tr><td>None</td></tr> 539 <tr><td>None</td></tr>
542 </table> 540 </table>
543 541
542
544 <a NAME="Project.__init__" ID="Project.__init__"></a> 543 <a NAME="Project.__init__" ID="Project.__init__"></a>
545 <h4>Project (Constructor)</h4> 544 <h4>Project (Constructor)</h4>
546 <b>Project</b>(<i>plugin, iconSuffix, parent=None</i>) 545 <b>Project</b>(<i>plugin, iconSuffix, parent=None</i>)
547
548 <p> 546 <p>
549 Constructor 547 Constructor
550 </p> 548 </p>
549
551 <dl> 550 <dl>
552 551
553 <dt><i>plugin</i> (ProjectDjangoPlugin)</dt> 552 <dt><i>plugin</i> (ProjectDjangoPlugin)</dt>
554 <dd> 553 <dd>
555 reference to the plugin object 554 reference to the plugin object
564 </dd> 563 </dd>
565 </dl> 564 </dl>
566 <a NAME="Project.__adjustWorkingDirectory" ID="Project.__adjustWorkingDirectory"></a> 565 <a NAME="Project.__adjustWorkingDirectory" ID="Project.__adjustWorkingDirectory"></a>
567 <h4>Project.__adjustWorkingDirectory</h4> 566 <h4>Project.__adjustWorkingDirectory</h4>
568 <b>__adjustWorkingDirectory</b>(<i>args, wd</i>) 567 <b>__adjustWorkingDirectory</b>(<i>args, wd</i>)
569
570 <p> 568 <p>
571 Private method to adjust the working directory in the arguments list. 569 Private method to adjust the working directory in the arguments list.
572 </p> 570 </p>
571
573 <dl> 572 <dl>
574 573
575 <dt><i>args</i> (list of str)</dt> 574 <dt><i>args</i> (list of str)</dt>
576 <dd> 575 <dd>
577 list of arguments to be modified 576 list of arguments to be modified
582 </dd> 581 </dd>
583 </dl> 582 </dl>
584 <a NAME="Project.__applyAllMigrations" ID="Project.__applyAllMigrations"></a> 583 <a NAME="Project.__applyAllMigrations" ID="Project.__applyAllMigrations"></a>
585 <h4>Project.__applyAllMigrations</h4> 584 <h4>Project.__applyAllMigrations</h4>
586 <b>__applyAllMigrations</b>(<i></i>) 585 <b>__applyAllMigrations</b>(<i></i>)
587
588 <p> 586 <p>
589 Private slot to apply all migrations. 587 Private slot to apply all migrations.
590 </p> 588 </p>
589
591 <a NAME="Project.__applySelectedMigrations" ID="Project.__applySelectedMigrations"></a> 590 <a NAME="Project.__applySelectedMigrations" ID="Project.__applySelectedMigrations"></a>
592 <h4>Project.__applySelectedMigrations</h4> 591 <h4>Project.__applySelectedMigrations</h4>
593 <b>__applySelectedMigrations</b>(<i></i>) 592 <b>__applySelectedMigrations</b>(<i></i>)
594
595 <p> 593 <p>
596 Private slot to apply selected migrations of a selected app. 594 Private slot to apply selected migrations of a selected app.
597 </p> 595 </p>
596
598 <a NAME="Project.__changePassword" ID="Project.__changePassword"></a> 597 <a NAME="Project.__changePassword" ID="Project.__changePassword"></a>
599 <h4>Project.__changePassword</h4> 598 <h4>Project.__changePassword</h4>
600 <b>__changePassword</b>(<i></i>) 599 <b>__changePassword</b>(<i></i>)
601
602 <p> 600 <p>
603 Private slot to change the password of a user. 601 Private slot to change the password of a user.
604 </p> 602 </p>
603
605 <a NAME="Project.__clearSessions" ID="Project.__clearSessions"></a> 604 <a NAME="Project.__clearSessions" ID="Project.__clearSessions"></a>
606 <h4>Project.__clearSessions</h4> 605 <h4>Project.__clearSessions</h4>
607 <b>__clearSessions</b>(<i></i>) 606 <b>__clearSessions</b>(<i></i>)
608
609 <p> 607 <p>
610 Private slot to clear expired sessions. 608 Private slot to clear expired sessions.
611 </p> 609 </p>
610
612 <a NAME="Project.__createApplication" ID="Project.__createApplication"></a> 611 <a NAME="Project.__createApplication" ID="Project.__createApplication"></a>
613 <h4>Project.__createApplication</h4> 612 <h4>Project.__createApplication</h4>
614 <b>__createApplication</b>(<i>applName, path, isGlobal=True</i>) 613 <b>__createApplication</b>(<i>applName, path, isGlobal=True</i>)
615
616 <p> 614 <p>
617 Private slot to create a new Django application. 615 Private slot to create a new Django application.
618 </p> 616 </p>
617
619 <dl> 618 <dl>
620 619
621 <dt><i>applName</i> (str)</dt> 620 <dt><i>applName</i> (str)</dt>
622 <dd> 621 <dd>
623 name of the new application 622 name of the new application
644 </dd> 643 </dd>
645 </dl> 644 </dl>
646 <a NAME="Project.__createCacheTables" ID="Project.__createCacheTables"></a> 645 <a NAME="Project.__createCacheTables" ID="Project.__createCacheTables"></a>
647 <h4>Project.__createCacheTables</h4> 646 <h4>Project.__createCacheTables</h4>
648 <b>__createCacheTables</b>(<i></i>) 647 <b>__createCacheTables</b>(<i></i>)
649
650 <p> 648 <p>
651 Private slot to create the tables for the SQL caching backend. 649 Private slot to create the tables for the SQL caching backend.
652 </p> 650 </p>
651
653 <a NAME="Project.__createProject" ID="Project.__createProject"></a> 652 <a NAME="Project.__createProject" ID="Project.__createProject"></a>
654 <h4>Project.__createProject</h4> 653 <h4>Project.__createProject</h4>
655 <b>__createProject</b>(<i>projectName, path</i>) 654 <b>__createProject</b>(<i>projectName, path</i>)
656
657 <p> 655 <p>
658 Private slot to create a new Django project. 656 Private slot to create a new Django project.
659 </p> 657 </p>
658
660 <dl> 659 <dl>
661 660
662 <dt><i>projectName</i> (str)</dt> 661 <dt><i>projectName</i> (str)</dt>
663 <dd> 662 <dd>
664 name of the new project 663 name of the new project
681 </dd> 680 </dd>
682 </dl> 681 </dl>
683 <a NAME="Project.__createSuperUser" ID="Project.__createSuperUser"></a> 682 <a NAME="Project.__createSuperUser" ID="Project.__createSuperUser"></a>
684 <h4>Project.__createSuperUser</h4> 683 <h4>Project.__createSuperUser</h4>
685 <b>__createSuperUser</b>(<i></i>) 684 <b>__createSuperUser</b>(<i></i>)
686
687 <p> 685 <p>
688 Private slot to create a super user account. 686 Private slot to create a super user account.
689 </p> 687 </p>
688
690 <a NAME="Project.__databaseFlush" ID="Project.__databaseFlush"></a> 689 <a NAME="Project.__databaseFlush" ID="Project.__databaseFlush"></a>
691 <h4>Project.__databaseFlush</h4> 690 <h4>Project.__databaseFlush</h4>
692 <b>__databaseFlush</b>(<i></i>) 691 <b>__databaseFlush</b>(<i></i>)
693
694 <p> 692 <p>
695 Private slot to return all database tables to the state just after 693 Private slot to return all database tables to the state just after
696 their installation. 694 their installation.
697 </p> 695 </p>
696
698 <a NAME="Project.__databaseInspect" ID="Project.__databaseInspect"></a> 697 <a NAME="Project.__databaseInspect" ID="Project.__databaseInspect"></a>
699 <h4>Project.__databaseInspect</h4> 698 <h4>Project.__databaseInspect</h4>
700 <b>__databaseInspect</b>(<i></i>) 699 <b>__databaseInspect</b>(<i></i>)
701
702 <p> 700 <p>
703 Private slot to introspect the database and output a Django model 701 Private slot to introspect the database and output a Django model
704 module. 702 module.
705 </p> 703 </p>
704
706 <a NAME="Project.__databaseSqlFlushDatabase" ID="Project.__databaseSqlFlushDatabase"></a> 705 <a NAME="Project.__databaseSqlFlushDatabase" ID="Project.__databaseSqlFlushDatabase"></a>
707 <h4>Project.__databaseSqlFlushDatabase</h4> 706 <h4>Project.__databaseSqlFlushDatabase</h4>
708 <b>__databaseSqlFlushDatabase</b>(<i></i>) 707 <b>__databaseSqlFlushDatabase</b>(<i></i>)
709
710 <p> 708 <p>
711 Private slot to print a list of statements to return all database 709 Private slot to print a list of statements to return all database
712 tables to their initial state. 710 tables to their initial state.
713 </p> 711 </p>
712
714 <a NAME="Project.__databaseSqlMigrate" ID="Project.__databaseSqlMigrate"></a> 713 <a NAME="Project.__databaseSqlMigrate" ID="Project.__databaseSqlMigrate"></a>
715 <h4>Project.__databaseSqlMigrate</h4> 714 <h4>Project.__databaseSqlMigrate</h4>
716 <b>__databaseSqlMigrate</b>(<i>backwards=False</i>) 715 <b>__databaseSqlMigrate</b>(<i>backwards=False</i>)
717
718 <p> 716 <p>
719 Private slot to print the SQL statements for a migration of an 717 Private slot to print the SQL statements for a migration of an
720 application. 718 application.
721 </p> 719 </p>
720
722 <dl> 721 <dl>
723 722
724 <dt><i>backwards</i> (bool)</dt> 723 <dt><i>backwards</i> (bool)</dt>
725 <dd> 724 <dd>
726 flag indicating to generate the SQL code to revert 725 flag indicating to generate the SQL code to revert
728 </dd> 727 </dd>
729 </dl> 728 </dl>
730 <a NAME="Project.__databaseSqlResetSequences" ID="Project.__databaseSqlResetSequences"></a> 729 <a NAME="Project.__databaseSqlResetSequences" ID="Project.__databaseSqlResetSequences"></a>
731 <h4>Project.__databaseSqlResetSequences</h4> 730 <h4>Project.__databaseSqlResetSequences</h4>
732 <b>__databaseSqlResetSequences</b>(<i></i>) 731 <b>__databaseSqlResetSequences</b>(<i></i>)
733
734 <p> 732 <p>
735 Private slot to print the SQL statements for resetting sequences for 733 Private slot to print the SQL statements for resetting sequences for
736 one or more applications. 734 one or more applications.
737 </p> 735 </p>
736
738 <a NAME="Project.__diffSettings" ID="Project.__diffSettings"></a> 737 <a NAME="Project.__diffSettings" ID="Project.__diffSettings"></a>
739 <h4>Project.__diffSettings</h4> 738 <h4>Project.__diffSettings</h4>
740 <b>__diffSettings</b>(<i></i>) 739 <b>__diffSettings</b>(<i></i>)
741
742 <p> 740 <p>
743 Private slot to show the changes made to the settings.py file. 741 Private slot to show the changes made to the settings.py file.
744 </p> 742 </p>
743
745 <a NAME="Project.__djangoInfo" ID="Project.__djangoInfo"></a> 744 <a NAME="Project.__djangoInfo" ID="Project.__djangoInfo"></a>
746 <h4>Project.__djangoInfo</h4> 745 <h4>Project.__djangoInfo</h4>
747 <b>__djangoInfo</b>(<i></i>) 746 <b>__djangoInfo</b>(<i></i>)
748
749 <p> 747 <p>
750 Private slot to show some info about Django. 748 Private slot to show some info about Django.
751 </p> 749 </p>
750
752 <a NAME="Project.__dumpData" ID="Project.__dumpData"></a> 751 <a NAME="Project.__dumpData" ID="Project.__dumpData"></a>
753 <h4>Project.__dumpData</h4> 752 <h4>Project.__dumpData</h4>
754 <b>__dumpData</b>(<i></i>) 753 <b>__dumpData</b>(<i></i>)
755
756 <p> 754 <p>
757 Private slot to dump the database data to a fixture. 755 Private slot to dump the database data to a fixture.
758 </p> 756 </p>
757
759 <a NAME="Project.__findSites" ID="Project.__findSites"></a> 758 <a NAME="Project.__findSites" ID="Project.__findSites"></a>
760 <h4>Project.__findSites</h4> 759 <h4>Project.__findSites</h4>
761 <b>__findSites</b>(<i></i>) 760 <b>__findSites</b>(<i></i>)
762
763 <p> 761 <p>
764 Private method to determine the relative path to all manage.py scripts. 762 Private method to determine the relative path to all manage.py scripts.
765 </p> 763 </p>
764
766 <dl> 765 <dl>
767 <dt>Return:</dt> 766 <dt>Return:</dt>
768 <dd> 767 <dd>
769 list of sites 768 list of sites
770 </dd> 769 </dd>
776 </dd> 775 </dd>
777 </dl> 776 </dl>
778 <a NAME="Project.__getApplications" ID="Project.__getApplications"></a> 777 <a NAME="Project.__getApplications" ID="Project.__getApplications"></a>
779 <h4>Project.__getApplications</h4> 778 <h4>Project.__getApplications</h4>
780 <b>__getApplications</b>(<i></i>) 779 <b>__getApplications</b>(<i></i>)
781
782 <p> 780 <p>
783 Private method to ask the user for a list of application names. 781 Private method to ask the user for a list of application names.
784 </p> 782 </p>
783
785 <dl> 784 <dl>
786 <dt>Return:</dt> 785 <dt>Return:</dt>
787 <dd> 786 <dd>
788 list of application names 787 list of application names
789 </dd> 788 </dd>
795 </dd> 794 </dd>
796 </dl> 795 </dl>
797 <a NAME="Project.__getDebugEnvironment" ID="Project.__getDebugEnvironment"></a> 796 <a NAME="Project.__getDebugEnvironment" ID="Project.__getDebugEnvironment"></a>
798 <h4>Project.__getDebugEnvironment</h4> 797 <h4>Project.__getDebugEnvironment</h4>
799 <b>__getDebugEnvironment</b>(<i>language=""</i>) 798 <b>__getDebugEnvironment</b>(<i>language=""</i>)
800
801 <p> 799 <p>
802 Private method to get the path of the debugger environment. 800 Private method to get the path of the debugger environment.
803 </p> 801 </p>
802
804 <dl> 803 <dl>
805 804
806 <dt><i>language</i> (str)</dt> 805 <dt><i>language</i> (str)</dt>
807 <dd> 806 <dd>
808 Python variant to get the debugger environment 807 Python variant to get the debugger environment
822 </dd> 821 </dd>
823 </dl> 822 </dl>
824 <a NAME="Project.__getDjangoAdminCommand" ID="Project.__getDjangoAdminCommand"></a> 823 <a NAME="Project.__getDjangoAdminCommand" ID="Project.__getDjangoAdminCommand"></a>
825 <h4>Project.__getDjangoAdminCommand</h4> 824 <h4>Project.__getDjangoAdminCommand</h4>
826 <b>__getDjangoAdminCommand</b>(<i>language=""</i>) 825 <b>__getDjangoAdminCommand</b>(<i>language=""</i>)
827
828 <p> 826 <p>
829 Private method to build a django-admin.py command. 827 Private method to build a django-admin.py command.
830 </p> 828 </p>
829
831 <dl> 830 <dl>
832 831
833 <dt><i>language</i> (str)</dt> 832 <dt><i>language</i> (str)</dt>
834 <dd> 833 <dd>
835 Python variant to get the django-admin.py 834 Python variant to get the django-admin.py
849 </dd> 848 </dd>
850 </dl> 849 </dl>
851 <a NAME="Project.__getExecutablePaths" ID="Project.__getExecutablePaths"></a> 850 <a NAME="Project.__getExecutablePaths" ID="Project.__getExecutablePaths"></a>
852 <h4>Project.__getExecutablePaths</h4> 851 <h4>Project.__getExecutablePaths</h4>
853 <b>__getExecutablePaths</b>(<i>file</i>) 852 <b>__getExecutablePaths</b>(<i>file</i>)
854
855 <p> 853 <p>
856 Private method to build all full paths of an executable file from 854 Private method to build all full paths of an executable file from
857 the environment. 855 the environment.
858 </p> 856 </p>
857
859 <dl> 858 <dl>
860 859
861 <dt><i>file</i> (str)</dt> 860 <dt><i>file</i> (str)</dt>
862 <dd> 861 <dd>
863 filename of the executable 862 filename of the executable
878 </dd> 877 </dd>
879 </dl> 878 </dl>
880 <a NAME="Project.__getLocale" ID="Project.__getLocale"></a> 879 <a NAME="Project.__getLocale" ID="Project.__getLocale"></a>
881 <h4>Project.__getLocale</h4> 880 <h4>Project.__getLocale</h4>
882 <b>__getLocale</b>(<i>filename</i>) 881 <b>__getLocale</b>(<i>filename</i>)
883
884 <p> 882 <p>
885 Private method to extract the locale out of a file name. 883 Private method to extract the locale out of a file name.
886 </p> 884 </p>
885
887 <dl> 886 <dl>
888 887
889 <dt><i>filename</i> (str)</dt> 888 <dt><i>filename</i> (str)</dt>
890 <dd> 889 <dd>
891 name of the file used for extraction 890 name of the file used for extraction
904 </dd> 903 </dd>
905 </dl> 904 </dl>
906 <a NAME="Project.__getMigrations" ID="Project.__getMigrations"></a> 905 <a NAME="Project.__getMigrations" ID="Project.__getMigrations"></a>
907 <h4>Project.__getMigrations</h4> 906 <h4>Project.__getMigrations</h4>
908 <b>__getMigrations</b>(<i></i>) 907 <b>__getMigrations</b>(<i></i>)
909
910 <p> 908 <p>
911 Private method to get the available migrations. 909 Private method to get the available migrations.
912 </p> 910 </p>
911
913 <dl> 912 <dl>
914 <dt>Return:</dt> 913 <dt>Return:</dt>
915 <dd> 914 <dd>
916 dictionary containing the available migrations 915 dictionary containing the available migrations
917 </dd> 916 </dd>
924 </dd> 923 </dd>
925 </dl> 924 </dl>
926 <a NAME="Project.__getPythonExecutable" ID="Project.__getPythonExecutable"></a> 925 <a NAME="Project.__getPythonExecutable" ID="Project.__getPythonExecutable"></a>
927 <h4>Project.__getPythonExecutable</h4> 926 <h4>Project.__getPythonExecutable</h4>
928 <b>__getPythonExecutable</b>(<i></i>) 927 <b>__getPythonExecutable</b>(<i></i>)
929
930 <p> 928 <p>
931 Private method to build the Python command. 929 Private method to build the Python command.
932 </p> 930 </p>
931
933 <dl> 932 <dl>
934 <dt>Return:</dt> 933 <dt>Return:</dt>
935 <dd> 934 <dd>
936 python command 935 python command
937 </dd> 936 </dd>
943 </dd> 942 </dd>
944 </dl> 943 </dl>
945 <a NAME="Project.__getVirtualEnvironment" ID="Project.__getVirtualEnvironment"></a> 944 <a NAME="Project.__getVirtualEnvironment" ID="Project.__getVirtualEnvironment"></a>
946 <h4>Project.__getVirtualEnvironment</h4> 945 <h4>Project.__getVirtualEnvironment</h4>
947 <b>__getVirtualEnvironment</b>(<i>language=""</i>) 946 <b>__getVirtualEnvironment</b>(<i>language=""</i>)
948
949 <p> 947 <p>
950 Private method to get the path of the virtual environment. 948 Private method to get the path of the virtual environment.
951 </p> 949 </p>
950
952 <dl> 951 <dl>
953 952
954 <dt><i>language</i> (str)</dt> 953 <dt><i>language</i> (str)</dt>
955 <dd> 954 <dd>
956 Python variant to get the virtual environment 955 Python variant to get the virtual environment
970 </dd> 969 </dd>
971 </dl> 970 </dl>
972 <a NAME="Project.__initAuthorizationActions" ID="Project.__initAuthorizationActions"></a> 971 <a NAME="Project.__initAuthorizationActions" ID="Project.__initAuthorizationActions"></a>
973 <h4>Project.__initAuthorizationActions</h4> 972 <h4>Project.__initAuthorizationActions</h4>
974 <b>__initAuthorizationActions</b>(<i></i>) 973 <b>__initAuthorizationActions</b>(<i></i>)
975
976 <p> 974 <p>
977 Private method to define the authorization actions. 975 Private method to define the authorization actions.
978 </p> 976 </p>
977
979 <a NAME="Project.__initAuthorizationMenu" ID="Project.__initAuthorizationMenu"></a> 978 <a NAME="Project.__initAuthorizationMenu" ID="Project.__initAuthorizationMenu"></a>
980 <h4>Project.__initAuthorizationMenu</h4> 979 <h4>Project.__initAuthorizationMenu</h4>
981 <b>__initAuthorizationMenu</b>(<i></i>) 980 <b>__initAuthorizationMenu</b>(<i></i>)
982
983 <p> 981 <p>
984 Private method to initialize the authorization menu. 982 Private method to initialize the authorization menu.
985 </p> 983 </p>
984
986 <dl> 985 <dl>
987 <dt>Return:</dt> 986 <dt>Return:</dt>
988 <dd> 987 <dd>
989 the menu generated 988 the menu generated
990 </dd> 989 </dd>
996 </dd> 995 </dd>
997 </dl> 996 </dl>
998 <a NAME="Project.__initDatabaseActions" ID="Project.__initDatabaseActions"></a> 997 <a NAME="Project.__initDatabaseActions" ID="Project.__initDatabaseActions"></a>
999 <h4>Project.__initDatabaseActions</h4> 998 <h4>Project.__initDatabaseActions</h4>
1000 <b>__initDatabaseActions</b>(<i></i>) 999 <b>__initDatabaseActions</b>(<i></i>)
1001
1002 <p> 1000 <p>
1003 Private method to define the database related actions. 1001 Private method to define the database related actions.
1004 </p> 1002 </p>
1003
1005 <a NAME="Project.__initDatabaseMenu" ID="Project.__initDatabaseMenu"></a> 1004 <a NAME="Project.__initDatabaseMenu" ID="Project.__initDatabaseMenu"></a>
1006 <h4>Project.__initDatabaseMenu</h4> 1005 <h4>Project.__initDatabaseMenu</h4>
1007 <b>__initDatabaseMenu</b>(<i></i>) 1006 <b>__initDatabaseMenu</b>(<i></i>)
1008
1009 <p> 1007 <p>
1010 Private method to initialize the database menu. 1008 Private method to initialize the database menu.
1011 </p> 1009 </p>
1010
1012 <dl> 1011 <dl>
1013 <dt>Return:</dt> 1012 <dt>Return:</dt>
1014 <dd> 1013 <dd>
1015 the menu generated 1014 the menu generated
1016 </dd> 1015 </dd>
1022 </dd> 1021 </dd>
1023 </dl> 1022 </dl>
1024 <a NAME="Project.__initDatabaseSqlActions" ID="Project.__initDatabaseSqlActions"></a> 1023 <a NAME="Project.__initDatabaseSqlActions" ID="Project.__initDatabaseSqlActions"></a>
1025 <h4>Project.__initDatabaseSqlActions</h4> 1024 <h4>Project.__initDatabaseSqlActions</h4>
1026 <b>__initDatabaseSqlActions</b>(<i></i>) 1025 <b>__initDatabaseSqlActions</b>(<i></i>)
1027
1028 <p> 1026 <p>
1029 Private method to define the database SQL related actions. 1027 Private method to define the database SQL related actions.
1030 </p> 1028 </p>
1029
1031 <a NAME="Project.__initDatabaseSqlMenu" ID="Project.__initDatabaseSqlMenu"></a> 1030 <a NAME="Project.__initDatabaseSqlMenu" ID="Project.__initDatabaseSqlMenu"></a>
1032 <h4>Project.__initDatabaseSqlMenu</h4> 1031 <h4>Project.__initDatabaseSqlMenu</h4>
1033 <b>__initDatabaseSqlMenu</b>(<i></i>) 1032 <b>__initDatabaseSqlMenu</b>(<i></i>)
1034
1035 <p> 1033 <p>
1036 Private method to initialize the database SQL submenu. 1034 Private method to initialize the database SQL submenu.
1037 </p> 1035 </p>
1036
1038 <dl> 1037 <dl>
1039 <dt>Return:</dt> 1038 <dt>Return:</dt>
1040 <dd> 1039 <dd>
1041 the menu generated 1040 the menu generated
1042 </dd> 1041 </dd>
1048 </dd> 1047 </dd>
1049 </dl> 1048 </dl>
1050 <a NAME="Project.__initMigrationActions" ID="Project.__initMigrationActions"></a> 1049 <a NAME="Project.__initMigrationActions" ID="Project.__initMigrationActions"></a>
1051 <h4>Project.__initMigrationActions</h4> 1050 <h4>Project.__initMigrationActions</h4>
1052 <b>__initMigrationActions</b>(<i></i>) 1051 <b>__initMigrationActions</b>(<i></i>)
1053
1054 <p> 1052 <p>
1055 Private method to define the migration actions. 1053 Private method to define the migration actions.
1056 </p> 1054 </p>
1055
1057 <a NAME="Project.__initMigrationsMenu" ID="Project.__initMigrationsMenu"></a> 1056 <a NAME="Project.__initMigrationsMenu" ID="Project.__initMigrationsMenu"></a>
1058 <h4>Project.__initMigrationsMenu</h4> 1057 <h4>Project.__initMigrationsMenu</h4>
1059 <b>__initMigrationsMenu</b>(<i></i>) 1058 <b>__initMigrationsMenu</b>(<i></i>)
1060
1061 <p> 1059 <p>
1062 Private method to initialize the Migrations submenu. 1060 Private method to initialize the Migrations submenu.
1063 </p> 1061 </p>
1062
1064 <dl> 1063 <dl>
1065 <dt>Return:</dt> 1064 <dt>Return:</dt>
1066 <dd> 1065 <dd>
1067 the menu generated 1066 the menu generated
1068 </dd> 1067 </dd>
1074 </dd> 1073 </dd>
1075 </dl> 1074 </dl>
1076 <a NAME="Project.__initSessionActions" ID="Project.__initSessionActions"></a> 1075 <a NAME="Project.__initSessionActions" ID="Project.__initSessionActions"></a>
1077 <h4>Project.__initSessionActions</h4> 1076 <h4>Project.__initSessionActions</h4>
1078 <b>__initSessionActions</b>(<i></i>) 1077 <b>__initSessionActions</b>(<i></i>)
1079
1080 <p> 1078 <p>
1081 Private method to define the session actions. 1079 Private method to define the session actions.
1082 </p> 1080 </p>
1081
1083 <a NAME="Project.__initSessionMenu" ID="Project.__initSessionMenu"></a> 1082 <a NAME="Project.__initSessionMenu" ID="Project.__initSessionMenu"></a>
1084 <h4>Project.__initSessionMenu</h4> 1083 <h4>Project.__initSessionMenu</h4>
1085 <b>__initSessionMenu</b>(<i></i>) 1084 <b>__initSessionMenu</b>(<i></i>)
1086
1087 <p> 1085 <p>
1088 Private method to initialize the authorization menu. 1086 Private method to initialize the authorization menu.
1089 </p> 1087 </p>
1088
1090 <dl> 1089 <dl>
1091 <dt>Return:</dt> 1090 <dt>Return:</dt>
1092 <dd> 1091 <dd>
1093 the menu generated 1092 the menu generated
1094 </dd> 1093 </dd>
1100 </dd> 1099 </dd>
1101 </dl> 1100 </dl>
1102 <a NAME="Project.__initTestingActions" ID="Project.__initTestingActions"></a> 1101 <a NAME="Project.__initTestingActions" ID="Project.__initTestingActions"></a>
1103 <h4>Project.__initTestingActions</h4> 1102 <h4>Project.__initTestingActions</h4>
1104 <b>__initTestingActions</b>(<i></i>) 1103 <b>__initTestingActions</b>(<i></i>)
1105
1106 <p> 1104 <p>
1107 Private method to define the testing actions. 1105 Private method to define the testing actions.
1108 </p> 1106 </p>
1107
1109 <a NAME="Project.__initTestingMenu" ID="Project.__initTestingMenu"></a> 1108 <a NAME="Project.__initTestingMenu" ID="Project.__initTestingMenu"></a>
1110 <h4>Project.__initTestingMenu</h4> 1109 <h4>Project.__initTestingMenu</h4>
1111 <b>__initTestingMenu</b>(<i></i>) 1110 <b>__initTestingMenu</b>(<i></i>)
1112
1113 <p> 1111 <p>
1114 Private method to initialize the testing menu. 1112 Private method to initialize the testing menu.
1115 </p> 1113 </p>
1114
1116 <dl> 1115 <dl>
1117 <dt>Return:</dt> 1116 <dt>Return:</dt>
1118 <dd> 1117 <dd>
1119 the menu generated 1118 the menu generated
1120 </dd> 1119 </dd>
1126 </dd> 1125 </dd>
1127 </dl> 1126 </dl>
1128 <a NAME="Project.__initToolsActions" ID="Project.__initToolsActions"></a> 1127 <a NAME="Project.__initToolsActions" ID="Project.__initToolsActions"></a>
1129 <h4>Project.__initToolsActions</h4> 1128 <h4>Project.__initToolsActions</h4>
1130 <b>__initToolsActions</b>(<i></i>) 1129 <b>__initToolsActions</b>(<i></i>)
1131
1132 <p> 1130 <p>
1133 Private method to define the tool actions. 1131 Private method to define the tool actions.
1134 </p> 1132 </p>
1133
1135 <a NAME="Project.__initToolsMenu" ID="Project.__initToolsMenu"></a> 1134 <a NAME="Project.__initToolsMenu" ID="Project.__initToolsMenu"></a>
1136 <h4>Project.__initToolsMenu</h4> 1135 <h4>Project.__initToolsMenu</h4>
1137 <b>__initToolsMenu</b>(<i></i>) 1136 <b>__initToolsMenu</b>(<i></i>)
1138
1139 <p> 1137 <p>
1140 Private method to initialize the tools menu. 1138 Private method to initialize the tools menu.
1141 </p> 1139 </p>
1140
1142 <dl> 1141 <dl>
1143 <dt>Return:</dt> 1142 <dt>Return:</dt>
1144 <dd> 1143 <dd>
1145 the menu generated 1144 the menu generated
1146 </dd> 1145 </dd>
1152 </dd> 1151 </dd>
1153 </dl> 1152 </dl>
1154 <a NAME="Project.__isSpawningConsole" ID="Project.__isSpawningConsole"></a> 1153 <a NAME="Project.__isSpawningConsole" ID="Project.__isSpawningConsole"></a>
1155 <h4>Project.__isSpawningConsole</h4> 1154 <h4>Project.__isSpawningConsole</h4>
1156 <b>__isSpawningConsole</b>(<i>consoleCmd</i>) 1155 <b>__isSpawningConsole</b>(<i>consoleCmd</i>)
1157
1158 <p> 1156 <p>
1159 Private method to check, if the given console is a spawning console. 1157 Private method to check, if the given console is a spawning console.
1160 </p> 1158 </p>
1159
1161 <dl> 1160 <dl>
1162 1161
1163 <dt><i>consoleCmd</i> (str)</dt> 1162 <dt><i>consoleCmd</i> (str)</dt>
1164 <dd> 1163 <dd>
1165 console command 1164 console command
1179 </dd> 1178 </dd>
1180 </dl> 1179 </dl>
1181 <a NAME="Project.__isSuitableForVariant" ID="Project.__isSuitableForVariant"></a> 1180 <a NAME="Project.__isSuitableForVariant" ID="Project.__isSuitableForVariant"></a>
1182 <h4>Project.__isSuitableForVariant</h4> 1181 <h4>Project.__isSuitableForVariant</h4>
1183 <b>__isSuitableForVariant</b>(<i>variant, line0</i>) 1182 <b>__isSuitableForVariant</b>(<i>variant, line0</i>)
1184
1185 <p> 1183 <p>
1186 Private method to test, if a detected command file is suitable for the 1184 Private method to test, if a detected command file is suitable for the
1187 given Python variant. 1185 given Python variant.
1188 </p> 1186 </p>
1187
1189 <dl> 1188 <dl>
1190 1189
1191 <dt><i>variant</i> (str)</dt> 1190 <dt><i>variant</i> (str)</dt>
1192 <dd> 1191 <dd>
1193 Python variant to test for 1192 Python variant to test for
1210 </dd> 1209 </dd>
1211 </dl> 1210 </dl>
1212 <a NAME="Project.__loadData" ID="Project.__loadData"></a> 1211 <a NAME="Project.__loadData" ID="Project.__loadData"></a>
1213 <h4>Project.__loadData</h4> 1212 <h4>Project.__loadData</h4>
1214 <b>__loadData</b>(<i></i>) 1213 <b>__loadData</b>(<i></i>)
1215
1216 <p> 1214 <p>
1217 Private slot to load data from fixture files. 1215 Private slot to load data from fixture files.
1218 </p> 1216 </p>
1217
1219 <a NAME="Project.__loadRecentApplications" ID="Project.__loadRecentApplications"></a> 1218 <a NAME="Project.__loadRecentApplications" ID="Project.__loadRecentApplications"></a>
1220 <h4>Project.__loadRecentApplications</h4> 1219 <h4>Project.__loadRecentApplications</h4>
1221 <b>__loadRecentApplications</b>(<i></i>) 1220 <b>__loadRecentApplications</b>(<i></i>)
1222
1223 <p> 1221 <p>
1224 Private method to load the recently used applications list. 1222 Private method to load the recently used applications list.
1225 </p> 1223 </p>
1224
1226 <a NAME="Project.__loadRecentDatabaseNames" ID="Project.__loadRecentDatabaseNames"></a> 1225 <a NAME="Project.__loadRecentDatabaseNames" ID="Project.__loadRecentDatabaseNames"></a>
1227 <h4>Project.__loadRecentDatabaseNames</h4> 1226 <h4>Project.__loadRecentDatabaseNames</h4>
1228 <b>__loadRecentDatabaseNames</b>(<i></i>) 1227 <b>__loadRecentDatabaseNames</b>(<i></i>)
1229
1230 <p> 1228 <p>
1231 Private method to load the list of recently used database names. 1229 Private method to load the list of recently used database names.
1232 </p> 1230 </p>
1231
1233 <a NAME="Project.__loadRecentTestData" ID="Project.__loadRecentTestData"></a> 1232 <a NAME="Project.__loadRecentTestData" ID="Project.__loadRecentTestData"></a>
1234 <h4>Project.__loadRecentTestData</h4> 1233 <h4>Project.__loadRecentTestData</h4>
1235 <b>__loadRecentTestData</b>(<i></i>) 1234 <b>__loadRecentTestData</b>(<i></i>)
1236
1237 <p> 1235 <p>
1238 Private method to load the recently used test data lists. 1236 Private method to load the recently used test data lists.
1239 </p> 1237 </p>
1238
1240 <a NAME="Project.__makeMigrations" ID="Project.__makeMigrations"></a> 1239 <a NAME="Project.__makeMigrations" ID="Project.__makeMigrations"></a>
1241 <h4>Project.__makeMigrations</h4> 1240 <h4>Project.__makeMigrations</h4>
1242 <b>__makeMigrations</b>(<i></i>) 1241 <b>__makeMigrations</b>(<i></i>)
1243
1244 <p> 1242 <p>
1245 Private slot to generate migrations for the Django project. 1243 Private slot to generate migrations for the Django project.
1246 </p> 1244 </p>
1245
1247 <a NAME="Project.__normalizeList" ID="Project.__normalizeList"></a> 1246 <a NAME="Project.__normalizeList" ID="Project.__normalizeList"></a>
1248 <h4>Project.__normalizeList</h4> 1247 <h4>Project.__normalizeList</h4>
1249 <b>__normalizeList</b>(<i>filenames</i>) 1248 <b>__normalizeList</b>(<i>filenames</i>)
1250
1251 <p> 1249 <p>
1252 Private method to normalize a list of file names. 1250 Private method to normalize a list of file names.
1253 </p> 1251 </p>
1252
1254 <dl> 1253 <dl>
1255 1254
1256 <dt><i>filenames</i> (list of str)</dt> 1255 <dt><i>filenames</i> (list of str)</dt>
1257 <dd> 1256 <dd>
1258 list of file names to normalize 1257 list of file names to normalize
1271 </dd> 1270 </dd>
1272 </dl> 1271 </dl>
1273 <a NAME="Project.__performCheck" ID="Project.__performCheck"></a> 1272 <a NAME="Project.__performCheck" ID="Project.__performCheck"></a>
1274 <h4>Project.__performCheck</h4> 1273 <h4>Project.__performCheck</h4>
1275 <b>__performCheck</b>(<i></i>) 1274 <b>__performCheck</b>(<i></i>)
1276
1277 <p> 1275 <p>
1278 Private slot to inspect the project for common problems. 1276 Private slot to inspect the project for common problems.
1279 </p> 1277 </p>
1278
1280 <a NAME="Project.__projectLanguageAdded" ID="Project.__projectLanguageAdded"></a> 1279 <a NAME="Project.__projectLanguageAdded" ID="Project.__projectLanguageAdded"></a>
1281 <h4>Project.__projectLanguageAdded</h4> 1280 <h4>Project.__projectLanguageAdded</h4>
1282 <b>__projectLanguageAdded</b>(<i>code</i>) 1281 <b>__projectLanguageAdded</b>(<i>code</i>)
1283
1284 <p> 1282 <p>
1285 Private slot handling the addition of a new language. 1283 Private slot handling the addition of a new language.
1286 </p> 1284 </p>
1285
1287 <dl> 1286 <dl>
1288 1287
1289 <dt><i>code</i> (str)</dt> 1288 <dt><i>code</i> (str)</dt>
1290 <dd> 1289 <dd>
1291 language code of the new language 1290 language code of the new language
1292 </dd> 1291 </dd>
1293 </dl> 1292 </dl>
1294 <a NAME="Project.__runBrowser" ID="Project.__runBrowser"></a> 1293 <a NAME="Project.__runBrowser" ID="Project.__runBrowser"></a>
1295 <h4>Project.__runBrowser</h4> 1294 <h4>Project.__runBrowser</h4>
1296 <b>__runBrowser</b>(<i></i>) 1295 <b>__runBrowser</b>(<i></i>)
1297
1298 <p> 1296 <p>
1299 Private slot to start the default web browser with the server URL. 1297 Private slot to start the default web browser with the server URL.
1300 </p> 1298 </p>
1299
1301 <a NAME="Project.__runDatabaseClient" ID="Project.__runDatabaseClient"></a> 1300 <a NAME="Project.__runDatabaseClient" ID="Project.__runDatabaseClient"></a>
1302 <h4>Project.__runDatabaseClient</h4> 1301 <h4>Project.__runDatabaseClient</h4>
1303 <b>__runDatabaseClient</b>(<i></i>) 1302 <b>__runDatabaseClient</b>(<i></i>)
1304
1305 <p> 1303 <p>
1306 Private slot to start a database client for a Django project. 1304 Private slot to start a database client for a Django project.
1307 </p> 1305 </p>
1306
1308 <a NAME="Project.__runPythonShell" ID="Project.__runPythonShell"></a> 1307 <a NAME="Project.__runPythonShell" ID="Project.__runPythonShell"></a>
1309 <h4>Project.__runPythonShell</h4> 1308 <h4>Project.__runPythonShell</h4>
1310 <b>__runPythonShell</b>(<i></i>) 1309 <b>__runPythonShell</b>(<i></i>)
1311
1312 <p> 1310 <p>
1313 Private slot to start a Python console for a Django project. 1311 Private slot to start a Python console for a Django project.
1314 </p> 1312 </p>
1313
1315 <a NAME="Project.__runServer" ID="Project.__runServer"></a> 1314 <a NAME="Project.__runServer" ID="Project.__runServer"></a>
1316 <h4>Project.__runServer</h4> 1315 <h4>Project.__runServer</h4>
1317 <b>__runServer</b>(<i></i>) 1316 <b>__runServer</b>(<i></i>)
1318
1319 <p> 1317 <p>
1320 Private slot to start the Django Web server. 1318 Private slot to start the Django Web server.
1321 </p> 1319 </p>
1320
1322 <a NAME="Project.__runTestServer" ID="Project.__runTestServer"></a> 1321 <a NAME="Project.__runTestServer" ID="Project.__runTestServer"></a>
1323 <h4>Project.__runTestServer</h4> 1322 <h4>Project.__runTestServer</h4>
1324 <b>__runTestServer</b>(<i></i>) 1323 <b>__runTestServer</b>(<i></i>)
1325
1326 <p> 1324 <p>
1327 Private slot to run a development server with data from a set of 1325 Private slot to run a development server with data from a set of
1328 fixtures. 1326 fixtures.
1329 </p> 1327 </p>
1328
1330 <a NAME="Project.__runTestSuite" ID="Project.__runTestSuite"></a> 1329 <a NAME="Project.__runTestSuite" ID="Project.__runTestSuite"></a>
1331 <h4>Project.__runTestSuite</h4> 1330 <h4>Project.__runTestSuite</h4>
1332 <b>__runTestSuite</b>(<i>deprecation=False</i>) 1331 <b>__runTestSuite</b>(<i>deprecation=False</i>)
1333
1334 <p> 1332 <p>
1335 Private slot to run the test suite for applications or the whole site. 1333 Private slot to run the test suite for applications or the whole site.
1336 </p> 1334 </p>
1335
1337 <dl> 1336 <dl>
1338 1337
1339 <dt><i>deprecation</i> (bool)</dt> 1338 <dt><i>deprecation</i> (bool)</dt>
1340 <dd> 1339 <dd>
1341 flag indicating to test for deprecation warnings 1340 flag indicating to test for deprecation warnings
1342 </dd> 1341 </dd>
1343 </dl> 1342 </dl>
1344 <a NAME="Project.__saveRecentApplications" ID="Project.__saveRecentApplications"></a> 1343 <a NAME="Project.__saveRecentApplications" ID="Project.__saveRecentApplications"></a>
1345 <h4>Project.__saveRecentApplications</h4> 1344 <h4>Project.__saveRecentApplications</h4>
1346 <b>__saveRecentApplications</b>(<i></i>) 1345 <b>__saveRecentApplications</b>(<i></i>)
1347
1348 <p> 1346 <p>
1349 Private method to save the list of recently used applications list. 1347 Private method to save the list of recently used applications list.
1350 </p> 1348 </p>
1349
1351 <a NAME="Project.__saveRecentDatabaseNames" ID="Project.__saveRecentDatabaseNames"></a> 1350 <a NAME="Project.__saveRecentDatabaseNames" ID="Project.__saveRecentDatabaseNames"></a>
1352 <h4>Project.__saveRecentDatabaseNames</h4> 1351 <h4>Project.__saveRecentDatabaseNames</h4>
1353 <b>__saveRecentDatabaseNames</b>(<i></i>) 1352 <b>__saveRecentDatabaseNames</b>(<i></i>)
1354
1355 <p> 1353 <p>
1356 Private method to save the list of recently used database names. 1354 Private method to save the list of recently used database names.
1357 </p> 1355 </p>
1356
1358 <a NAME="Project.__saveRecentTestData" ID="Project.__saveRecentTestData"></a> 1357 <a NAME="Project.__saveRecentTestData" ID="Project.__saveRecentTestData"></a>
1359 <h4>Project.__saveRecentTestData</h4> 1358 <h4>Project.__saveRecentTestData</h4>
1360 <b>__saveRecentTestData</b>(<i></i>) 1359 <b>__saveRecentTestData</b>(<i></i>)
1361
1362 <p> 1360 <p>
1363 Private method to save the list of recently used test data. 1361 Private method to save the list of recently used test data.
1364 </p> 1362 </p>
1363
1365 <a NAME="Project.__selectDatabaseName" ID="Project.__selectDatabaseName"></a> 1364 <a NAME="Project.__selectDatabaseName" ID="Project.__selectDatabaseName"></a>
1366 <h4>Project.__selectDatabaseName</h4> 1365 <h4>Project.__selectDatabaseName</h4>
1367 <b>__selectDatabaseName</b>(<i></i>) 1366 <b>__selectDatabaseName</b>(<i></i>)
1368
1369 <p> 1367 <p>
1370 Private method to select the name of the database to work with. 1368 Private method to select the name of the database to work with.
1371 </p> 1369 </p>
1370
1372 <a NAME="Project.__selectSite" ID="Project.__selectSite"></a> 1371 <a NAME="Project.__selectSite" ID="Project.__selectSite"></a>
1373 <h4>Project.__selectSite</h4> 1372 <h4>Project.__selectSite</h4>
1374 <b>__selectSite</b>(<i></i>) 1373 <b>__selectSite</b>(<i></i>)
1375
1376 <p> 1374 <p>
1377 Private method to select a site to work with. 1375 Private method to select a site to work with.
1378 </p> 1376 </p>
1377
1379 <a NAME="Project.__sendTestEmail" ID="Project.__sendTestEmail"></a> 1378 <a NAME="Project.__sendTestEmail" ID="Project.__sendTestEmail"></a>
1380 <h4>Project.__sendTestEmail</h4> 1379 <h4>Project.__sendTestEmail</h4>
1381 <b>__sendTestEmail</b>(<i></i>) 1380 <b>__sendTestEmail</b>(<i></i>)
1382
1383 <p> 1381 <p>
1384 Private slot to send a test email through Django. 1382 Private slot to send a test email through Django.
1385 </p> 1383 </p>
1384
1386 <a NAME="Project.__serverProcFinished" ID="Project.__serverProcFinished"></a> 1385 <a NAME="Project.__serverProcFinished" ID="Project.__serverProcFinished"></a>
1387 <h4>Project.__serverProcFinished</h4> 1386 <h4>Project.__serverProcFinished</h4>
1388 <b>__serverProcFinished</b>(<i></i>) 1387 <b>__serverProcFinished</b>(<i></i>)
1389
1390 <p> 1388 <p>
1391 Private slot connected to the finished signal. 1389 Private slot connected to the finished signal.
1392 </p> 1390 </p>
1391
1393 <a NAME="Project.__setCurrentDatabase" ID="Project.__setCurrentDatabase"></a> 1392 <a NAME="Project.__setCurrentDatabase" ID="Project.__setCurrentDatabase"></a>
1394 <h4>Project.__setCurrentDatabase</h4> 1393 <h4>Project.__setCurrentDatabase</h4>
1395 <b>__setCurrentDatabase</b>(<i>database</i>) 1394 <b>__setCurrentDatabase</b>(<i>database</i>)
1396
1397 <p> 1395 <p>
1398 Private method to set the database name to be used. 1396 Private method to set the database name to be used.
1399 </p> 1397 </p>
1398
1400 <dl> 1399 <dl>
1401 1400
1402 <dt><i>database</i> (str)</dt> 1401 <dt><i>database</i> (str)</dt>
1403 <dd> 1402 <dd>
1404 name of the database 1403 name of the database
1405 </dd> 1404 </dd>
1406 </dl> 1405 </dl>
1407 <a NAME="Project.__setCurrentSite" ID="Project.__setCurrentSite"></a> 1406 <a NAME="Project.__setCurrentSite" ID="Project.__setCurrentSite"></a>
1408 <h4>Project.__setCurrentSite</h4> 1407 <h4>Project.__setCurrentSite</h4>
1409 <b>__setCurrentSite</b>(<i>site</i>) 1408 <b>__setCurrentSite</b>(<i>site</i>)
1410
1411 <p> 1409 <p>
1412 Private slot to set the current site. 1410 Private slot to set the current site.
1413 </p> 1411 </p>
1412
1414 <dl> 1413 <dl>
1415 1414
1416 <dt><i>site</i> (str)</dt> 1415 <dt><i>site</i> (str)</dt>
1417 <dd> 1416 <dd>
1418 name of the site 1417 name of the site
1419 </dd> 1418 </dd>
1420 </dl> 1419 </dl>
1421 <a NAME="Project.__showHelpIndex" ID="Project.__showHelpIndex"></a> 1420 <a NAME="Project.__showHelpIndex" ID="Project.__showHelpIndex"></a>
1422 <h4>Project.__showHelpIndex</h4> 1421 <h4>Project.__showHelpIndex</h4>
1423 <b>__showHelpIndex</b>(<i></i>) 1422 <b>__showHelpIndex</b>(<i></i>)
1424
1425 <p> 1423 <p>
1426 Private slot to show the help index page. 1424 Private slot to show the help index page.
1427 </p> 1425 </p>
1426
1428 <a NAME="Project.__showMigrationsList" ID="Project.__showMigrationsList"></a> 1427 <a NAME="Project.__showMigrationsList" ID="Project.__showMigrationsList"></a>
1429 <h4>Project.__showMigrationsList</h4> 1428 <h4>Project.__showMigrationsList</h4>
1430 <b>__showMigrationsList</b>(<i></i>) 1429 <b>__showMigrationsList</b>(<i></i>)
1431
1432 <p> 1430 <p>
1433 Private slot to show the available migrations and their status. 1431 Private slot to show the available migrations and their status.
1434 </p> 1432 </p>
1433
1435 <a NAME="Project.__showMigrationsPlan" ID="Project.__showMigrationsPlan"></a> 1434 <a NAME="Project.__showMigrationsPlan" ID="Project.__showMigrationsPlan"></a>
1436 <h4>Project.__showMigrationsPlan</h4> 1435 <h4>Project.__showMigrationsPlan</h4>
1437 <b>__showMigrationsPlan</b>(<i></i>) 1436 <b>__showMigrationsPlan</b>(<i></i>)
1438
1439 <p> 1437 <p>
1440 Private slot to show the migrations plan. 1438 Private slot to show the migrations plan.
1441 </p> 1439 </p>
1440
1442 <a NAME="Project.__site" ID="Project.__site"></a> 1441 <a NAME="Project.__site" ID="Project.__site"></a>
1443 <h4>Project.__site</h4> 1442 <h4>Project.__site</h4>
1444 <b>__site</b>(<i></i>) 1443 <b>__site</b>(<i></i>)
1445
1446 <p> 1444 <p>
1447 Private method to get the name of the current site. 1445 Private method to get the name of the current site.
1448 </p> 1446 </p>
1447
1449 <dl> 1448 <dl>
1450 <dt>Return:</dt> 1449 <dt>Return:</dt>
1451 <dd> 1450 <dd>
1452 name of the site 1451 name of the site
1453 </dd> 1452 </dd>
1466 </dd> 1465 </dd>
1467 </dl> 1466 </dl>
1468 <a NAME="Project.__siteFilteredList" ID="Project.__siteFilteredList"></a> 1467 <a NAME="Project.__siteFilteredList" ID="Project.__siteFilteredList"></a>
1469 <h4>Project.__siteFilteredList</h4> 1468 <h4>Project.__siteFilteredList</h4>
1470 <b>__siteFilteredList</b>(<i>filenames</i>) 1469 <b>__siteFilteredList</b>(<i>filenames</i>)
1471
1472 <p> 1470 <p>
1473 Private method to filter a list of file names by site. 1471 Private method to filter a list of file names by site.
1474 </p> 1472 </p>
1473
1475 <dl> 1474 <dl>
1476 1475
1477 <dt><i>filenames</i> (list of str)</dt> 1476 <dt><i>filenames</i> (list of str)</dt>
1478 <dd> 1477 <dd>
1479 list of file names to be filtered 1478 list of file names to be filtered
1492 </dd> 1491 </dd>
1493 </dl> 1492 </dl>
1494 <a NAME="Project.__sitePath" ID="Project.__sitePath"></a> 1493 <a NAME="Project.__sitePath" ID="Project.__sitePath"></a>
1495 <h4>Project.__sitePath</h4> 1494 <h4>Project.__sitePath</h4>
1496 <b>__sitePath</b>(<i></i>) 1495 <b>__sitePath</b>(<i></i>)
1497
1498 <p> 1496 <p>
1499 Private method to calculate the full path of the Django site. 1497 Private method to calculate the full path of the Django site.
1500 </p> 1498 </p>
1499
1501 <dl> 1500 <dl>
1502 <dt>Return:</dt> 1501 <dt>Return:</dt>
1503 <dd> 1502 <dd>
1504 path of the site 1503 path of the site
1505 </dd> 1504 </dd>
1518 </dd> 1517 </dd>
1519 </dl> 1518 </dl>
1520 <a NAME="Project.__sqlCommand" ID="Project.__sqlCommand"></a> 1519 <a NAME="Project.__sqlCommand" ID="Project.__sqlCommand"></a>
1521 <h4>Project.__sqlCommand</h4> 1520 <h4>Project.__sqlCommand</h4>
1522 <b>__sqlCommand</b>(<i>title, command, requestApps=True</i>) 1521 <b>__sqlCommand</b>(<i>title, command, requestApps=True</i>)
1523
1524 <p> 1522 <p>
1525 Private method to perform an SQL creation function. 1523 Private method to perform an SQL creation function.
1526 </p> 1524 </p>
1525
1527 <dl> 1526 <dl>
1528 1527
1529 <dt><i>title</i> (str)</dt> 1528 <dt><i>title</i> (str)</dt>
1530 <dd> 1529 <dd>
1531 dialog title 1530 dialog title
1541 </dd> 1540 </dd>
1542 </dl> 1541 </dl>
1543 <a NAME="Project.__squashMigrations" ID="Project.__squashMigrations"></a> 1542 <a NAME="Project.__squashMigrations" ID="Project.__squashMigrations"></a>
1544 <h4>Project.__squashMigrations</h4> 1543 <h4>Project.__squashMigrations</h4>
1545 <b>__squashMigrations</b>(<i></i>) 1544 <b>__squashMigrations</b>(<i></i>)
1546
1547 <p> 1545 <p>
1548 Private slot to squash migrations. 1546 Private slot to squash migrations.
1549 </p> 1547 </p>
1548
1550 <a NAME="Project.__startGlobalApplication" ID="Project.__startGlobalApplication"></a> 1549 <a NAME="Project.__startGlobalApplication" ID="Project.__startGlobalApplication"></a>
1551 <h4>Project.__startGlobalApplication</h4> 1550 <h4>Project.__startGlobalApplication</h4>
1552 <b>__startGlobalApplication</b>(<i></i>) 1551 <b>__startGlobalApplication</b>(<i></i>)
1553
1554 <p> 1552 <p>
1555 Private slot to start a new global Django application. 1553 Private slot to start a new global Django application.
1556 </p> 1554 </p>
1555
1557 <a NAME="Project.__startLocalApplication" ID="Project.__startLocalApplication"></a> 1556 <a NAME="Project.__startLocalApplication" ID="Project.__startLocalApplication"></a>
1558 <h4>Project.__startLocalApplication</h4> 1557 <h4>Project.__startLocalApplication</h4>
1559 <b>__startLocalApplication</b>(<i></i>) 1558 <b>__startLocalApplication</b>(<i></i>)
1560
1561 <p> 1559 <p>
1562 Private slot to start a new local Django application. 1560 Private slot to start a new local Django application.
1563 </p> 1561 </p>
1562
1564 <a NAME="Project.__startProject" ID="Project.__startProject"></a> 1563 <a NAME="Project.__startProject" ID="Project.__startProject"></a>
1565 <h4>Project.__startProject</h4> 1564 <h4>Project.__startProject</h4>
1566 <b>__startProject</b>(<i></i>) 1565 <b>__startProject</b>(<i></i>)
1567
1568 <p> 1566 <p>
1569 Private slot to start a new Django project. 1567 Private slot to start a new Django project.
1570 </p> 1568 </p>
1569
1571 <a NAME="Project.__testServerProcFinished" ID="Project.__testServerProcFinished"></a> 1570 <a NAME="Project.__testServerProcFinished" ID="Project.__testServerProcFinished"></a>
1572 <h4>Project.__testServerProcFinished</h4> 1571 <h4>Project.__testServerProcFinished</h4>
1573 <b>__testServerProcFinished</b>(<i></i>) 1572 <b>__testServerProcFinished</b>(<i></i>)
1574
1575 <p> 1573 <p>
1576 Private slot connected to the finished signal of the test server. 1574 Private slot connected to the finished signal of the test server.
1577 </p> 1575 </p>
1576
1578 <a NAME="Project.__unapplyMigrations" ID="Project.__unapplyMigrations"></a> 1577 <a NAME="Project.__unapplyMigrations" ID="Project.__unapplyMigrations"></a>
1579 <h4>Project.__unapplyMigrations</h4> 1578 <h4>Project.__unapplyMigrations</h4>
1580 <b>__unapplyMigrations</b>(<i></i>) 1579 <b>__unapplyMigrations</b>(<i></i>)
1581
1582 <p> 1580 <p>
1583 Private slot to revert all migrations of an application. 1581 Private slot to revert all migrations of an application.
1584 </p> 1582 </p>
1583
1585 <a NAME="Project.applyMigrations" ID="Project.applyMigrations"></a> 1584 <a NAME="Project.applyMigrations" ID="Project.applyMigrations"></a>
1586 <h4>Project.applyMigrations</h4> 1585 <h4>Project.applyMigrations</h4>
1587 <b>applyMigrations</b>(<i>app=None, migration=None</i>) 1586 <b>applyMigrations</b>(<i>app=None, migration=None</i>)
1588
1589 <p> 1587 <p>
1590 Public slot to apply migrations. 1588 Public slot to apply migrations.
1591 </p> 1589 </p>
1590
1592 <dl> 1591 <dl>
1593 1592
1594 <dt><i>app</i> (str)</dt> 1593 <dt><i>app</i> (str)</dt>
1595 <dd> 1594 <dd>
1596 name of an application to apply migrations for 1595 name of an application to apply migrations for
1601 </dd> 1600 </dd>
1602 </dl> 1601 </dl>
1603 <a NAME="Project.compileCatalogs" ID="Project.compileCatalogs"></a> 1602 <a NAME="Project.compileCatalogs" ID="Project.compileCatalogs"></a>
1604 <h4>Project.compileCatalogs</h4> 1603 <h4>Project.compileCatalogs</h4>
1605 <b>compileCatalogs</b>(<i>filenames</i>) 1604 <b>compileCatalogs</b>(<i>filenames</i>)
1606
1607 <p> 1605 <p>
1608 Public method to compile the message catalogs. 1606 Public method to compile the message catalogs.
1609 </p> 1607 </p>
1608
1610 <dl> 1609 <dl>
1611 1610
1612 <dt><i>filenames</i> (list of str)</dt> 1611 <dt><i>filenames</i> (list of str)</dt>
1613 <dd> 1612 <dd>
1614 list of filenames (not used) 1613 list of filenames (not used)
1615 </dd> 1614 </dd>
1616 </dl> 1615 </dl>
1617 <a NAME="Project.compileSelectedCatalogs" ID="Project.compileSelectedCatalogs"></a> 1616 <a NAME="Project.compileSelectedCatalogs" ID="Project.compileSelectedCatalogs"></a>
1618 <h4>Project.compileSelectedCatalogs</h4> 1617 <h4>Project.compileSelectedCatalogs</h4>
1619 <b>compileSelectedCatalogs</b>(<i>filenames</i>) 1618 <b>compileSelectedCatalogs</b>(<i>filenames</i>)
1620
1621 <p> 1619 <p>
1622 Public method to update the message catalogs. 1620 Public method to update the message catalogs.
1623 </p> 1621 </p>
1622
1624 <dl> 1623 <dl>
1625 1624
1626 <dt><i>filenames</i> (list of str)</dt> 1625 <dt><i>filenames</i> (list of str)</dt>
1627 <dd> 1626 <dd>
1628 list of filenames 1627 list of filenames
1629 </dd> 1628 </dd>
1630 </dl> 1629 </dl>
1631 <a NAME="Project.currentDatabase" ID="Project.currentDatabase"></a> 1630 <a NAME="Project.currentDatabase" ID="Project.currentDatabase"></a>
1632 <h4>Project.currentDatabase</h4> 1631 <h4>Project.currentDatabase</h4>
1633 <b>currentDatabase</b>(<i></i>) 1632 <b>currentDatabase</b>(<i></i>)
1634
1635 <p> 1633 <p>
1636 Public method to get the database name to be used. 1634 Public method to get the database name to be used.
1637 </p> 1635 </p>
1636
1638 <dl> 1637 <dl>
1639 <dt>Return:</dt> 1638 <dt>Return:</dt>
1640 <dd> 1639 <dd>
1641 database name 1640 database name
1642 </dd> 1641 </dd>
1648 </dd> 1647 </dd>
1649 </dl> 1648 </dl>
1650 <a NAME="Project.getDjangoVersion" ID="Project.getDjangoVersion"></a> 1649 <a NAME="Project.getDjangoVersion" ID="Project.getDjangoVersion"></a>
1651 <h4>Project.getDjangoVersion</h4> 1650 <h4>Project.getDjangoVersion</h4>
1652 <b>getDjangoVersion</b>(<i></i>) 1651 <b>getDjangoVersion</b>(<i></i>)
1653
1654 <p> 1652 <p>
1655 Public method to get the Django version as a tuple. 1653 Public method to get the Django version as a tuple.
1656 </p> 1654 </p>
1655
1657 <dl> 1656 <dl>
1658 <dt>Return:</dt> 1657 <dt>Return:</dt>
1659 <dd> 1658 <dd>
1660 Django version 1659 Django version
1661 </dd> 1660 </dd>
1667 </dd> 1666 </dd>
1668 </dl> 1667 </dl>
1669 <a NAME="Project.getDjangoVersionString" ID="Project.getDjangoVersionString"></a> 1668 <a NAME="Project.getDjangoVersionString" ID="Project.getDjangoVersionString"></a>
1670 <h4>Project.getDjangoVersionString</h4> 1669 <h4>Project.getDjangoVersionString</h4>
1671 <b>getDjangoVersionString</b>(<i></i>) 1670 <b>getDjangoVersionString</b>(<i></i>)
1672
1673 <p> 1671 <p>
1674 Public method to get the Django version as a string. 1672 Public method to get the Django version as a string.
1675 </p> 1673 </p>
1674
1676 <dl> 1675 <dl>
1677 <dt>Return:</dt> 1676 <dt>Return:</dt>
1678 <dd> 1677 <dd>
1679 Django version 1678 Django version
1680 </dd> 1679 </dd>
1686 </dd> 1685 </dd>
1687 </dl> 1686 </dl>
1688 <a NAME="Project.getMenu" ID="Project.getMenu"></a> 1687 <a NAME="Project.getMenu" ID="Project.getMenu"></a>
1689 <h4>Project.getMenu</h4> 1688 <h4>Project.getMenu</h4>
1690 <b>getMenu</b>(<i>name</i>) 1689 <b>getMenu</b>(<i>name</i>)
1691
1692 <p> 1690 <p>
1693 Public method to get a reference to the requested menu. 1691 Public method to get a reference to the requested menu.
1694 </p> 1692 </p>
1693
1695 <dl> 1694 <dl>
1696 1695
1697 <dt><i>name</i> (str)</dt> 1696 <dt><i>name</i> (str)</dt>
1698 <dd> 1697 <dd>
1699 name of the menu 1698 name of the menu
1713 </dd> 1712 </dd>
1714 </dl> 1713 </dl>
1715 <a NAME="Project.getMenuNames" ID="Project.getMenuNames"></a> 1714 <a NAME="Project.getMenuNames" ID="Project.getMenuNames"></a>
1716 <h4>Project.getMenuNames</h4> 1715 <h4>Project.getMenuNames</h4>
1717 <b>getMenuNames</b>(<i></i>) 1716 <b>getMenuNames</b>(<i></i>)
1718
1719 <p> 1717 <p>
1720 Public method to get the names of all menus. 1718 Public method to get the names of all menus.
1721 </p> 1719 </p>
1720
1722 <dl> 1721 <dl>
1723 <dt>Return:</dt> 1722 <dt>Return:</dt>
1724 <dd> 1723 <dd>
1725 menu names 1724 menu names
1726 </dd> 1725 </dd>
1732 </dd> 1731 </dd>
1733 </dl> 1732 </dl>
1734 <a NAME="Project.getProjectPath" ID="Project.getProjectPath"></a> 1733 <a NAME="Project.getProjectPath" ID="Project.getProjectPath"></a>
1735 <h4>Project.getProjectPath</h4> 1734 <h4>Project.getProjectPath</h4>
1736 <b>getProjectPath</b>(<i></i>) 1735 <b>getProjectPath</b>(<i></i>)
1737
1738 <p> 1736 <p>
1739 Public method to get the path of the eric7 project. 1737 Public method to get the path of the eric7 project.
1740 </p> 1738 </p>
1739
1741 <dl> 1740 <dl>
1742 <dt>Return:</dt> 1741 <dt>Return:</dt>
1743 <dd> 1742 <dd>
1744 path of the eric7 project 1743 path of the eric7 project
1745 </dd> 1744 </dd>
1751 </dd> 1750 </dd>
1752 </dl> 1751 </dl>
1753 <a NAME="Project.getRecentApplications" ID="Project.getRecentApplications"></a> 1752 <a NAME="Project.getRecentApplications" ID="Project.getRecentApplications"></a>
1754 <h4>Project.getRecentApplications</h4> 1753 <h4>Project.getRecentApplications</h4>
1755 <b>getRecentApplications</b>(<i></i>) 1754 <b>getRecentApplications</b>(<i></i>)
1756
1757 <p> 1755 <p>
1758 Public method to get the list of recent applications. 1756 Public method to get the list of recent applications.
1759 </p> 1757 </p>
1758
1760 <dl> 1759 <dl>
1761 <dt>Return:</dt> 1760 <dt>Return:</dt>
1762 <dd> 1761 <dd>
1763 list of recent applications entries 1762 list of recent applications entries
1764 </dd> 1763 </dd>
1770 </dd> 1769 </dd>
1771 </dl> 1770 </dl>
1772 <a NAME="Project.getRecentDatabaseNames" ID="Project.getRecentDatabaseNames"></a> 1771 <a NAME="Project.getRecentDatabaseNames" ID="Project.getRecentDatabaseNames"></a>
1773 <h4>Project.getRecentDatabaseNames</h4> 1772 <h4>Project.getRecentDatabaseNames</h4>
1774 <b>getRecentDatabaseNames</b>(<i></i>) 1773 <b>getRecentDatabaseNames</b>(<i></i>)
1775
1776 <p> 1774 <p>
1777 Public method to get the list of recently used database names. 1775 Public method to get the list of recently used database names.
1778 </p> 1776 </p>
1777
1779 <dl> 1778 <dl>
1780 <dt>Return:</dt> 1779 <dt>Return:</dt>
1781 <dd> 1780 <dd>
1782 list of recently used database names 1781 list of recently used database names
1783 </dd> 1782 </dd>
1789 </dd> 1788 </dd>
1790 </dl> 1789 </dl>
1791 <a NAME="Project.getRecentTestData" ID="Project.getRecentTestData"></a> 1790 <a NAME="Project.getRecentTestData" ID="Project.getRecentTestData"></a>
1792 <h4>Project.getRecentTestData</h4> 1791 <h4>Project.getRecentTestData</h4>
1793 <b>getRecentTestData</b>(<i>key</i>) 1792 <b>getRecentTestData</b>(<i>key</i>)
1794
1795 <p> 1793 <p>
1796 Public method to get the list of recent test data. 1794 Public method to get the list of recent test data.
1797 </p> 1795 </p>
1796
1798 <dl> 1797 <dl>
1799 1798
1800 <dt><i>key</i> (str)</dt> 1799 <dt><i>key</i> (str)</dt>
1801 <dd> 1800 <dd>
1802 key (name) of the test data to get 1801 key (name) of the test data to get
1815 </dd> 1814 </dd>
1816 </dl> 1815 </dl>
1817 <a NAME="Project.initActions" ID="Project.initActions"></a> 1816 <a NAME="Project.initActions" ID="Project.initActions"></a>
1818 <h4>Project.initActions</h4> 1817 <h4>Project.initActions</h4>
1819 <b>initActions</b>(<i></i>) 1818 <b>initActions</b>(<i></i>)
1820
1821 <p> 1819 <p>
1822 Public method to define the Django actions. 1820 Public method to define the Django actions.
1823 </p> 1821 </p>
1822
1824 <a NAME="Project.initMenu" ID="Project.initMenu"></a> 1823 <a NAME="Project.initMenu" ID="Project.initMenu"></a>
1825 <h4>Project.initMenu</h4> 1824 <h4>Project.initMenu</h4>
1826 <b>initMenu</b>(<i></i>) 1825 <b>initMenu</b>(<i></i>)
1827
1828 <p> 1826 <p>
1829 Public method to initialize the Django menu. 1827 Public method to initialize the Django menu.
1830 </p> 1828 </p>
1829
1831 <dl> 1830 <dl>
1832 <dt>Return:</dt> 1831 <dt>Return:</dt>
1833 <dd> 1832 <dd>
1834 the menu generated 1833 the menu generated
1835 </dd> 1834 </dd>
1841 </dd> 1840 </dd>
1842 </dl> 1841 </dl>
1843 <a NAME="Project.makeMigrations" ID="Project.makeMigrations"></a> 1842 <a NAME="Project.makeMigrations" ID="Project.makeMigrations"></a>
1844 <h4>Project.makeMigrations</h4> 1843 <h4>Project.makeMigrations</h4>
1845 <b>makeMigrations</b>(<i>apps, migration=None, dryRun=False, empty=False, merge=False</i>) 1844 <b>makeMigrations</b>(<i>apps, migration=None, dryRun=False, empty=False, merge=False</i>)
1846
1847 <p> 1845 <p>
1848 Public method to generate migrations. 1846 Public method to generate migrations.
1849 </p> 1847 </p>
1848
1850 <dl> 1849 <dl>
1851 1850
1852 <dt><i>apps</i> (list of str)</dt> 1851 <dt><i>apps</i> (list of str)</dt>
1853 <dd> 1852 <dd>
1854 list of application names to generate migrations for 1853 list of application names to generate migrations for
1871 </dd> 1870 </dd>
1872 </dl> 1871 </dl>
1873 <a NAME="Project.newForm" ID="Project.newForm"></a> 1872 <a NAME="Project.newForm" ID="Project.newForm"></a>
1874 <h4>Project.newForm</h4> 1873 <h4>Project.newForm</h4>
1875 <b>newForm</b>(<i>path</i>) 1874 <b>newForm</b>(<i>path</i>)
1876
1877 <p> 1875 <p>
1878 Public method to create a new form. 1876 Public method to create a new form.
1879 </p> 1877 </p>
1878
1880 <dl> 1879 <dl>
1881 1880
1882 <dt><i>path</i> (str)</dt> 1881 <dt><i>path</i> (str)</dt>
1883 <dd> 1882 <dd>
1884 full directory path for the new form file 1883 full directory path for the new form file
1885 </dd> 1884 </dd>
1886 </dl> 1885 </dl>
1887 <a NAME="Project.newProjectCreated" ID="Project.newProjectCreated"></a> 1886 <a NAME="Project.newProjectCreated" ID="Project.newProjectCreated"></a>
1888 <h4>Project.newProjectCreated</h4> 1887 <h4>Project.newProjectCreated</h4>
1889 <b>newProjectCreated</b>(<i></i>) 1888 <b>newProjectCreated</b>(<i></i>)
1890
1891 <p> 1889 <p>
1892 Public slot to finish up the newly generated project. 1890 Public slot to finish up the newly generated project.
1893 </p> 1891 </p>
1892
1894 <a NAME="Project.openPOEditor" ID="Project.openPOEditor"></a> 1893 <a NAME="Project.openPOEditor" ID="Project.openPOEditor"></a>
1895 <h4>Project.openPOEditor</h4> 1894 <h4>Project.openPOEditor</h4>
1896 <b>openPOEditor</b>(<i>poFile</i>) 1895 <b>openPOEditor</b>(<i>poFile</i>)
1897
1898 <p> 1896 <p>
1899 Public method to edit the given file in an external .po editor. 1897 Public method to edit the given file in an external .po editor.
1900 </p> 1898 </p>
1899
1901 <dl> 1900 <dl>
1902 1901
1903 <dt><i>poFile</i> (str)</dt> 1902 <dt><i>poFile</i> (str)</dt>
1904 <dd> 1903 <dd>
1905 name of the .po file 1904 name of the .po file
1906 </dd> 1905 </dd>
1907 </dl> 1906 </dl>
1908 <a NAME="Project.projectClosed" ID="Project.projectClosed"></a> 1907 <a NAME="Project.projectClosed" ID="Project.projectClosed"></a>
1909 <h4>Project.projectClosed</h4> 1908 <h4>Project.projectClosed</h4>
1910 <b>projectClosed</b>(<i></i>) 1909 <b>projectClosed</b>(<i></i>)
1911
1912 <p> 1910 <p>
1913 Public method to handle the closing of a project. 1911 Public method to handle the closing of a project.
1914 </p> 1912 </p>
1913
1915 <a NAME="Project.projectClosedHooks" ID="Project.projectClosedHooks"></a> 1914 <a NAME="Project.projectClosedHooks" ID="Project.projectClosedHooks"></a>
1916 <h4>Project.projectClosedHooks</h4> 1915 <h4>Project.projectClosedHooks</h4>
1917 <b>projectClosedHooks</b>(<i></i>) 1916 <b>projectClosedHooks</b>(<i></i>)
1918
1919 <p> 1917 <p>
1920 Public method to remove our hook methods. 1918 Public method to remove our hook methods.
1921 </p> 1919 </p>
1920
1922 <a NAME="Project.projectOpenedHooks" ID="Project.projectOpenedHooks"></a> 1921 <a NAME="Project.projectOpenedHooks" ID="Project.projectOpenedHooks"></a>
1923 <h4>Project.projectOpenedHooks</h4> 1922 <h4>Project.projectOpenedHooks</h4>
1924 <b>projectOpenedHooks</b>(<i></i>) 1923 <b>projectOpenedHooks</b>(<i></i>)
1925
1926 <p> 1924 <p>
1927 Public method to add our hook methods. 1925 Public method to add our hook methods.
1928 </p> 1926 </p>
1927
1929 <a NAME="Project.registerOpenHook" ID="Project.registerOpenHook"></a> 1928 <a NAME="Project.registerOpenHook" ID="Project.registerOpenHook"></a>
1930 <h4>Project.registerOpenHook</h4> 1929 <h4>Project.registerOpenHook</h4>
1931 <b>registerOpenHook</b>(<i></i>) 1930 <b>registerOpenHook</b>(<i></i>)
1932
1933 <p> 1931 <p>
1934 Public method to register the open hook to open a translations file 1932 Public method to register the open hook to open a translations file
1935 in a translations editor. 1933 in a translations editor.
1936 </p> 1934 </p>
1935
1937 <a NAME="Project.setMostRecentApplication" ID="Project.setMostRecentApplication"></a> 1936 <a NAME="Project.setMostRecentApplication" ID="Project.setMostRecentApplication"></a>
1938 <h4>Project.setMostRecentApplication</h4> 1937 <h4>Project.setMostRecentApplication</h4>
1939 <b>setMostRecentApplication</b>(<i>applStr</i>) 1938 <b>setMostRecentApplication</b>(<i>applStr</i>)
1940
1941 <p> 1939 <p>
1942 Public method to set the most recently used applications entry. 1940 Public method to set the most recently used applications entry.
1943 </p> 1941 </p>
1942
1944 <dl> 1943 <dl>
1945 1944
1946 <dt><i>applStr</i> (str)</dt> 1945 <dt><i>applStr</i> (str)</dt>
1947 <dd> 1946 <dd>
1948 applications entry 1947 applications entry
1949 </dd> 1948 </dd>
1950 </dl> 1949 </dl>
1951 <a NAME="Project.setMostRecentDatabaseNames" ID="Project.setMostRecentDatabaseNames"></a> 1950 <a NAME="Project.setMostRecentDatabaseNames" ID="Project.setMostRecentDatabaseNames"></a>
1952 <h4>Project.setMostRecentDatabaseNames</h4> 1951 <h4>Project.setMostRecentDatabaseNames</h4>
1953 <b>setMostRecentDatabaseNames</b>(<i>dbName</i>) 1952 <b>setMostRecentDatabaseNames</b>(<i>dbName</i>)
1954
1955 <p> 1953 <p>
1956 Public method to set the most recently used database names. 1954 Public method to set the most recently used database names.
1957 </p> 1955 </p>
1956
1958 <dl> 1957 <dl>
1959 1958
1960 <dt><i>dbName</i> (str)</dt> 1959 <dt><i>dbName</i> (str)</dt>
1961 <dd> 1960 <dd>
1962 database name 1961 database name
1963 </dd> 1962 </dd>
1964 </dl> 1963 </dl>
1965 <a NAME="Project.setMostRecentTestData" ID="Project.setMostRecentTestData"></a> 1964 <a NAME="Project.setMostRecentTestData" ID="Project.setMostRecentTestData"></a>
1966 <h4>Project.setMostRecentTestData</h4> 1965 <h4>Project.setMostRecentTestData</h4>
1967 <b>setMostRecentTestData</b>(<i>key, data</i>) 1966 <b>setMostRecentTestData</b>(<i>key, data</i>)
1968
1969 <p> 1967 <p>
1970 Public method to set the most recently used test data entry. 1968 Public method to set the most recently used test data entry.
1971 </p> 1969 </p>
1970
1972 <dl> 1971 <dl>
1973 1972
1974 <dt><i>key</i> (str)</dt> 1973 <dt><i>key</i> (str)</dt>
1975 <dd> 1974 <dd>
1976 key (name) of the test data to set 1975 key (name) of the test data to set
1981 </dd> 1980 </dd>
1982 </dl> 1981 </dl>
1983 <a NAME="Project.startProjectOrApplication" ID="Project.startProjectOrApplication"></a> 1982 <a NAME="Project.startProjectOrApplication" ID="Project.startProjectOrApplication"></a>
1984 <h4>Project.startProjectOrApplication</h4> 1983 <h4>Project.startProjectOrApplication</h4>
1985 <b>startProjectOrApplication</b>(<i></i>) 1984 <b>startProjectOrApplication</b>(<i></i>)
1986
1987 <p> 1985 <p>
1988 Public slot to start a new Django project or application. 1986 Public slot to start a new Django project or application.
1989 </p> 1987 </p>
1988
1990 <a NAME="Project.supportedPythonVariants" ID="Project.supportedPythonVariants"></a> 1989 <a NAME="Project.supportedPythonVariants" ID="Project.supportedPythonVariants"></a>
1991 <h4>Project.supportedPythonVariants</h4> 1990 <h4>Project.supportedPythonVariants</h4>
1992 <b>supportedPythonVariants</b>(<i></i>) 1991 <b>supportedPythonVariants</b>(<i></i>)
1993
1994 <p> 1992 <p>
1995 Public method to get the supported Python variants. 1993 Public method to get the supported Python variants.
1996 </p> 1994 </p>
1995
1997 <dl> 1996 <dl>
1998 <dt>Return:</dt> 1997 <dt>Return:</dt>
1999 <dd> 1998 <dd>
2000 list of supported Python variants 1999 list of supported Python variants
2001 </dd> 2000 </dd>
2007 </dd> 2006 </dd>
2008 </dl> 2007 </dl>
2009 <a NAME="Project.updateCatalogs" ID="Project.updateCatalogs"></a> 2008 <a NAME="Project.updateCatalogs" ID="Project.updateCatalogs"></a>
2010 <h4>Project.updateCatalogs</h4> 2009 <h4>Project.updateCatalogs</h4>
2011 <b>updateCatalogs</b>(<i>filenames</i>) 2010 <b>updateCatalogs</b>(<i>filenames</i>)
2012
2013 <p> 2011 <p>
2014 Public method to update the message catalogs. 2012 Public method to update the message catalogs.
2015 </p> 2013 </p>
2014
2016 <dl> 2015 <dl>
2017 2016
2018 <dt><i>filenames</i> (list of str)</dt> 2017 <dt><i>filenames</i> (list of str)</dt>
2019 <dd> 2018 <dd>
2020 list of filenames (not used) 2019 list of filenames (not used)
2021 </dd> 2020 </dd>
2022 </dl> 2021 </dl>
2023 <a NAME="Project.updateCatalogsWithObsolete" ID="Project.updateCatalogsWithObsolete"></a> 2022 <a NAME="Project.updateCatalogsWithObsolete" ID="Project.updateCatalogsWithObsolete"></a>
2024 <h4>Project.updateCatalogsWithObsolete</h4> 2023 <h4>Project.updateCatalogsWithObsolete</h4>
2025 <b>updateCatalogsWithObsolete</b>(<i>filenames</i>) 2024 <b>updateCatalogsWithObsolete</b>(<i>filenames</i>)
2026
2027 <p> 2025 <p>
2028 Public method to update the message catalogs keeping obsolete messages. 2026 Public method to update the message catalogs keeping obsolete messages.
2029 </p> 2027 </p>
2028
2030 <dl> 2029 <dl>
2031 2030
2032 <dt><i>filenames</i> (list of str)</dt> 2031 <dt><i>filenames</i> (list of str)</dt>
2033 <dd> 2032 <dd>
2034 list of filenames (not used) 2033 list of filenames (not used)
2035 </dd> 2034 </dd>
2036 </dl> 2035 </dl>
2037 <a NAME="Project.updateSelectedCatalogs" ID="Project.updateSelectedCatalogs"></a> 2036 <a NAME="Project.updateSelectedCatalogs" ID="Project.updateSelectedCatalogs"></a>
2038 <h4>Project.updateSelectedCatalogs</h4> 2037 <h4>Project.updateSelectedCatalogs</h4>
2039 <b>updateSelectedCatalogs</b>(<i>filenames</i>) 2038 <b>updateSelectedCatalogs</b>(<i>filenames</i>)
2040
2041 <p> 2039 <p>
2042 Public method to update the message catalogs. 2040 Public method to update the message catalogs.
2043 </p> 2041 </p>
2042
2044 <dl> 2043 <dl>
2045 2044
2046 <dt><i>filenames</i> (list of str)</dt> 2045 <dt><i>filenames</i> (list of str)</dt>
2047 <dd> 2046 <dd>
2048 list of file names 2047 list of file names
2049 </dd> 2048 </dd>
2050 </dl> 2049 </dl>
2051 <a NAME="Project.updateSelectedCatalogsWithObsolete" ID="Project.updateSelectedCatalogsWithObsolete"></a> 2050 <a NAME="Project.updateSelectedCatalogsWithObsolete" ID="Project.updateSelectedCatalogsWithObsolete"></a>
2052 <h4>Project.updateSelectedCatalogsWithObsolete</h4> 2051 <h4>Project.updateSelectedCatalogsWithObsolete</h4>
2053 <b>updateSelectedCatalogsWithObsolete</b>(<i>filenames</i>) 2052 <b>updateSelectedCatalogsWithObsolete</b>(<i>filenames</i>)
2054
2055 <p> 2053 <p>
2056 Public method to update the message catalogs keeping obsolete messages. 2054 Public method to update the message catalogs keeping obsolete messages.
2057 </p> 2055 </p>
2056
2058 <dl> 2057 <dl>
2059 2058
2060 <dt><i>filenames</i> (list of str)</dt> 2059 <dt><i>filenames</i> (list of str)</dt>
2061 <dd> 2060 <dd>
2062 list of filenames 2061 list of filenames
2065 <div align="right"><a href="#top">Up</a></div> 2064 <div align="right"><a href="#top">Up</a></div>
2066 <hr /> 2065 <hr />
2067 <hr /> 2066 <hr />
2068 <a NAME="QProcess" ID="QProcess"></a> 2067 <a NAME="QProcess" ID="QProcess"></a>
2069 <h2>QProcess</h2> 2068 <h2>QProcess</h2>
2070
2071 <p> 2069 <p>
2072 Class transforming the call arguments in case of gnome-terminal. 2070 Class transforming the call arguments in case of gnome-terminal.
2073 </p> 2071 </p>
2072
2074 <h3>Derived from</h3> 2073 <h3>Derived from</h3>
2075 QProcessPyQt 2074 QProcessPyQt
2076 <h3>Class Attributes</h3> 2075 <h3>Class Attributes</h3>
2077
2078 <table> 2076 <table>
2079 <tr><td>None</td></tr> 2077 <tr><td>None</td></tr>
2080 </table> 2078 </table>
2079
2081 <h3>Class Methods</h3> 2080 <h3>Class Methods</h3>
2082
2083 <table> 2081 <table>
2084 <tr><td>None</td></tr> 2082 <tr><td>None</td></tr>
2085 </table> 2083 </table>
2084
2086 <h3>Methods</h3> 2085 <h3>Methods</h3>
2087
2088 <table> 2086 <table>
2089
2090 <tr> 2087 <tr>
2091 <td><a href="#QProcess.start">start</a></td> 2088 <td><a href="#QProcess.start">start</a></td>
2092 <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> 2089 <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>
2093 </tr> 2090 </tr>
2094 </table> 2091 </table>
2092
2095 <h3>Static Methods</h3> 2093 <h3>Static Methods</h3>
2096
2097 <table> 2094 <table>
2098
2099 <tr> 2095 <tr>
2100 <td><a href="#QProcess.startDetached">startDetached</a></td> 2096 <td><a href="#QProcess.startDetached">startDetached</a></td>
2101 <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> 2097 <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>
2102 </tr> 2098 </tr>
2103 </table> 2099 </table>
2100
2104 2101
2105 <a NAME="QProcess.start" ID="QProcess.start"></a> 2102 <a NAME="QProcess.start" ID="QProcess.start"></a>
2106 <h4>QProcess.start</h4> 2103 <h4>QProcess.start</h4>
2107 <b>start</b>(<i>cmd, args=None, mode=QIODeviceBase.OpenModeFlag.ReadWrite</i>) 2104 <b>start</b>(<i>cmd, args=None, mode=QIODeviceBase.OpenModeFlag.ReadWrite</i>)
2108
2109 <p> 2105 <p>
2110 Public method to start the given program (cmd) in a new process, if 2106 Public method to start the given program (cmd) in a new process, if
2111 none is already running, passing the command line arguments in args. 2107 none is already running, passing the command line arguments in args.
2112 </p> 2108 </p>
2109
2113 <dl> 2110 <dl>
2114 2111
2115 <dt><i>cmd</i> (str)</dt> 2112 <dt><i>cmd</i> (str)</dt>
2116 <dd> 2113 <dd>
2117 start the given program cmd 2114 start the given program cmd
2126 </dd> 2123 </dd>
2127 </dl> 2124 </dl>
2128 <a NAME="QProcess.startDetached" ID="QProcess.startDetached"></a> 2125 <a NAME="QProcess.startDetached" ID="QProcess.startDetached"></a>
2129 <h4>QProcess.startDetached (static)</h4> 2126 <h4>QProcess.startDetached (static)</h4>
2130 <b>startDetached</b>(<i>args=None, path=""</i>) 2127 <b>startDetached</b>(<i>args=None, path=""</i>)
2131
2132 <p> 2128 <p>
2133 Public static method to start the given program (cmd) in a new process, 2129 Public static method to start the given program (cmd) in a new process,
2134 if none is already running, passing the command line arguments in args. 2130 if none is already running, passing the command line arguments in args.
2135 </p> 2131 </p>
2132
2136 <dl> 2133 <dl>
2137 2134
2138 <dt><i>cmd</i> (str)</dt> 2135 <dt><i>cmd</i> (str)</dt>
2139 <dd> 2136 <dd>
2140 start the given program cmd 2137 start the given program cmd

eric ide

mercurial