from django.urls import re_path
from rest_framework.urlpatterns import format_suffix_patterns

from . import api_views, views

urlpatterns = [
    re_path("^$", views.CurrentStatus.as_view(), name="current_status"),
    re_path(r"^schema$", api_views.schema, name="schema"),
]

urlpatterns += format_suffix_patterns(
    [
        re_path(r"^current_status$", api_views.CurrentStatusApi.as_view(), name="current_status_api"),
        re_path(r"^spans$", api_views.SpanApi.as_view(), name="span_api"),
    ]
)

fa57468df6d46d6bbd10e61bf8322ba7c138ca8a
<mask token>

<mask token>
urlpatterns += format_suffix_patterns([re_path('^current_status$',
    api_views.CurrentStatusApi.as_view(), name='current_status_api'),
    re_path('^spans$', api_views.SpanApi.as_view(), name='span_api')])

<mask token>
urlpatterns = [re_path('^$', views.CurrentStatus.as_view(), name=
    'current_status'), re_path('^schema$', api_views.schema, name='schema')]
urlpatterns += format_suffix_patterns([re_path('^current_status$',
    api_views.CurrentStatusApi.as_view(), name='current_status_api'),
    re_path('^spans$', api_views.SpanApi.as_view(), name='span_api')])

from django.urls import re_path
from rest_framework.urlpatterns import format_suffix_patterns
from . import api_views, views
urlpatterns = [re_path('^$', views.CurrentStatus.as_view(), name=
    'current_status'), re_path('^schema$', api_views.schema, name='schema')]
urlpatterns += format_suffix_patterns([re_path('^current_status$',
    api_views.CurrentStatusApi.as_view(), name='current_status_api'),
    re_path('^spans$', api_views.SpanApi.as_view(), name='span_api')])

from django.urls import re_path
from rest_framework.urlpatterns import format_suffix_patterns

from . import api_views, views

urlpatterns = [
    re_path("^$", views.CurrentStatus.as_view(), name="current_status"),
    re_path(r"^schema$", api_views.schema, name="schema"),
]

urlpatterns += format_suffix_patterns(
    [
        re_path(r"^current_status$", api_views.CurrentStatusApi.as_view(), name="current_status_api"),
        re_path(r"^spans$", api_views.SpanApi.as_view(), name="span_api"),
    ]
)
