Skip to content

Commit 0ba605b

Browse files
authored
Update settings.py
1 parent 33316e1 commit 0ba605b

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

server/djangoproj/settings.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
SECRET_KEY = \
2626
'django-insecure-ccow$tz_=9%dxu4(0%^(z%nx32#s@(zt9$ih@)5l54yny)wm-0'
2727

28-
# SECURITY WARNING: don't run with debug turned on in production!
28+
# SECURITY WARNING: don't run with debug on in production!
2929
DEBUG = True
3030

3131
ALLOWED_HOSTS = ['localhost', 'brody8991-8000.theiadockernext-1-labs-prod-theiak8s-4-tor01.proxy.cognitiveclass.ai']
@@ -61,7 +61,7 @@
6161
TEMPLATES = [
6262
{
6363
'BACKEND': 'django.template.backends.django.DjangoTemplates',
64-
'DIRS': [os.path.join(BASE_DIR, 'frontend/static')], # Fix Line 64: E231 missing whitespace after ','
64+
'DIRS': [os.path.join(BASE_DIR, 'frontend/static')], # Corrected spacing
6565
'APP_DIRS': True,
6666
'OPTIONS': {
6767
'context_processors': [
@@ -89,9 +89,9 @@
8989

9090
AUTH_PASSWORD_VALIDATORS = [
9191
{
92-
'NAME': ( # Fix Line 93: E501 line too long (83 > 79 characters)
92+
'NAME': (
9393
'django.contrib.auth.password_validation.UserAttributeSimilarityValidator'
94-
),
94+
), # User similarity validator
9595
},
9696
{
9797
'NAME':
@@ -136,6 +136,5 @@
136136
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
137137

138138
STATICFILES_DIRS = [
139-
os.path.join(BASE_DIR, 'frontend/static') # Fix Line 138: E231 missing whitespace after ','
139+
os.path.join(BASE_DIR, 'frontend/static') # Static files directory
140140
]
141-
# Fix Line 140: W391 blank line at end of file (removed the blank line)

0 commit comments

Comments
 (0)