Skip to content

Commit

Permalink
lint apis/urls.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SteffRhes committed Nov 28, 2023
1 parent 4627a5e commit a42ee2f
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions apis/urls.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
from django.conf.urls import url, include, handler404
from django.contrib import admin
from django.conf import settings
from rest_framework import routers
from django.urls import path

from apis_core.apis_entities.api_views import GetEntityGeneric

urlpatterns = [
url(r'^apis/', include('apis_core.urls', namespace="apis")),
url(r'^bibsonomy/', include('apis_bibsonomy.urls', namespace="bibsonomy")),
url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework')),
url(r'^bibsonomy/', include('apis_bibsonomy.urls', namespace="bibsonomy")),
url(r"^apis/", include("apis_core.urls", namespace="apis")),
url(r"^bibsonomy/", include("apis_bibsonomy.urls", namespace="bibsonomy")),
url(r"^api-auth/", include("rest_framework.urls", namespace="rest_framework")),
path(r"entity/<int:pk>/", GetEntityGeneric.as_view(), name="GetEntityGenericRoot"),
url(r'^admin/', admin.site.urls),
url(r'^', include('webpage.urls', namespace='webpage')),
url(r"^admin/", admin.site.urls),
url(r"^", include("webpage.urls", namespace="webpage")),
]


handler404 = 'webpage.views.handler404'
handler404 = "webpage.views.handler404"

0 comments on commit a42ee2f

Please sign in to comment.