Refactoring: views now use api for ajax

This commit is contained in:
2023-08-13 16:31:40 +09:00
parent e05319ec3c
commit 2e648ac4fe
8 changed files with 46 additions and 127 deletions

View File

@@ -173,12 +173,6 @@ SPECTACULAR_SETTINGS = {
'VERSION': '0.1.0',
'SERVE_INCLUDE_SCHEMA': True,
'SERVE_PUBLIC': False,
'SERVERS': [
{
'url': 'http://localhost:8000/api/v1/',
'description': 'main api endpoint'
},
],
}
# https://django-rest-framework-simplejwt.readthedocs.io/en/latest/