{ "info": { "author": "Richard Moch", "author_email": "richard@rootsaka.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP", "Topic :: Utilities" ], "description": "============\nNotification\n============\n\nNotifications are short emails sent to users by Facebook or Twitter to inform users of some changes.\n\ndjango-email-notification allows backoffice users to send short email notifications to django registered users or users you only know the email about what is new or changed from django's admin or a dedicated view. And then track their clicks.\n\n\ninstallation:\n-------------\n\npip install django-email-notification\n\n\nsettings:\n---------\n::\n\n NOTIFICATION_TEMPLATE = 'email' # name of the templates to use (without extension). Must have a .txt and a .html version\n NOTIFICATION_FROM_EMAIL = '' # sender email, typically no-reply@you-site.com\n NOTIFICATION_FROM_NAME = '' # sender name\n NOTIFICATION_UNSUBSCRIBE_REDIRECT = '/you-unsubscribed/' # possible page redirection after unsubscription\n NOTIFICATION_REGISTRATION_MESSAGE_TAG = 'notification' # allow filtering notification messages\n\n # Description of linkable objects.\n NOTIFICATION_ASSOCIATED_OBJECTS = (\n { 'name': 'products', # reference name, used in forms and templates\n 'description': u\"New products\", # Human readable description\n 'long_description': u\"Last products added to our site\", # Long description\n 'class': 'project.application.models.Product', # path to the class model\n 'title_attr': 'product_description', # Model instance field or callable to display in form\n 'order_by': '-creation_date', # order to sort Model instances in form and email template\n 'manager': '', # manager to use if so\n },\n )\n\n\nEmail template:\n---------------\n\nIn template, linked objects can be processed this way by example:\n::\n\n {% if object_types.OBJECT_NAME.instances %}\n \n {% endif %}\n\nMessages sent through the django messages framework filtered like this:\n::\n\n {% if messages %}\n {% for message in messages %}\n {% if 'notification' in message.tags %}\n {{ message }}\n {% endif %}\n {% endfor %}\n {% endif %}\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://bitbucket.org/rmoch/django-email-notification", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "django-email-notification", "package_url": "https://pypi.org/project/django-email-notification/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-email-notification/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://bitbucket.org/rmoch/django-email-notification" }, "release_url": "https://pypi.org/project/django-email-notification/1.3/", "requires_dist": null, "requires_python": null, "summary": "django-email-notification allows backoffice users to send short email notifications to django registered users or users you only know the email about what is new or changed from django's admin or a dedicated view. And then track their clicks.", "version": "1.3" }, "last_serial": 789551, "releases": { "1.2.1": [ { "comment_text": "", "digests": { "md5": "7a53883c25eb39da5bebadedd4360697", "sha256": "f1cd0a58eefb166466d9b8a95b4cba0c4a5cc3300dd0b4319f980490ce6e075b" }, "downloads": -1, "filename": "django-email-notification-1.2.1.tar.gz", "has_sig": false, "md5_digest": "7a53883c25eb39da5bebadedd4360697", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23976, "upload_time": "2012-12-03T22:01:04", "url": "https://files.pythonhosted.org/packages/04/31/71fed04c19fcca8a5b4841b918d4882ab2cea96cb5e32471043d53c51a1a/django-email-notification-1.2.1.tar.gz" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "ea00812f3fc3556e46b96f8af1d8a42e", "sha256": "de513653ba5b94770540bb57457fa1193c53d7e9569b2f1f1ad2be6490c7eee3" }, "downloads": -1, "filename": "django-email-notification-1.3.tar.gz", "has_sig": false, "md5_digest": "ea00812f3fc3556e46b96f8af1d8a42e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14759, "upload_time": "2013-05-15T21:52:55", "url": "https://files.pythonhosted.org/packages/7c/00/9cd5c94029e15ef185b8b5c448afe32237b9e2f9b4fd23947b4dc622c430/django-email-notification-1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ea00812f3fc3556e46b96f8af1d8a42e", "sha256": "de513653ba5b94770540bb57457fa1193c53d7e9569b2f1f1ad2be6490c7eee3" }, "downloads": -1, "filename": "django-email-notification-1.3.tar.gz", "has_sig": false, "md5_digest": "ea00812f3fc3556e46b96f8af1d8a42e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14759, "upload_time": "2013-05-15T21:52:55", "url": "https://files.pythonhosted.org/packages/7c/00/9cd5c94029e15ef185b8b5c448afe32237b9e2f9b4fd23947b4dc622c430/django-email-notification-1.3.tar.gz" } ] }