Fix code review issues: remove unused imports and fix exception handling

Co-authored-by: ferdzo <6640598+ferdzo@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-11 21:43:37 +00:00
parent 8fa4117ce0
commit d1eb102e44
5 changed files with 4 additions and 5 deletions

View File

@@ -26,7 +26,7 @@ os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'iotDashboard.settings')
# Import Django settings and configure password hasher manually
from django.conf import settings
if not settings.configured:
from iotDashboard.settings import *
from iotDashboard.settings import SECRET_KEY
settings.configure(
PASSWORD_HASHERS=[
'django.contrib.auth.hashers.PBKDF2PasswordHasher',