diff --git a/netbox/netbox/settings.py b/netbox/netbox/settings.py index f48865f52..0248fa888 100644 --- a/netbox/netbox/settings.py +++ b/netbox/netbox/settings.py @@ -179,7 +179,7 @@ TRANSLATION_ENABLED = getattr(configuration, 'TRANSLATION_ENABLED', True) DISK_BASE_UNIT = getattr(configuration, 'DISK_BASE_UNIT', 1000) if DISK_BASE_UNIT not in [1000, 1024]: raise ImproperlyConfigured(f"DISK_BASE_UNIT must be 1000 or 1024 (found {DISK_BASE_UNIT})") -RAM_BASE_UNIT = getattr(configuration, 'MEMORY_UNIT_DIVISOR', 1000) +RAM_BASE_UNIT = getattr(configuration, 'RAM_BASE_UNIT', 1000) if RAM_BASE_UNIT not in [1000, 1024]: raise ImproperlyConfigured(f"RAM_BASE_UNIT must be 1000 or 1024 (found {RAM_BASE_UNIT})")