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.5-py3-none-any.whl (51.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: drf_amsterdam-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 51.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.0b3

File hashes

Hashes for drf_amsterdam-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 960e6ce14a3bb728262af5b7abb0f2b8f44fee667cbf524f0c60049f5f1268b3
MD5 1a07df09b9ab6e3f666934a294a30d0d
BLAKE2b-256 f9c6f50d5f1d2dddcb81033c98ec98359016e1eab8da2646299a32f2b682b6e6

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