mirror of
https://github.com/lemeow125/StudE-Backend.git
synced 2025-06-28 16:25:44 +08:00
Major overhaul to subject model and serializers
This commit is contained in:
parent
0eff07a1ae
commit
0fd790505e
26 changed files with 199 additions and 173 deletions
|
@ -40,6 +40,9 @@ SPECTACULAR_SETTINGS = {
|
|||
'DESCRIPTION': 'A Capstone project',
|
||||
'VERSION': '1.0.0',
|
||||
'SERVE_INCLUDE_SCHEMA': False,
|
||||
'SWAGGER_UI_DIST': 'SIDECAR',
|
||||
'SWAGGER_UI_FAVICON_HREF': 'SIDECAR',
|
||||
'REDOC_DIST': 'SIDECAR',
|
||||
# OTHER SETTINGS
|
||||
}
|
||||
|
||||
|
@ -87,6 +90,7 @@ INSTALLED_APPS = [
|
|||
'django.contrib.messages',
|
||||
'django.contrib.staticfiles',
|
||||
'drf_spectacular',
|
||||
'drf_spectacular_sidecar',
|
||||
'django.contrib.gis',
|
||||
'rest_framework',
|
||||
'rest_framework_simplejwt',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue