Skip to main content

Django client for gddkia-impediments-on-roads

Project description

Code Climate https://travis-ci.org/tomi77/django-gddkia-impediments-on-roads.svg?branch=master https://coveralls.io/repos/github/tomi77/django-gddkia-impediments-on-roads/badge.svg?branch=master

Installation

Install package via pip

pip install django-gddkia-impediments-on-roads

Configuration

Configure cache options

# Cache backend name
IMPEDIMENTS_CACHE_BACKEND_NAME = 'default'

# Cache key
IMPEDIMENTS_CACHE_KEY = 'impediments'

# Max time of cache
IMPEDIMENTS_CACHE_TIMEOUT = 3600

API Usage

from dj_impediments import get_impediments

print get_impediments()

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

Built Distribution

django_gddkia_impediments_on_roads-0.1.1-py2.py3-none-any.whl (6.5 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