Add Base Url to Django Rest Swagger -


i can't find way add base url django rest swagger. tried adding

swagger_settings = {     "base_path": 'localhost:62090/', } 

to settings.py. not working.

i couldn't find way display base url in swagger ui, add base url in urls.py

schema_view = get_swagger_view(title='pastebin api',url='/pastebin/') 

this code adds base url between host , url u specified.


Comments

Popular posts from this blog

service - Android MediaPlayer calls onCompletion before it already finished -

javascript - Training Neural Network to play flappy bird with genetic algorithm - Why can't it learn? -

javascript - Create a stacked percentage column -