From 26d379a612d59440f02305840fb3e917b7afc4ae Mon Sep 17 00:00:00 2001 From: Muhammad Arslan Date: Fri, 15 Nov 2024 15:44:58 +0500 Subject: [PATCH] fix: Remove Settings import in settings file (#454) * fix: Remove Settings import in settings file * build: Supress hard-coded-auth-user: ES141 --- notesserver/settings/common.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/notesserver/settings/common.py b/notesserver/settings/common.py index 7afeee7c..2972baf8 100644 --- a/notesserver/settings/common.py +++ b/notesserver/settings/common.py @@ -1,12 +1,11 @@ import os -from django.conf import settings DEBUG = False TEMPLATE_DEBUG = False DISABLE_TOKEN_CHECK = False USE_TZ = True TIME_ZONE = 'UTC' -AUTH_USER_MODEL = settings.AUTH_USER_MODEL +AUTH_USER_MODEL = 'auth.User' # pylint: disable=hard-coded-auth-user # This value needs to be overriden in production. SECRET_KEY = 'CHANGEME'