From b82af76a3fc6deef6e68fa3663e591d63d43a382 Mon Sep 17 00:00:00 2001 From: mahdavi Date: Sun, 28 Jul 2024 19:10:57 +0330 Subject: [PATCH] cleanup settings --- accounts/settings.py | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/accounts/settings.py b/accounts/settings.py index f01c377..6761ba9 100644 --- a/accounts/settings.py +++ b/accounts/settings.py @@ -103,8 +103,8 @@ REST_FRAMEWORK = { } SPECTACULAR_SETTINGS = { - 'TITLE': 'accounts', - 'DESCRIPTION': 'accounts api reference', + 'TITLE': 'Gooyal Accounts', + 'DESCRIPTION': 'Gooyal Accounts API reference', 'VERSION': '1.0.0', 'SERVE_INCLUDE_SCHEMA': False, # OTHER SETTINGS @@ -227,14 +227,6 @@ LOGIN_URL = '/users/login/' CRISPY_ALLOWED_TEMPLATE_PACKS = "bootstrap5" CRISPY_TEMPLATE_PACK = "bootstrap5" -SPECTACULAR_SETTINGS = { - 'TITLE': 'srv', - 'DESCRIPTION': 'service api reference', - 'VERSION': '1.0.0', - 'SERVE_INCLUDE_SCHEMA': False, - # OTHER SETTINGS -} - AUTH_USER_MODEL = 'users.User' CORS_ORIGIN_ALLOW_ALL = True CSRF_TRUSTED_ORIGINS = ['http://*.gooyal.com', 'https://*.gooyal.com']