Django Tasker UniSender - Service for mass email
Project description
Requirements
Python 3.6+
A supported version of Django >= 2.0
Installation
You can get Django Tasker Unisender by using pip:
$ pip install django-tasker-unisender
To enable django_tasker_unisender in your project you need to add it to INSTALLED_APPS in your projects settings.py
INSTALLED_APPS = (
# ...
'django_tasker_unisender',
# ...
)
Add to your settings.py
UNISENDER_API_KEY="<< YOU API KEY>>"
You can get the api key at this link
Add to your models.py
from django_tasker_unisender.models import EmailModel
class Subscribe(EmailModel):
class UnisenderMeta:
list_id = 123456789 # Your list id contact on Unisender
Migrate your project
python manage.py makemigrations
python manage.py migrate
Add to your admin.py
from django.contrib import admin
from . import models
class SubscribeAdmin(admin.ModelAdmin):
list_display = ('email',)
admin.site.register(models.Subscribe, SubscribeAdmin)
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
Close
Hashes for django-tasker-unisender-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbd85fd194e223cd98b5260973c36621a397282c8f765af0cb1e18af2f2f0112 |
|
MD5 | 6c11914919f05bb7ecd576438d13029e |
|
BLAKE2b-256 | 9d02c88015f8edde741307b98d8a201a5ceb38476bdff949e8db5a9a49708c19 |