|
27 | 27 | # SECURITY WARNING: don't run with debug turned on in production!
|
28 | 28 | DEBUG = True
|
29 | 29 |
|
30 |
| -ALLOWED_HOSTS = ["localhost", "127.0.0.1", "[::1]", "arena-account", "host.docker.internal", "localhost"] |
| 30 | +ALLOWED_HOSTS = ["localhost", "127.0.0.1", "[::1]", "arena-account", "host.docker.internal", "localhost"] |
31 | 31 |
|
32 | 32 | X_FRAME_OPTIONS = "SAMEORIGIN"
|
33 | 33 | MQTT_TOKEN_PRIVKEY = os.getenv("MQTT_TOKEN_PRIVKEY")
|
|
129 | 129 | "DEFAULT_VERSIONING_CLASS": "rest_framework.versioning.NamespaceVersioning",
|
130 | 130 | }
|
131 | 131 |
|
132 |
| -DEFAULT_AUTO_FIELD = 'django.db.models.AutoField' |
| 132 | +DEFAULT_AUTO_FIELD = "django.db.models.AutoField" |
133 | 133 |
|
134 | 134 | # allauth general config
|
135 | 135 | ACCOUNT_DEFAULT_HTTP_PROTOCOL = "http" # https for docker, http for localhost:8000
|
|
151 | 151 | "secret": os.getenv("GAUTH_CLIENTSECRET"),
|
152 | 152 | "key": "",
|
153 | 153 | },
|
154 |
| - "SCOPE": ["profile", "email", ], |
| 154 | + "SCOPE": [ |
| 155 | + "profile", |
| 156 | + "email", |
| 157 | + ], |
155 | 158 | "AUTH_PARAMS": {
|
156 | 159 | "access_type": "online",
|
157 | 160 | "prompt": "select_account",
|
|
180 | 183 | "level": os.getenv("DJANGO_LOG_LEVEL", "INFO"),
|
181 | 184 | "class": "logging.StreamHandler",
|
182 | 185 | "stream": sys.stdout,
|
183 |
| - "formatter": "verbose" |
| 186 | + "formatter": "verbose", |
184 | 187 | },
|
185 | 188 | },
|
186 | 189 | "loggers": {
|
|
241 | 244 | {
|
242 | 245 | "NAME": "django.contrib.auth.password_validation.UserAttributeSimilarityValidator",
|
243 | 246 | },
|
244 |
| - {"NAME": "django.contrib.auth.password_validation.MinimumLengthValidator", }, |
245 |
| - {"NAME": "django.contrib.auth.password_validation.CommonPasswordValidator", }, |
246 |
| - {"NAME": "django.contrib.auth.password_validation.NumericPasswordValidator", }, |
| 247 | + { |
| 248 | + "NAME": "django.contrib.auth.password_validation.MinimumLengthValidator", |
| 249 | + }, |
| 250 | + { |
| 251 | + "NAME": "django.contrib.auth.password_validation.CommonPasswordValidator", |
| 252 | + }, |
| 253 | + { |
| 254 | + "NAME": "django.contrib.auth.password_validation.NumericPasswordValidator", |
| 255 | + }, |
247 | 256 | ]
|
248 | 257 |
|
249 | 258 |
|
|
278 | 287 | PUBSUB = {
|
279 | 288 | "mqtt_server": {
|
280 | 289 | "host": "localhost",
|
281 |
| - "port": 1883, |
282 |
| - "ws_port": 9001, |
283 |
| - "wss_port": 8083, |
| 290 | + "port": 8883, |
284 | 291 | },
|
285 | 292 | "mqtt_realm": "realm",
|
286 | 293 | "mqtt_username": "arena_account",
|
|
0 commit comments