Generic GUI for any RESTful API
Project description
Generic GUI for any RESTful API
See the demo at https://apibrowser-demo.herokuapp.com/ (source).
dj-apibrowser
itself is just a trivial middleware that serves APIBrowser, which is written in JS, and works purely in the web browser. It returns the APIBrowser HTML code whenever a web browser navigates to a page.
Installation
pip install dj-apibrowser
settings.py
- Add
dj_apibrowser.APIBrowserServerMiddleware
to the list ofMIDDLEWARE
s. - If neccesary, specify on which endpoints should we serve APIBrowser. Default config means that this is disabled on paths starting from /admin/, and enabled on all other paths:
API_ENDPOINTS = [
('admin/', False),
('', True),
]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dj-apibrowser-0.1.0.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for dj_apibrowser-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1ee04c69f27e9e83f6bf6e6f557d9010205a15d415d7a9ba43b1dd035f5be81 |
|
MD5 | 513de8dbc7750b9377a781ff36f68a74 |
|
BLAKE2b-256 | 0006681dd4777a52af8ab6e3a38d2b4a71d539ba1581cf5e53944d5eef413641 |