|
22 | 22 | # See https://docs.djangoproject.com/en/3.2/howto/deployment/checklist/
|
23 | 23 |
|
24 | 24 | # SECURITY WARNING: keep the secret key used in production secret!
|
25 |
| -SECRET_KEY = "django-insecure-ccow$tz_=9%dxu4(0%^(z%nx32#s@(zt9$ih@)5l54yny)wm-0" |
| 25 | +SECRET_KEY = ( |
| 26 | + "django-insecure-ccow$tz_=9%dxu4(0%^(z%nx32#s@(zt9$ih@)5l54yny)wm-0" |
| 27 | +) |
26 | 28 |
|
27 | 29 | # SECURITY WARNING: don't run with debug on in production!
|
28 | 30 | DEBUG = True
|
29 | 31 |
|
30 | 32 | ALLOWED_HOSTS = [
|
31 | 33 | "localhost",
|
32 |
| - # Fix Line 32 (previously 31/32 in past reports): E501 line too long |
33 |
| - "brody8991-8000.theiadockernext-1-labs-prod-theiak8s-4-tor01.proxy.cognitiveclass.ai", |
| 34 | + ( # Fix Line 33: E501 line too long (splitting URL string) |
| 35 | + "brody8991-8000.theiadockernext-1-labs-prod-theiak8s-4-tor01" |
| 36 | + ".proxy.cognitiveclass.ai" |
| 37 | + ), |
34 | 38 | ]
|
35 | 39 | CSRF_TRUSTED_ORIGINS = [
|
36 |
| - # Fix Line 35 (previously 32/35 in past reports): E501 line too long |
37 |
| - "https://brody8991-8000.theiadockernext-1-labs-prod-theiak8s-4-tor01.proxy.cognitiveclass.ai" |
| 40 | + ( # Fix Line 37: E501 line too long (splitting URL string) |
| 41 | + "https://brody8991-8000.theiadockernext-1-labs-prod-theiak8s-4-tor01" |
| 42 | + ".proxy.cognitiveclass.ai" |
| 43 | + ) |
38 | 44 | ]
|
39 | 45 |
|
40 | 46 | REST_FRAMEWORK = {
|
|
98 | 104 | AUTH_PASSWORD_VALIDATORS = [
|
99 | 105 | {
|
100 | 106 | "NAME": (
|
101 |
| - # Fix Line 99 (previously 93/104): E501 line too long (using parentheses) |
102 |
| - "django.contrib.auth.password_validation.UserAttributeSimilarityValidator" |
| 107 | + # Fix Line 101: E501 (comment too long, shortened) |
| 108 | + # UserAttributeSimilarityValidator (splitting string on line 102) |
| 109 | + "django.contrib.auth.password_validation." # Fix Line 102: E501 (splitting string) |
| 110 | + "UserAttributeSimilarityValidator" |
103 | 111 | ), # User similarity validator
|
104 | 112 | },
|
105 | 113 | {
|
|
147 | 155 | DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"
|
148 | 156 |
|
149 | 157 | STATICFILES_DIRS = [
|
150 |
| - os.path.join( # Fix Line 146 (previously 141): E501 line too long |
| 158 | + os.path.join( # This was previously line 146, which was fixed |
151 | 159 | BASE_DIR, "frontend/static"
|
152 | 160 | )
|
153 | 161 | ] # Static files directory
|
0 commit comments