|
27 | 27 | # SECURITY WARNING: don't run with debug on in production!
|
28 | 28 | DEBUG = True
|
29 | 29 |
|
30 |
| -ALLOWED_HOSTS = [ # Fix Line 31 (originally 31 in the current context) |
| 30 | +ALLOWED_HOSTS = [ |
31 | 31 | "localhost",
|
| 32 | + # Fix Line 32 (previously 31/32 in past reports): E501 line too long |
32 | 33 | "brody8991-8000.theiadockernext-1-labs-prod-theiak8s-4-tor01.proxy.cognitiveclass.ai",
|
33 | 34 | ]
|
34 |
| -CSRF_TRUSTED_ORIGINS = [ # Fix Line 32 (originally 32 in the current context) |
| 35 | +CSRF_TRUSTED_ORIGINS = [ |
| 36 | + # Fix Line 35 (previously 32/35 in past reports): E501 line too long |
35 | 37 | "https://brody8991-8000.theiadockernext-1-labs-prod-theiak8s-4-tor01.proxy.cognitiveclass.ai"
|
36 | 38 | ]
|
37 | 39 |
|
|
65 | 67 | TEMPLATES = [
|
66 | 68 | {
|
67 | 69 | "BACKEND": "django.template.backends.django.DjangoTemplates",
|
68 |
| - "DIRS": [ # Fix Line 64 (originally 64 in the current context) |
| 70 | + "DIRS": [ |
69 | 71 | os.path.join(BASE_DIR, "frontend/static")
|
70 | 72 | ],
|
71 | 73 | "APP_DIRS": True,
|
|
93 | 95 | }
|
94 | 96 | }
|
95 | 97 |
|
96 |
| -AUTH_PASSWORD_VALIDATORS = [ # Fix Line 103: E501 (by moving opening bracket) |
| 98 | +AUTH_PASSWORD_VALIDATORS = [ |
97 | 99 | {
|
98 |
| - "NAME": ( # Fix Line 104 (previously 93): E501 (already wrapped) |
| 100 | + "NAME": ( |
| 101 | + # Fix Line 99 (previously 93/104): E501 line too long (using parentheses) |
99 | 102 | "django.contrib.auth.password_validation.UserAttributeSimilarityValidator"
|
100 | 103 | ), # User similarity validator
|
101 | 104 | },
|
102 | 105 | {
|
103 |
| - "NAME": ( # Fix Line 108 (previously 106): E501 (wrapping string) |
| 106 | + "NAME": ( |
104 | 107 | "django.contrib.auth.password_validation.MinimumLengthValidator"
|
105 | 108 | ),
|
106 | 109 | },
|
107 | 110 | {
|
108 |
| - "NAME": ( # Fix Line 112 (previously 109): E501 (wrapping string) |
| 111 | + "NAME": ( |
109 | 112 | "django.contrib.auth.password_validation.CommonPasswordValidator"
|
110 | 113 | ),
|
111 | 114 | },
|
|
143 | 146 |
|
144 | 147 | DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"
|
145 | 148 |
|
146 |
| -STATICFILES_DIRS = [ # Fix Line 141 (originally 141 in current context): E501 (by moving opening bracket & comment) |
147 |
| - os.path.join(BASE_DIR, "frontend/static") |
| 149 | +STATICFILES_DIRS = [ |
| 150 | + os.path.join( # Fix Line 146 (previously 141): E501 line too long |
| 151 | + BASE_DIR, "frontend/static" |
| 152 | + ) |
148 | 153 | ] # Static files directory
|
0 commit comments