1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-30 22:21:13 +03:00

Remove some dead comments

This commit is contained in:
Jeff Bradberry 2019-08-27 14:29:54 -04:00
parent 82a0dc0024
commit fa15696ffe
2 changed files with 0 additions and 7 deletions

View File

@ -13,9 +13,6 @@ from awx.api.generics import APIView, GenericAPIView
from awx.api.permissions import WebhookKeyPermission from awx.api.permissions import WebhookKeyPermission
from awx.main.models import JobTemplate, WorkflowJobTemplate 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): class WebhookKeyView(GenericAPIView):
serializer_class = serializers.EmptySerializer serializer_class = serializers.EmptySerializer

View File

@ -28,10 +28,6 @@ if settings.SETTINGS_MODULE == 'awx.settings.development':
try: try:
import debug_toolbar import debug_toolbar
urlpatterns += [ 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)) url(r'^__debug__/', include(debug_toolbar.urls))
] ]
except ImportError: except ImportError: