File tree Expand file tree Collapse file tree 1 file changed +1
-24
lines changed Expand file tree Collapse file tree 1 file changed +1
-24
lines changed Original file line number Diff line number Diff line change 1616# Application definition
1717
1818INSTALLED_APPS = [
19- * (["daphne" ] if os .getenv ("ASYNC_SERVER" , False ) else []),
19+ * (["daphne" ] if os .getenv ("ASYNC_SERVER" , False ) else []), # noqa: FBT003
2020 "django.contrib.admin" ,
2121 "django.contrib.auth" ,
2222 "django.contrib.contenttypes" ,
9999 }
100100
101101STATICFILES_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