ソースを参照

Relax Python version requirement to 3.4

Jeremy Stretch 7 年 前
コミット
77fbc42f75
1 ファイル変更3 行追加3 行削除
  1. 3 3
      netbox/netbox/settings.py

+ 3 - 3
netbox/netbox/settings.py

@@ -7,10 +7,10 @@ import warnings
 from django.contrib.messages import constants as messages
 from django.contrib.messages import constants as messages
 from django.core.exceptions import ImproperlyConfigured
 from django.core.exceptions import ImproperlyConfigured
 
 
-# Check for Python 3.5+
-if sys.version_info < (3, 5):
+# Check for Python 3.4+
+if sys.version_info < (3, 4):
     raise RuntimeError(
     raise RuntimeError(
-        "NetBox requires Python 3.5 or higher (current: Python {})".format(sys.version.split()[0])
+        "NetBox requires Python 3.4 or higher (current: Python {})".format(sys.version.split()[0])
     )
     )
 
 
 # Check for configuration file
 # Check for configuration file