File tree 1 file changed +1
-24
lines changed 1 file changed +1
-24
lines changed Original file line number Diff line number Diff line change 16
16
# Application definition
17
17
18
18
INSTALLED_APPS = [
19
- * (["daphne" ] if os .getenv ("ASYNC_SERVER" , False ) else []),
19
+ * (["daphne" ] if os .getenv ("ASYNC_SERVER" , False ) else []), # noqa: FBT003
20
20
"django.contrib.admin" ,
21
21
"django.contrib.auth" ,
22
22
"django.contrib.contenttypes" ,
99
99
}
100
100
101
101
STATICFILES_DIRS = [os .path .join (BASE_DIR , "example" , "static" )]
102
-
103
- LOGGING = {
104
- "version" : 1 ,
105
- "disable_existing_loggers" : False ,
106
- "handlers" : {
107
- "console" : {
108
- "class" : "logging.StreamHandler" ,
109
- },
110
- },
111
- "root" : {
112
- "handlers" : ["console" ],
113
- "level" : "WARNING" ,
114
- },
115
- "loggers" : {
116
- # Log when an asynchronous handler is adapted for middleware.
117
- # See warning here: https://docs.djangoproject.com/en/4.2/topics/async/#async-views
118
- "django.request" : {
119
- "handlers" : ["console" ],
120
- "level" : os .getenv ("DJANGO_REQUEST_LOG_LEVEL" , "INFO" ),
121
- "propagate" : False ,
122
- },
123
- },
124
- }
You can’t perform that action at this time.
0 commit comments