From dd1c1e99b4e07edd3a0c41a52ade322a95932682 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Tue, 12 Sep 2023 01:50:33 +0900 Subject: [PATCH] Remove unused LOCAL_PATH This variable is not actually used thus can be removed from the file. Also the os module is not really used in the file and we don't have to import it now. Change-Id: Ibefbb147404e22684bc5d9ae0870b706929e4009 --- templates/local_settings.py.erb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/templates/local_settings.py.erb b/templates/local_settings.py.erb index 14957929..34fd2bce 100644 --- a/templates/local_settings.py.erb +++ b/templates/local_settings.py.erb @@ -1,5 +1,3 @@ -import os - from django.utils.translation import gettext_lazy as _ from horizon.utils import secret_key @@ -186,8 +184,6 @@ HORIZON_CONFIG["disable_password_reveal"] = True ENFORCE_PASSWORD_CHECK = True <% end -%> -LOCAL_PATH = os.path.dirname(os.path.abspath(__file__)) - # Set custom secret key: # You can either set it to a specific value or you can let horizon generate a # default secret key that is unique on this machine, e.i. regardless of the