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-6.1.14.tar.gz (17.8 kB view details)

Uploaded Source

Built Distribution

molo.servicedirectory-6.1.14-py2-none-any.whl (25.0 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: molo.servicedirectory-6.1.14.tar.gz
  • Upload date:
  • Size: 17.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.14

File hashes

Hashes for molo.servicedirectory-6.1.14.tar.gz
Algorithm Hash digest
SHA256 6a0d495e73d63888b9ce29735f45acb8edc1246b130bac8b3d0ebb70b4c04e32
MD5 1ff0d77175e80c5d4da24740ba52a7fe
BLAKE2b-256 23a59e08fa8a12577c5ef7cde3a320af91f4e9c2362a55b6095fa7f3c8e95726

See more details on using hashes here.

File details

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

File metadata

  • Download URL: molo.servicedirectory-6.1.14-py2-none-any.whl
  • Upload date:
  • Size: 25.0 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.14

File hashes

Hashes for molo.servicedirectory-6.1.14-py2-none-any.whl
Algorithm Hash digest
SHA256 3550a6ba973b07c3e3fb7d923464851292cdb1b6ca51a8d7b69ca4c9f4dbccd9
MD5 5f2c19820fa71e9630f95c3ab6cfc413
BLAKE2b-256 4ee921765f95ce6b837c1be3ae6147bc96ea6d954daa755f6f083e4c4850e6bc

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