Add README and documentation

This commit is contained in:
Cristi Vîjdea
2017-11-30 22:20:26 +01:00
parent ed02e3c3a1
commit 207973ae5a
18 changed files with 387 additions and 58 deletions
@@ -18,7 +18,6 @@
</style>
</head>
<body>
<script id="redoc-settings">{{ swagger_settings | safe }}</script>
<script>
var currentPath = window.location.protocol + "//" + window.location.host + window.location.pathname;
var specURL = currentPath + '?format=openapi';
@@ -159,7 +159,7 @@
}
window.ui = SwaggerUIBundle(swaggerConfig);
insertionQ('.auth-wrapper .authorize').every(function (element) {
insertionQ('.auth-wrapper .authorize').every(function () {
var authWrapper = document.querySelector('.auth-wrapper');
var authorizeButton = document.querySelector('.auth-wrapper .authorize');
var djangoSessionAuth = document.querySelector('#django-session-auth');