Commit 7934e2a1 authored by Lukas Burgey's avatar Lukas Burgey

Lint url files

parent b2c2badc
from django.conf.urls import url
from . import views
urlpatterns = [
URLPATTERNS = [
url(r'^info/', views.AuthInfo.as_view()),
url(r'^request/', views.Auth.as_view()),
url(r'^callback/', views.AuthCallback.as_view()),
......
from django.conf.urls import url
# from django.conf.urls import include
# from rest_framework import routers
from . import views
urlpatterns = [
url(r'^deployments', views.DeploymentsView.as_view()),
url(r'^config', views.ConfigurationView.as_view()),
URLPATTERNS = [
url(r'^deployments/', views.DeploymentsView.as_view()),
url(r'^config/', views.ConfigurationView.as_view()),
url(r'^ack/(?P<id>\d+)/', views.AckView.as_view()),
]
from django.conf.urls import url
from . import views
urlpatterns = [
URLPATTERNS = [
url(r'^state/', views.StateView.as_view()),
url(r'^sshkey/', views.SSHPublicKeyView.as_view()),
url(r'^operational/', views.OperationalView.as_view()),
url(r'^deployments/', views.DeploymentView.as_view()),
]
from django.conf.urls import include, url
from django.contrib import admin
from .clientapi import urls as clientapi_urls
from .frontend import urls as frontend_urls
from .auth.v1 import urls as auth_urls
from .clientapi.urls import URLPATTERNS as clientapi_urls
from .frontend.urls import URLPATTERNS as frontend_urls
from .auth.v1.urls import URLPATTERNS as auth_urls
urlpatterns = [
url(r'^clientapi/', include(clientapi_urls.urlpatterns)),
url(r'^api/', include(frontend_urls.urlpatterns)),
url(r'^auth/v1/', include(auth_urls.urlpatterns)),
URLPATTERNS = [
url(r'^clientapi/', include(clientapi_urls)),
url(r'^api/', include(frontend_urls)),
url(r'^auth/v1/', include(auth_urls)),
url(r'^admin', admin.site.urls),
]
......@@ -3,5 +3,5 @@ from django.conf.urls import include, url
from .backend import urls
urlpatterns = [
url(r'^backend/', include(urls.urlpatterns)),
url(r'^backend/', include(urls.URLPATTERNS)),
]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment