PluginProjectDjango.py

changeset 100
6de07bdc8f13
parent 98
1db4d12fda93
child 102
7e2351e4d729
--- a/PluginProjectDjango.py	Thu Apr 20 18:46:30 2017 +0200
+++ b/PluginProjectDjango.py	Sun Apr 23 17:20:35 2017 +0200
@@ -28,7 +28,7 @@
 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
 autoactivate = True
 deactivateable = True
-version = "5.0.4"
+version = "5.0.5"
 className = "ProjectDjangoPlugin"
 packageName = "ProjectDjango"
 shortDescription = "Project support for Django projects."
@@ -79,15 +79,12 @@
     
     @return dictionary containing the relevant data
     """
-    if e5App().getObject("UserInterface").versionIsNewer('5.0.99', '20120101'):
-        return {
-            "djangoPage": [
-                QCoreApplication.translate("ProjectDjangoPlugin", "Django"),
-                os.path.join("ProjectDjango", "icons", "django.png"),
-                createDjangoPage, None, None],
-        }
-    else:
-        return {}
+    return {
+        "djangoPage": [
+            QCoreApplication.translate("ProjectDjangoPlugin", "Django"),
+            os.path.join("ProjectDjango", "icons", "django.png"),
+            createDjangoPage, None, None],
+    }
 
 
 def prepareUninstall():

eric ide

mercurial