PluginProjectDjango.py

changeset 4
81c2943be6b6
parent 2
1e97424fda0c
child 6
80815349eef4
--- a/PluginProjectDjango.py	Sun Mar 24 13:26:59 2013 +0100
+++ b/PluginProjectDjango.py	Sun Mar 24 14:39:36 2013 +0100
@@ -77,8 +77,7 @@
         return {
             "djangoPage": \
                 [QCoreApplication.translate("ProjectDjangoPlugin", "Django"),
-                 os.path.join("ProjectDjango", "icons",
-                              "django.png"),
+                 os.path.join("ProjectDjango", "icons", "django.png"),
                  createDjangoPage, None, None],
         }
     else:
@@ -119,7 +118,8 @@
             "ServerAddress"  : "", 
             
             "RecentNumberApps" : 10, 
-            "UsePlainPython" : False, 
+            "UsePlainPython" : False,
+            "UseIPv6": False,
         }
         if isWindowsPlatform():
             self.__defaults["ConsoleCommandNoClose"] = "cmd.exe /k"
@@ -344,7 +344,7 @@
         if key in ["RecentNumberApps"]:
             return int(Preferences.Prefs.settings.value(self.PreferencesKey + "/" + key,
             self.__defaults[key]))
-        elif key in ["UsePlainPython"]:
+        elif key in ["UsePlainPython", "UseIPv6"]:
             return Preferences.toBool(Preferences.Prefs.settings.value(
                 self.PreferencesKey + "/" + key, self.__defaults[key]))
         else:

eric ide

mercurial