Browse Source

remove GIT_PATH #14942

Abhimanyu Saharan 2 năm trước cách đây
mục cha
commit
b9cac97b73
2 tập tin đã thay đổi với 0 bổ sung9 xóa
  1. 0 8
      docs/configuration/system.md
  2. 0 1
      netbox/netbox/settings.py

+ 0 - 8
docs/configuration/system.md

@@ -73,14 +73,6 @@ Determines if localization features are enabled or not. This should only be enab
 
 ---
 
-## GIT_PATH
-
-Default: `git`
-
-The system path to the `git` executable, used by the synchronization backend for remote git repositories.
-
----
-
 ## HTTP_PROXIES
 
 Default: None

+ 0 - 1
netbox/netbox/settings.py

@@ -122,7 +122,6 @@ EVENTS_PIPELINE = getattr(configuration, 'EVENTS_PIPELINE', (
 EXEMPT_VIEW_PERMISSIONS = getattr(configuration, 'EXEMPT_VIEW_PERMISSIONS', [])
 FIELD_CHOICES = getattr(configuration, 'FIELD_CHOICES', {})
 FILE_UPLOAD_MAX_MEMORY_SIZE = getattr(configuration, 'FILE_UPLOAD_MAX_MEMORY_SIZE', 2621440)
-GIT_PATH = getattr(configuration, 'GIT_PATH', 'git')
 HTTP_PROXIES = getattr(configuration, 'HTTP_PROXIES', None)
 INTERNAL_IPS = getattr(configuration, 'INTERNAL_IPS', ('127.0.0.1', '::1'))
 JINJA2_FILTERS = getattr(configuration, 'JINJA2_FILTERS', {})