跳转到主要内容

在每次页面加载时启用消息。

项目描述

在每次页面加载时启用消息。

官方文档

http://django-site-notifications.readthedocs.org

安装

要安装django-site-notifications

pip install django-site-notifications

添加到已安装的应用程序

site_notifications

添加中间件

'site_notifications.middleware.NotificationMiddleware',

中间件需要在消息框架之下。

项目详情


下载文件

下载适合您平台的文件。如果您不确定选择哪个,请了解有关安装软件包的更多信息。

源分布

django-site-notifications-1.0.0.tar.gz (3.8 kB 查看哈希值)

上传时间:

构建分布

django_site_notifications-1.0.0-py2.py3-none-any.whl (8.8 kB 查看哈希值)

上传时间: Python 2 Python 3

由以下支持