Client app for Impression.
Project description
Impression Client
Source: https://github.com/gregschmit/django-impression-client
PyPI: https://pypi.org/project/django-impression-client/
Impression Client is a reusable Django app that provides helpers for interacting with remote systems running Impression.
Installation
$ pip install django-impression-client
Configuration
Add django-impression-client to your requirements file to ensure it’s installed in the environment. Configure your settings.py:
EMAIL_BACKEND = "impression_client.backends.RemoteEmailBackend"
IMPRESSION_DEFAULT_TARGET = "https://impression.example.org/api/send_message/"
IMPRESSION_DEFAULT_TOKEN = "my_api_auth_token_here"
If you want to store your credentials in the database rather than statically in your project settings.py file, include impression_client in your INSTALLED_APPS, then run database migrations. Finally, remove the IMPRESSION_DEFAULT_TARGET and IMPRESSION_DEFAULT_TOKEN from your project settings.py, and go into the Django admin UI to add impression servers.
Tests
$ python manage.py test
Project details
Release history Release notifications | RSS feed
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
Hashes for django-impression-client-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e976d2c9fc9855f51ad38f34ac0b30ed358fcb1d3c22e82bd067a7b2080b41e3 |
|
MD5 | df91b6b2fd5d0f8c27826ccf593415cd |
|
BLAKE2b-256 | 638049cf4fb3cd9848f694f5cf5f2cf81506bbe5ee49c40654c7ff1f76a1b41e |
Hashes for django_impression_client-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 093391a072522ff737ec4f81c8b28e4ccc4eef15d87fe08dbf4a97fabda59a2e |
|
MD5 | 32d0aadbb3c5ddafa7198a024b64f702 |
|
BLAKE2b-256 | 6f34d3610345be9600a1e8bf60d27f5cfc217b5fa5e058c2e93ee030d7b4a4ef |