Skip to main content

Manage programatic *Push Notifications* from Django admin

Project description

Manage programatic Push Notifications from Django admin.


  • Define notifications via the admin
  • Categorize notifications
  • Schedule notifications by category
  • Choose your provider(APNS/apns2, GCM/gcm, OneSignal/yaosac). Actually you must install one.
  • (optional) Multiple language support via django-modelstranslation

Important Dependencies

  • celery
  • django-timezone-field
  • pytz


In your define:

A list of slugs representing the notifications you want to send.
The provider you want to use to send notifications(values can be found in pypn).
# Get a notification, you define them in the admin
notification = models.Notification.objects.get(slug='a-slug', enabled=True)

# Create a notification instance
notification_instance = models.NotificationInstance.objects.create(notification=notification, tokens=tokens, data=data)

# Send the notification


Update migrations

DJANGO_SETTINGS_MODULE=migration_settings django-admin makemigrations

Run tests



python sdist bdist_wheel
twine upload dist/*


To enable translations you have to install django-modeltranslation and add MIGRATION_MODULES = {‘djpush’: ‘djangoproject.migrations’} to your settings.

Notifications will be sent including the available tranlations.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for djpush, version 0.9.1
Filename, size File type Python version Upload date Hashes
Filename, size djpush-0.9.1.linux-x86_64.tar.gz (22.6 kB) File type Source Python version None Upload date Hashes View
Filename, size djpush-0.9.1-py3-none-any.whl (14.9 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page