Skip to content

Commit

Permalink
Black format
Browse files Browse the repository at this point in the history
  • Loading branch information
utement committed Oct 19, 2023
1 parent 30ca69a commit a173d5e
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions django_project_base/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,12 @@
SPECTACULAR_DEFAULTS["TITLE"] = "Rest documentation"
SPECTACULAR_DEFAULTS["DESCRIPTION"] = "Api documentation"
SPECTACULAR_DEFAULTS["VERSION"] = "0.0.1"
SPECTACULAR_DEFAULTS["PREPROCESSING_HOOKS"] = [
"django_project_base.router.filter_rest_documentation_endpoints"
]
SPECTACULAR_DEFAULTS["PREPROCESSING_HOOKS"] = ["django_project_base.router.filter_rest_documentation_endpoints"]

SPECTACULAR_DEFAULTS["POSTPROCESSING_HOOKS"] = [
"django_project_base.router.postprocess_rest_documentation"
]
SPECTACULAR_DEFAULTS["POSTPROCESSING_HOOKS"] = ["django_project_base.router.postprocess_rest_documentation"]

urlpatterns = [
path("jsi18n/", JavaScriptCatalog.as_view(), name="javascript-catalog"),
re_path(
"browser-update/js-script", browser_update_script, name="browser-update-script"
),
re_path("browser-update/js-script", browser_update_script, name="browser-update-script"),
re_path(r"", include(django_project_base_router.urls)),
]

0 comments on commit a173d5e

Please sign in to comment.