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.2.0.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for dj_apibrowser-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d664ef728df38ec134e4b9727cfbefe028e1dfe1691b4e7ac3694650909ae365 |
|
MD5 | e1ca9976a8171dd0b6354929ba683ac1 |
|
BLAKE2b-256 | f8cc08ca96363d631a9e4d834ea9355b750f255fdc4e6b6c898cfe0a46a68f56 |