Skip to content

Commit

Permalink
Removing docs support, users can onboard their choice.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdlaird committed Jun 21, 2024
1 parent 84fa22e commit 830defa
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
6 changes: 0 additions & 6 deletions conf/configs/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,6 @@

HOSTNAME = socket.gethostname()

# API configuration

REST_FRAMEWORK = {
"DEFAULT_SCHEMA_CLASS": "drf_spectacular.openapi.AutoSchema",
}

# Internationalization

LANGUAGE_CODE = "en-us"
Expand Down
2 changes: 0 additions & 2 deletions project_id/app/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
__license__ = "MIT"

from django.urls import re_path
from drf_spectacular.views import SpectacularAPIView, SpectacularRedocView, SpectacularSwaggerView

from {%PROJECT_ID_LOWER%}.app.admin import admin_site
from {%PROJECT_ID_LOWER%}.app.views.apis.infoviews import InfoResourceView
Expand All @@ -11,7 +10,6 @@
urlpatterns = [
# URLs for auto-generated resources
re_path("admin/", admin_site.urls, name="admin"),
re_path("docs/", SpectacularRedocView.as_view(url_name='schema'), name='docs'),

##############################
# Unauthenticated URLs
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ djangorestframework==3.15.1
django-pipeline==3.1.0
django-dotenv==1.4.2
django-redis==5.4.0
drf-spectacular==0.27.2
mysqlclient==2.2.4
pytz==2024.1
python-dateutil==2.9.0.post0
Expand Down

0 comments on commit 830defa

Please sign in to comment.