Django Ghost is a Django app to sync a Django model with Ghost CMS newsletter subscribers
Project description
Django Ghost
Automatically sync a Django model with Ghost's member model. Ghost is a CMS for content creators.
-
pip install django-ghost
-
Add to your INSTALLED_APPS settings:
INSTALLED_APPS = [ "django_ghost", ]
-
Run
python manage.py migrate
to create the NATS organizationals models
Contributor's Guide
-
Create a development environment (requires docker & docker-compose):
make docker-up
-
Run tests and generate a coverage report:
make pytest
-
Run
black
linter:make lint
Settings
Basic Settings
GHOST_SYNC_MODEL
(default: return value of django.contrib.auth.get_user_model()
)
GHOST_NEWSLETTER_IDS
(default: []) - newsletter ids to subscribe to
GHOST_ADMIN_API_APP_ID
GHOST_ADMIN_API_APP_SECRET
GHOST_API_URL
(default: "http://localhost
or $GHOST_API_URL
environment var)
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_ghost-0.2.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad2e74f32b97d6c9e0117560d3419bea0b47f215bf9b6eae528e73b0a039351e |
|
MD5 | 297808d5501bfed753d5dd5f4d272e7b |
|
BLAKE2b-256 | a58bd4f27adaa6dbac80f05cdd53f44d77b2f53553b5d5431bb48c3108d06e26 |