Adding swagger
This commit is contained in:
@@ -61,6 +61,8 @@ queue = django_rq.get_queue('default')
|
||||
queuelow = django_rq.get_queue('low')
|
||||
queuehigh = django_rq.get_queue('low')
|
||||
|
||||
from rest_framework_swagger.views import get_swagger_view
|
||||
|
||||
import plots
|
||||
import mailprocessing
|
||||
|
||||
@@ -74,6 +76,8 @@ USER_LANGUAGE = 'en-US'
|
||||
|
||||
from interactiveplots import *
|
||||
|
||||
schema_view = get_swagger_view(title='Rowsandall API')
|
||||
|
||||
def error500_view(request):
|
||||
response = render_to_response('500.html', {},
|
||||
context_instance = RequestContext(request))
|
||||
|
||||
Reference in New Issue
Block a user