跳转到主要内容

这是molo.servicedirectory项目。

项目描述

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


下载文件

下载适合您平台的文件。如果您不确定选择哪个,请了解更多关于安装包的信息。

源分发

molo.servicedirectory-11.1.0.tar.gz (16.9 kB 查看哈希值)

上传时间

构建分发

molo.servicedirectory-11.1.0-py3-none-any.whl (23.5 kB 查看哈希值)

上传时间 Python 3

支持