name="autocomplete-fac-json"), url(r'^autocomplete/fac$', FacilityAutocomplete.as_view(), name="autocomplete-fac"), url(r'^autocomplete/ixlan/$', IXLanAutocomplete.as_view(), name="autocomplete-ixlan"), url(r'^autocomplete/admin/deletedversions$', DeletedVersionAutocomplete.as_view(), name="autocomplete-admin-deleted-versions"), ] # Admin autocomplete for commandlinetool history urlpatterns += [ url(r'^autocomplete/admin/clt-history/{}/$'.format(tool_id), ToolHistory.as_view(), name="autocomplete-admin-clt-history-{}".format(tool_id)) for tool_id, ToolHistory in clt_history.items() ] # Oauth2 urlpatterns += [ url(r'^oauth2/', include('oauth2_provider.urls', namespace='oauth2_provider')), ] # DEBUG if settings.DEBUG: import debug_toolbar urlpatterns = [ url(r'^__debug__/', include(debug_toolbar.urls)), ] + urlpatterns
url( r"^autocomplete/admin/deletedversions$", DeletedVersionAutocomplete.as_view(), name="autocomplete-admin-deleted-versions", ), ] # Admin autocomplete for commandlinetool history urlpatterns += [ url( fr"^autocomplete/admin/clt-history/{tool_id}/$", ToolHistory.as_view(), name=f"autocomplete-admin-clt-history-{tool_id}", ) for tool_id, ToolHistory in list(clt_history.items()) ] # Oauth2 urlpatterns += [ url(r"^oauth2/", include("oauth2_provider.urls", namespace="oauth2_provider")), ] # DEBUG if settings.DEBUG: import debug_toolbar urlpatterns = [ url(r"^__debug__/", include(debug_toolbar.urls)), ] + urlpatterns