Skip to main content

django-admin-notification

django-admin-notification is a Django app to display notification in Django admin panel.

Installation

  • Run pip install django-admin-notification
  • Add admin_notification to settings.INSTALLED_APPS before django.contrib.admin
INSTALLED_APPS = (
    #...
    "admin_notification",
    #...
    "django.contrib.admin",
    #...
)
  • In settings.py:
NOTIFICATION_MODEL = 'myapp.MyModel' # Select the model you want to control, for example: "accounts.Message"
  • If you have changed the base url of the admin site. in settings.py:
ADMIN_SITE_BASE_URL = 'admin_site_base_url/' # default is "admin/
  • In urls.py:
...
from admin_notification.views import check_notification_view
urlpatterns = [
    path('check/notification', check_notification_view, name="check_notifications"),
    ...
]
  • Run python manage.py migrate
  • Restart your application server
  • Visit http://127.0.0.1:8000/admin/
  • Create an instance of the model(NOTIFICATION_MODEL) and enjoy :)

Metadata

Release files for django-admin-notification 0.2

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-admin-notification 0.2
File Size Uploaded Provenance Actions
django-admin-notification-0.2.tar.gz 18.9 kB Without provenance Details for django-admin-notification-0.2.tar.gz

Release files / django-admin-notification-0.2.tar.gz

Download URL django-admin-notification-0.2.tar.gz
Size 18.9 kB
Tags Source
SHA-256 checksum
How to use checksums
9bb1775881a13073da7da4ffa85544da36974be87e3777de83e6551d1680f597
BLAKE2b-256 checksum
How to use checksums
023600aba9c2daa5bf2e05eeb71f7b12504c1671c902f3d7fa65ef44ee90cdc1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.2

Security for django-admin-notification 0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2 This release

1 release file No provenance

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