PluginProjectDjango.py

changeset 110
da5ee5012004
parent 108
e6b5b87decc1
child 113
9b7adb12b409
--- a/PluginProjectDjango.py	Sat Nov 04 15:22:22 2017 +0100
+++ b/PluginProjectDjango.py	Sun Nov 12 14:56:13 2017 +0100
@@ -28,7 +28,7 @@
 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
 autoactivate = True
 deactivateable = True
-version = "5.0.9"
+version = "5.0.10"
 className = "ProjectDjangoPlugin"
 packageName = "ProjectDjango"
 shortDescription = "Project support for Django projects."
@@ -134,6 +134,8 @@
             "UseExternalBrowser": False,
             
             "CheckDeployMode": False,
+            
+            "RecentNumberTestData": 10,
         }
         if isWindowsPlatform():
             self.__defaults["ConsoleCommandNoClose"] = "cmd.exe /k"
@@ -345,7 +347,7 @@
         @param key the key of the value to get
         @return the requested setting
         """
-        if key in ["RecentNumberApps"]:
+        if key in ["RecentNumberApps", "RecentNumberTestData"]:
             return int(Preferences.Prefs.settings.value(
                 self.PreferencesKey + "/" + key, self.__defaults[key]))
         elif key in ["UsePlainPythonPy2", "UsePlainPythonPy3", "UseIPv6",

eric ide

mercurial