Skip to main content

Amsterdam Datapunt code and style for Django REST Framework.

Project description

Extenstions to Django REST Framework by Asterdam Datapunt. Amsterdam Datapunt provides access to municipal data through, at times public, APIs. This project drf_amsterdam provides some basic classes and instructions to set the behavior of Django REST Framework API to the standards of Amsterdam Datapunt.

Installlation instructions

Given that you have a Django project that generates a REST API using Django REST Framework:

` pip install drf_amsterdam `

To use the API page styling provided by this package you must add it to the Django settings file in INSTALLED_APPS, ahead of ‘rest_framework’ so that the templates and static files included in drf_amsterdam override those included with Django REST Framework.

Running tests

Run the tests in a virtualenv and run the script runtests.py from project root.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

drf_amsterdam-0.1.4-py3-none-any.whl (50.9 kB view details)

Uploaded Python 3

File details

Details for the file drf_amsterdam-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for drf_amsterdam-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a43841f142142a5c511b53221f2d539f449232bc46b08e6e94343acf323fc3f2
MD5 b70d2f915dc6034619b771d2a5cbf76f
BLAKE2b-256 4f048ded794a2ae9f8aa1d71d9d94ce4a25923c51c03c4440530a4669e1a9268

See more details on using hashes here.

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