1013 |
1013 |
1014 def getDjangoVersion(self): |
1014 def getDjangoVersion(self): |
1015 """ |
1015 """ |
1016 Public method to get the Django version. |
1016 Public method to get the Django version. |
1017 |
1017 |
1018 @return Django version as a tuple |
1018 @return Django version (string) |
1019 """ |
1019 """ |
1020 if not self.__djangoVersion: |
1020 if not self.__djangoVersion: |
1021 ioEncoding = Preferences.getSystem("IOEncoding") |
1021 ioEncoding = Preferences.getSystem("IOEncoding") |
1022 cmd = self.__getDjangoAdminCommand() |
1022 cmd = self.__getDjangoAdminCommand() |
1023 |
1023 |