From fa15696ffe6dcd894a4a903e193d43050aeafd68 Mon Sep 17 00:00:00 2001 From: Jeff Bradberry Date: Tue, 27 Aug 2019 14:29:54 -0400 Subject: [PATCH] Remove some dead comments --- awx/api/views/webhooks.py | 3 --- awx/urls.py | 4 ---- 2 files changed, 7 deletions(-) diff --git a/awx/api/views/webhooks.py b/awx/api/views/webhooks.py index 247e13fe54..783611ced5 100644 --- a/awx/api/views/webhooks.py +++ b/awx/api/views/webhooks.py @@ -13,9 +13,6 @@ from awx.api.generics import APIView, GenericAPIView from awx.api.permissions import WebhookKeyPermission from awx.main.models import JobTemplate, WorkflowJobTemplate -# NOTE: The model class attribute for these views must be added -# dynamically when including urls/webhooks.py - class WebhookKeyView(GenericAPIView): serializer_class = serializers.EmptySerializer diff --git a/awx/urls.py b/awx/urls.py index d16ccdf67c..970047151d 100644 --- a/awx/urls.py +++ b/awx/urls.py @@ -28,10 +28,6 @@ if settings.SETTINGS_MODULE == 'awx.settings.development': try: import debug_toolbar urlpatterns += [ - # for Django version 2.0 - # path('__debug__/', include(debug_toolbar.urls)), - - # TODO: this is the Django < 2.0 version, REMOVEME url(r'^__debug__/', include(debug_toolbar.urls)) ] except ImportError: