Skip to main content

Reports back configuration and capabilities to quartet-ui.

Project description

https://gitlab.com/serial-lab/quartet_manifest/badges/master/pipeline.svg https://gitlab.com/serial-lab/quartet_manifest/badges/master/coverage.svg https://badge.fury.io/py/quartet_manifest.svg

Reports back QU4RTET configuration and capabilities to quartet-ui.

Documentation

Dependencies

First, make sure you have Django and the Django Rest Framework installed and you have an active project started. See the Django and Django Rest Framework documentation below if you are unfamiliar with this process.

Modfiy settings.py

To use quartet_manifest in a project, first, add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'rest_framework',
    'quartet_manifest',
    ...
)

Add the URL patterns

In your project’s urls.py, add quartet_manifest’s URL patterns:

from quartet_manifest import urls as quartet_manifest_urls


urlpatterns = [
    ...
    path('manifest/', include('quartet_manifest.urls')),
    ...
]

Test the URL

Navigate to the configured host/port and url using the structure below:

http://[your host name]:[your port]/manifest/quartet-manifest/?format=json

You should get a return value as below

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

quartet_manifest-1.0.5.tar.gz (19.1 kB view hashes)

Uploaded Source

Built Distribution

quartet_manifest-1.0.5-py2.py3-none-any.whl (6.3 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page