Features: None;
Fixes: 1) Correct indentation in multiple modules, including mutations, models, and utility methods to maintain consistency; 2) Fix typos in function parameters and update alignment for readability; Extra: Refactored for improved code readability and adherence to PEP 8 style guidelines.
This commit is contained in:
parent
484bd95d94
commit
0153157653
9 changed files with 101 additions and 103 deletions
|
|
@ -16,12 +16,10 @@ urlpatterns = [
|
||||||
path(r"graphql/", csrf_exempt(CustomGraphQLView.as_view(graphiql=True, schema=schema))),
|
path(r"graphql/", csrf_exempt(CustomGraphQLView.as_view(graphiql=True, schema=schema))),
|
||||||
path(
|
path(
|
||||||
r"docs/",
|
r"docs/",
|
||||||
SpectacularAPIView.as_view(urlconf="evibes.api_urls",
|
SpectacularAPIView.as_view(urlconf="evibes.api_urls", custom_settings=SPECTACULAR_PLATFORM_SETTINGS),
|
||||||
custom_settings=SPECTACULAR_PLATFORM_SETTINGS),
|
|
||||||
name="schema-platform",
|
name="schema-platform",
|
||||||
),
|
),
|
||||||
path(r"docs/swagger/", CustomSwaggerView.as_view(url_name="schema-platform"),
|
path(r"docs/swagger/", CustomSwaggerView.as_view(url_name="schema-platform"), name="swagger-ui-platform"),
|
||||||
name="swagger-ui-platform"),
|
|
||||||
path(r"docs/redoc/", CustomRedocView.as_view(url_name="schema-platform"), name="redoc-ui-platform"),
|
path(r"docs/redoc/", CustomRedocView.as_view(url_name="schema-platform"), name="redoc-ui-platform"),
|
||||||
path(r"i18n/", include("django.conf.urls.i18n")),
|
path(r"i18n/", include("django.conf.urls.i18n")),
|
||||||
path(r"favicon.ico", favicon_view),
|
path(r"favicon.ico", favicon_view),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue