Skip to main content
https://travis-ci.org/kostya-ten/django_tasker_unisender.svg?branch=master Documentation Status https://api.codacy.com/project/badge/Grade/9fe057e68937477aab1aebd907aa0913 Requirements Status https://badge.fury.io/py/django-tasker-unisender.svg

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)

Full documentation

Release files for django-tasker-unisender 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-tasker-unisender 0.0.1
File Size Uploaded
django-tasker-unisender-0.0.1.tar.gz 7.9 kB Details

Release files / django-tasker-unisender-0.0.1.tar.gz

Download URL django-tasker-unisender-0.0.1.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
dbd85fd194e223cd98b5260973c36621a397282c8f765af0cb1e18af2f2f0112
BLAKE2b-256 checksum
How to use checksums
9d02c88015f8edde741307b98d8a201a5ceb38476bdff949e8db5a9a49708c19
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page