Commit 557a134f authored by Kenzo-Hugo Hillion's avatar Kenzo-Hugo Hillion
Browse files

fix DeprecationWarnings

parent bf4feb29
Pipeline #35415 passed with stages
in 3 minutes and 15 seconds
from django.urls import path
from django.conf.urls import url, include
from django.conf.urls import include
from django.urls import re_path
from rest_framework.routers import DefaultRouter, DynamicRoute, Route
from metagenedb.api.catalog import views
......@@ -64,7 +65,7 @@ api_router.register(r'statistics', views.StatisticsViewSet, basename='statistics
urlpatterns = [
url(r'v1/', include((api_router.urls, 'v1'))),
re_path(r'v1/', include((api_router.urls, 'v1'))),
path('admin/', include(('metagenedb.api.catalog.admin_urls', 'admin'))),
path('celery-task-test/', test_task_view, name='celery-task-test'),
]
from unittest import TestCase
import pandas as pd
from pandas.util.testing import assert_series_equal
from pandas.testing import assert_series_equal
from metagenedb.common.utils.df_operations import get_mask
......
......@@ -14,12 +14,11 @@ Including another URLconf
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import include, path
from django.conf.urls import url
from django.urls import include, path, re_path
urlpatterns = [
path('api/', include(('metagenedb.api.urls', 'api'))),
path('admin/', admin.site.urls),
url(r'^ht/', include('health_check.urls')),
re_path(r'^ht/', include('health_check.urls')),
]
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