Skip to main content

This is the molo.servicedirectory project.

Project description

A molo module for calling service directory.

The following keys should be set in the django projects settings file (the values are only examples):

SERVICE_DIRECTORY_API_BASE_URL = ‘http://0.0.0.0:8000/api/

SERVICE_DIRECTORY_API_USERNAME = ‘root’ SERVICE_DIRECTORY_API_PASSWORD = ‘admin’

GOOGLE_PLACES_API_SERVER_KEY = ‘thisisnotarealkeyreplaceitwithyourown’

ideally things like the passwords and api keys should be kept out of the repository and possibly included in the settings through importing from a secrets file that is ignored by the version control.

eg in settings.py:

try:

from secrets import *

except ImportError:

raise

https://img.shields.io/travis/praekelt/molo.servicedirectory.svg https://img.shields.io/pypi/v/molo.servicedirectory.svg Code Coverage molo.servicedirectory Docs

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

molo.servicedirectory-2.1.5.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

molo.servicedirectory-2.1.5-py2-none-any.whl (19.3 kB view details)

Uploaded Python 2

File details

Details for the file molo.servicedirectory-2.1.5.tar.gz.

File metadata

File hashes

Hashes for molo.servicedirectory-2.1.5.tar.gz
Algorithm Hash digest
SHA256 c02b43f3d02bcf648138a361012efe95c610d1f6f11a5ec71ac51bb720306537
MD5 49399d2e65007178743d6256fe550e6a
BLAKE2b-256 7325f3e515a8db1250393e95b3374d241680d4f70502276700c2a52c89e46e3f

See more details on using hashes here.

Provenance

File details

Details for the file molo.servicedirectory-2.1.5-py2-none-any.whl.

File metadata

File hashes

Hashes for molo.servicedirectory-2.1.5-py2-none-any.whl
Algorithm Hash digest
SHA256 a75863e37ce17993c9a0310aecb9b98271a5473db60fc0ecdca4f044a876a8d9
MD5 816bbdbbd81da4a0e68371097584379c
BLAKE2b-256 d45776a1b86f246f70bdc77c04e6528ab867efd8739eda4df938bacb41a7e0aa

See more details on using hashes here.

Provenance

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