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:
parent
82a0dc0024
commit
fa15696ffe
@ -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
|
||||||
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user