File size: 311 Bytes
07d2322
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from django.urls import path
from api.views import status, body



urlpatterns = [
    path("status/", status.as_view(), name="Server Status"),
    path("nagad/", body.as_view(), name="Nagad Body"),
]


"""
schema_view = get_swagger_view(title='Pastebin API')

urlpatterns = [
    url(r'^$', schema_view)
]

"""