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