{ "info": { "author": "Matthias Kestenholz", "author_email": "mk@feinheit.ch", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3" ], "description": "================================================================\ndjango-user-messages - Offline addon for django.contrib.messages\n================================================================\n\n.. image:: https://travis-ci.org/matthiask/django-user-messages.svg?branch=master\n :target: https://travis-ci.org/matthiask/django-user-messages\n\n.. image:: https://readthedocs.org/projects/django-user-messages/badge/?version=latest\n :target: https://django-user-messages.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\ndjango-user-messages adds offline messaging support to Django's\nmessaging framework. It achieves this by allowing to save messages in\nthe database. The ``user_messages.api.get_messages`` utility and the\n``user_messages.context_processors.messages`` context processor\ntransparently concatenate Django's messages and our own messages in a single\nlist, therefore existing code works without any changes and without\ncausing database writes. django-user-messages' functions have to be\nused explicitly. I consider this a feature, not a bug.\n\n\nInstallation\n============\n\n- Install ``django-user-messages`` using pip into your virtualenv.\n- Add ``user_messages`` to ``INSTALLED_APPS`` and run ``migrate``.\n- Replace the default messages context processor with\n ``user_messages.context_processors.messages``. The context processor\n provides both django.contrib.messages' and django-user-messages'\n messages. Note that Django 2.2's admin app checks for the presence of\n the default messages context processor, so you'll have to silence this\n check by adding ``\"admin.E404\"`` to the ``SILENCED_SYSTEM_CHECKS``\n setting.\n- Use ``user_messages.api`` as you would use\n ``django.contrib.messages`` except that you pass the user model or ID\n as first parameter, not the current request.\n\n\nUsage\n=====\n\nPretty much the same as Django's messaging framework::\n\n from user_messages import api\n\n api.info(user, 'Hey there')\n api.warning(user, 'Stop this')\n api.error(user, 'Not nice!')\n\n # Passing the ID is also possible; the user instance does not\n # have to be instantiated at all:\n api.success(user.id, 'Yay!')\n\ndjango-user-messages' messages supports two additional features not\navailable in Django's messages framework:\n\n- Messages can be delivered more than once by passing\n ``deliver_once=False``. These messages have to be acknowledged\n explicitly. django-user-messages does not contain any code to do this.\n- It is possible to attach additional data by passing a dictionary as\n ``meta``::\n\n api.debug(user, 'Oww', meta={\n 'url': 'http://example.com',\n })\n\nFor convenience, our messages have the same ``tags`` and ``level_tag``\nproperties as Django's messages. Meta properties are also accessible in\ntemplates::\n\n {% if messages %}\n \n {% endif %}\n\ndjango-user-messages' messages are also evaluated lazily.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/matthiask/django-user-messages/", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "django-user-messages", "package_url": "https://pypi.org/project/django-user-messages/", "platform": "OS Independent", "project_url": "https://pypi.org/project/django-user-messages/", "project_urls": { "Homepage": "http://github.com/matthiask/django-user-messages/" }, "release_url": "https://pypi.org/project/django-user-messages/0.6.2/", "requires_dist": null, "requires_python": "", "summary": "Offline addon for django.contrib.messages", "version": "0.6.2" }, "last_serial": 5922252, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "1926194b0f1ee0347bb7ef3b7821f5bf", "sha256": "a2a7a323e07df2c45f73feda48df86d024c8178452d32bd9ef1baefae97921d7" }, "downloads": -1, "filename": "django_user_messages-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1926194b0f1ee0347bb7ef3b7821f5bf", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5759, "upload_time": "2017-05-17T20:57:35", "url": "https://files.pythonhosted.org/packages/b4/f8/c23178dc0b4e3f03cba1450637c19f901020f2d86be110401ec3e7760243/django_user_messages-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1f62f3acf7b74c5605bad8395cd9f76a", "sha256": "68466c2df0f4adf3fd411bfdc044d634a508543612f727b4ab5e5b177b27e68f" }, "downloads": -1, "filename": "django-user-messages-0.1.0.tar.gz", "has_sig": false, "md5_digest": "1f62f3acf7b74c5605bad8395cd9f76a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3832, "upload_time": "2017-05-17T20:57:37", "url": "https://files.pythonhosted.org/packages/4e/ba/6e56a61c11de49d2e05e4790be412a643d051b5da877954f6c243cd5e124/django-user-messages-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "665a37159efdab5e95d593b611e87456", "sha256": "f0caacb27f4023a42200fdaf36b51d6aae902bb3bd3c6decfa0022ab852a7800" }, "downloads": -1, "filename": "django_user_messages-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "665a37159efdab5e95d593b611e87456", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6846, "upload_time": "2017-05-18T10:54:03", "url": "https://files.pythonhosted.org/packages/28/1e/587ffff42dcb44f41ea9c1c61dada5ce758cd5c633480227d7b77ae1d85e/django_user_messages-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4c9d39b9a7f71c14c3377d58021ded85", "sha256": "b4140d228f4dce8fedbed834d382d1bc5643add59e1bc569f6dedac38119937a" }, "downloads": -1, "filename": "django-user-messages-0.2.0.tar.gz", "has_sig": false, "md5_digest": "4c9d39b9a7f71c14c3377d58021ded85", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4470, "upload_time": "2017-05-18T10:54:05", "url": "https://files.pythonhosted.org/packages/4c/0d/8bb25de7144eda5b82f9ccb280031580f2ea2dcc99c517ccac2d6dd97352/django-user-messages-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "7585d00823f6f537f655aa8425830ffd", "sha256": "22f61fbbb0a1a7dd154717b0ee667feb52071bf913a3c646a1d928cc524e3788" }, "downloads": -1, "filename": "django_user_messages-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7585d00823f6f537f655aa8425830ffd", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9051, "upload_time": "2017-05-18T14:43:48", "url": "https://files.pythonhosted.org/packages/f6/67/d685d75de6578faab757bc49e49e239d525106c8b7145b4c41b600f3262e/django_user_messages-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "77d9bf40c48de6630d11c1c32cd9e986", "sha256": "dec14bf9e5330c633c2399728cc8c4fc6f89ad1ffa4128cd9994905751905eca" }, "downloads": -1, "filename": "django-user-messages-0.3.0.tar.gz", "has_sig": false, "md5_digest": "77d9bf40c48de6630d11c1c32cd9e986", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5936, "upload_time": "2017-05-18T14:43:50", "url": "https://files.pythonhosted.org/packages/bc/dc/78ea7986408d149df76de496b387f4678d47107ce29e7744edc54cac381f/django-user-messages-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "f729b96236e01284278c166c09e34449", "sha256": "82d54bb64cc49a6ac6451723fe02a53d13a4bc73842f07cabc83b1ff0cec100b" }, "downloads": -1, "filename": "django_user_messages-0.3.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f729b96236e01284278c166c09e34449", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9082, "upload_time": "2017-05-18T14:50:02", "url": "https://files.pythonhosted.org/packages/a8/b8/9c38fe88fd6c6eb064dc5c371b49769c31f0a8d0597143a737f370855eaa/django_user_messages-0.3.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dcca12e0c4f736d0ea42c9b5044cdfdb", "sha256": "9ccffc7d64cba7133d5ec3baf00c7f5d12d571926daf6cbcdf6ab4956287c8da" }, "downloads": -1, "filename": "django-user-messages-0.3.1.tar.gz", "has_sig": false, "md5_digest": "dcca12e0c4f736d0ea42c9b5044cdfdb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5963, "upload_time": "2017-05-18T14:50:04", "url": "https://files.pythonhosted.org/packages/8b/c6/58f2c2a1635b67e82bcf5645a96b9aaba7ffaf79f44aee60583c874c5ff2/django-user-messages-0.3.1.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "2f3a572ae2ec3ece9b8a686969a2f1da", "sha256": "85d7068749f6a308f544213c9b3501438521411626d205c27441c460ac30d664" }, "downloads": -1, "filename": "django_user_messages-0.4.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2f3a572ae2ec3ece9b8a686969a2f1da", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8215, "upload_time": "2017-07-19T13:35:32", "url": "https://files.pythonhosted.org/packages/15/8f/51f8ed6d7f25be9cf1e4ef5cb0f417697f19af72a327d115858184297fed/django_user_messages-0.4.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9a97f3532cb68277629d412a205ddb3d", "sha256": "9dbb775db15b8adcf5eeae9fbfc5ef4c8ba538501d3f42725114a2bf579613f7" }, "downloads": -1, "filename": "django-user-messages-0.4.0.tar.gz", "has_sig": false, "md5_digest": "9a97f3532cb68277629d412a205ddb3d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5744, "upload_time": "2017-07-19T13:35:34", "url": "https://files.pythonhosted.org/packages/0b/29/cc83e02b93a79740b28021cd0e328b6ea30dc8e7b36324052b7bee373402/django-user-messages-0.4.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "641248c2ab78dae1fc2832c997e33607", "sha256": "53c94bbfc4e99762203c5ffc1bd0a7d5022c07415b3e052bffa6006e08687008" }, "downloads": -1, "filename": "django_user_messages-0.4.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "641248c2ab78dae1fc2832c997e33607", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10169, "upload_time": "2017-10-31T13:38:38", "url": "https://files.pythonhosted.org/packages/f1/31/55b40beabe16ae8abbfd22a436a0bd1a47c33cfa51f09543966dcb3bb591/django_user_messages-0.4.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2beadcba3d0010fc94a20713872ea01c", "sha256": "f20ec21036e4c9c326cc9a89e16b2ec62bd9cde0a54aed5e070ae92e5f395264" }, "downloads": -1, "filename": "django-user-messages-0.4.1.tar.gz", "has_sig": false, "md5_digest": "2beadcba3d0010fc94a20713872ea01c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6812, "upload_time": "2017-10-31T13:38:39", "url": "https://files.pythonhosted.org/packages/33/cd/99123e420dddce11c2b9f6175126045b4487fac86809cbb09ca7349930c3/django-user-messages-0.4.1.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "866579c1ab84d41238211fcbeec2d975", "sha256": "f1315be89daf8aa3a8d96b71bf6874c9cd70a37a18f6d4e73e40d776ba370d00" }, "downloads": -1, "filename": "django_user_messages-0.5.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "866579c1ab84d41238211fcbeec2d975", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10412, "upload_time": "2018-03-04T19:04:34", "url": "https://files.pythonhosted.org/packages/42/80/ccaa6900267cd4aebe5bafe32b0f2768b244889a8cf5007ef18510c51c6a/django_user_messages-0.5.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "33d60e63a0354d5c56a39b0154491607", "sha256": "8634e9f29e5fca1c68a7725ddeea5e866db114d1f4e7888b56d898aecfa1b909" }, "downloads": -1, "filename": "django-user-messages-0.5.0.tar.gz", "has_sig": false, "md5_digest": "33d60e63a0354d5c56a39b0154491607", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7043, "upload_time": "2018-03-04T19:04:36", "url": "https://files.pythonhosted.org/packages/63/06/4cfe77650fbd11f3fae7a91d128cdf28010e918d11ea7509c4266b6d18b4/django-user-messages-0.5.0.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "2ce9c40097047a636a73201f32579331", "sha256": "b6674f96d08f84b1c7a32cfeb12855e6a38146c6c06ab8860d04c953be3cb3f6" }, "downloads": -1, "filename": "django_user_messages-0.6.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2ce9c40097047a636a73201f32579331", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11048, "upload_time": "2018-09-26T09:50:14", "url": "https://files.pythonhosted.org/packages/bb/a6/a199a409037e3d83c0e1680d7931a988cc542226475a68a59c5c62d1c659/django_user_messages-0.6.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7962dfb7389cef8bf5b613f3a5392d52", "sha256": "acbc98f256f461f1f053349919f648c09e06b37e422a38972eb5be3e5b72171a" }, "downloads": -1, "filename": "django-user-messages-0.6.0.tar.gz", "has_sig": false, "md5_digest": "7962dfb7389cef8bf5b613f3a5392d52", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7300, "upload_time": "2018-09-26T09:50:16", "url": "https://files.pythonhosted.org/packages/c8/cf/83281facb675531a6b07b1703d03131bb23f046c37f0bf8c7d5e7f520ca4/django-user-messages-0.6.0.tar.gz" } ], "0.6.1": [ { "comment_text": "", "digests": { "md5": "14d0d2ea3ebc29edf5d7d1abcf9c06d0", "sha256": "650b17a6a09efec48330431efe2ed4f6be46e7eb42da2575c1c2524ee904d401" }, "downloads": -1, "filename": "django_user_messages-0.6.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "14d0d2ea3ebc29edf5d7d1abcf9c06d0", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11147, "upload_time": "2019-03-13T16:29:53", "url": "https://files.pythonhosted.org/packages/01/23/a7a8a1c815f6d7f8cbdb55099c0ebabd04cfdeca5413da2c57aa326a6045/django_user_messages-0.6.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "af24f0fefd61732901b8cb9acac15c6a", "sha256": "c38053fee831a0e795d429113aa385844ac0dab38c07aae25517952a1be0efaf" }, "downloads": -1, "filename": "django-user-messages-0.6.1.tar.gz", "has_sig": false, "md5_digest": "af24f0fefd61732901b8cb9acac15c6a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7364, "upload_time": "2019-03-13T16:29:55", "url": "https://files.pythonhosted.org/packages/5e/a6/66115475af5fdf06d569bfaf4e465a1c93854f1737d986e51f71dc1b266f/django-user-messages-0.6.1.tar.gz" } ], "0.6.2": [ { "comment_text": "", "digests": { "md5": "9c2ff8d8fe8aac0f03cf3dfc01e6a306", "sha256": "0b04f76ada115f3e5f67e598e72d560414bc06fe317ac12f77b2121cb80369ba" }, "downloads": -1, "filename": "django_user_messages-0.6.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9c2ff8d8fe8aac0f03cf3dfc01e6a306", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11165, "upload_time": "2019-10-03T08:05:10", "url": "https://files.pythonhosted.org/packages/af/e6/d97895fd43843946721048a58e901606c889841178b725889d6f12349986/django_user_messages-0.6.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c00c41f6e7303f35f027eddd7fdfe440", "sha256": "2f54081f482af5d63ae90469da3d2befdc93ff9b15d05024f11368d809f16486" }, "downloads": -1, "filename": "django-user-messages-0.6.2.tar.gz", "has_sig": false, "md5_digest": "c00c41f6e7303f35f027eddd7fdfe440", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7387, "upload_time": "2019-10-03T08:05:13", "url": "https://files.pythonhosted.org/packages/04/a2/b818c3a624b4db98016d5692f6ff2ff2c409f8352e9f2dc99752b3bdf7dc/django-user-messages-0.6.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9c2ff8d8fe8aac0f03cf3dfc01e6a306", "sha256": "0b04f76ada115f3e5f67e598e72d560414bc06fe317ac12f77b2121cb80369ba" }, "downloads": -1, "filename": "django_user_messages-0.6.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9c2ff8d8fe8aac0f03cf3dfc01e6a306", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11165, "upload_time": "2019-10-03T08:05:10", "url": "https://files.pythonhosted.org/packages/af/e6/d97895fd43843946721048a58e901606c889841178b725889d6f12349986/django_user_messages-0.6.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c00c41f6e7303f35f027eddd7fdfe440", "sha256": "2f54081f482af5d63ae90469da3d2befdc93ff9b15d05024f11368d809f16486" }, "downloads": -1, "filename": "django-user-messages-0.6.2.tar.gz", "has_sig": false, "md5_digest": "c00c41f6e7303f35f027eddd7fdfe440", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7387, "upload_time": "2019-10-03T08:05:13", "url": "https://files.pythonhosted.org/packages/04/a2/b818c3a624b4db98016d5692f6ff2ff2c409f8352e9f2dc99752b3bdf7dc/django-user-messages-0.6.2.tar.gz" } ] }