{ "info": { "author": "Martin Brochhaus", "author_email": "martin.brochhaus@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Communications :: Email", "Topic :: Software Development", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "django-shop-simplenotifications\n================================\n\nOnly use this, if you are brave!\n\nThis is a dead simple approach on email notifications for django-shop. The\ngoal of this app is to hook into django-shop's various signals in order to \nsend emails to the shop owner and to the buyer on certain events.\n\nInstallation\n=============\n\nInstall this package into your virtualenv::\n\n pip install django-shop-simplenotifications \n\nAdd the app to your INSTALLED_APPS setting::\n\n INSTALLED_APPS = (\n ...\n 'shop_simplenotifications',\n )\n\nConfiguration\n==============\n\nSN_FROM_EMAIL\n++++++++++++++\n\nDefault: DEFAULT_FROM_EMAIL\n\nThe from address for your automated emails. Example::\n\n SN_EMAIL_FROM = 'noreply@myshop.com'\n\nSN_OWNERS\n++++++++++\n\nDefault: ADMINS\n\nA tuple that lists people who get notifications about new incoming orders and\npayments. Each member of the tuple should be a tuple of\n(Full name, email address). Example::\n\n (('John', 'john@example.com'), ('Mary', 'mary@example.com'))\n\nTemplates\n==========\n\nIn order to easily provide notifications with the wording and formatting of\nyour choice, there are templates for all email subjects and bodies. In order\nto override the defaults, add the folowing templates to your\n``templates/shop_simplenotifications/`` folder:\n\n * confirmed_subject.txt\n * confirmed_body.txt\n * payment_instructions_subject.txt\n * payment_instructions_body.txt\n\nYou have the option of providing html versions of `confirmed_body.txt` and\n`payment_instructions_body.txt` (in addition to the .txt files), which will be\nsent as an alternative content type for email clients that render html.\n\nAll templates have a ``request`` and an ``order`` variable in their context. \n\nPlease note that the sender in the PaymentBackend should pass the ``request`` as well. \nExample::\n\n confirmed.send(sender=self, order=order, request=request)\n\n\nFeatures\n=========\n\n * When a buyer completes his order, the shop owners get a notification mail\n * When a buyer requests prepayment, the shop owners get a notification mail \n and the buyer gets the payment instructions. The email address will be taken from \n\t\ta) the logged in User, if available and/or \n\t\tb) the billing address, \n\tif available and the address model has an ``email`` attribute. If both address \n\tare equal, only one email will be sent. This works for guests and logged in \n\tUsers. \n * All notification emails can be easily templated.\n\nTesting\n========\n\nIf you want to contribute to this project and quickly need to run the\ntest-suite, you need to do the following steps:\n\n * create a virtual environment\n * fork this repository\n * install this package into your virtual environment\n * manually install the django-shop dependency (this step will be gone soon)\n * execute ``runtests.py``\n\nExample::\n\n mkvirtualenv -p python2.7 yourenvname\n workon yourenvname\n git clone git://github.com/bitmazk/django-shop-simplenotifications.git\n cd django-shop-simplenotifications\n python setup.py install\n pip install -e git+git://github.com/divio/django-shop.git#egg=shop\n cd shop_simplenotifications/tests\n ./runtests.py", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bitmazk/django-shop-simplenotifications", "keywords": "django,django-shop,email,notifications", "license": "BSD License", "maintainer": null, "maintainer_email": null, "name": "django-shop-simplenotifications", "package_url": "https://pypi.org/project/django-shop-simplenotifications/", "platform": "OS Independent", "project_url": "https://pypi.org/project/django-shop-simplenotifications/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/bitmazk/django-shop-simplenotifications" }, "release_url": "https://pypi.org/project/django-shop-simplenotifications/0.2/", "requires_dist": null, "requires_python": null, "summary": "A simple reusable app for django-shop that sends emailnotifications on certain events", "version": "0.2" }, "last_serial": 1057366, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "a60295a564999e0c8325c57f82625c36", "sha256": "fd3b41b73df4f1a48e6645c096bc14d49ee84320e9f13cb5b03efb1e1d121af7" }, "downloads": -1, "filename": "django-shop-simplenotifications-0.1.0.tar.gz", "has_sig": false, "md5_digest": "a60295a564999e0c8325c57f82625c36", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5574, "upload_time": "2011-07-30T18:20:13", "url": "https://files.pythonhosted.org/packages/60/a1/d1a0e3146bdecb20785e5cfa9a3478eae7431540e285c743ce679095588f/django-shop-simplenotifications-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "fcc41e0d91653040bf87061daafd7b9f", "sha256": "953717bc5b433602200d5ed4e66fbbf0285120b933e9aa53473e27982f9ce507" }, "downloads": -1, "filename": "django-shop-simplenotifications-0.1.1.tar.gz", "has_sig": false, "md5_digest": "fcc41e0d91653040bf87061daafd7b9f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6212, "upload_time": "2011-07-30T19:14:08", "url": "https://files.pythonhosted.org/packages/35/a4/27e0f8547f58e99a1e2942c97200c4d28fbd6cb4671a1088bb47a8e5aa83/django-shop-simplenotifications-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "ab2f68a78220ee52ac8dd72f223a9cd2", "sha256": "f1c58a7f5ca3bf8c3132b44201645478291d13a8580c93807e72334719edfc20" }, "downloads": -1, "filename": "django-shop-simplenotifications-0.1.2.tar.gz", "has_sig": false, "md5_digest": "ab2f68a78220ee52ac8dd72f223a9cd2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6425, "upload_time": "2011-08-03T11:09:13", "url": "https://files.pythonhosted.org/packages/a8/9e/52a3cdf47be3dce31531f4c746364508fad86d12c2b9d30cd15829c000b9/django-shop-simplenotifications-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "9cbbe208992a1cf64ebc97505d6cbfda", "sha256": "8d4983845e86f32e009938fc1386e1521a78628e83439dd86038127dc5343314" }, "downloads": -1, "filename": "django-shop-simplenotifications-0.1.3.tar.gz", "has_sig": false, "md5_digest": "9cbbe208992a1cf64ebc97505d6cbfda", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6239, "upload_time": "2012-12-27T13:39:25", "url": "https://files.pythonhosted.org/packages/15/77/002242343963be95498629efe76f7492ade7ae8ab4103b3c1941bc8415dd/django-shop-simplenotifications-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "b6124ac044f281da2062f450f728a7b7", "sha256": "b090dd664fc4712520614905ded61e58f1718ec7a33369e48cc7467de6654884" }, "downloads": -1, "filename": "django-shop-simplenotifications-0.1.4.tar.gz", "has_sig": false, "md5_digest": "b6124ac044f281da2062f450f728a7b7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6386, "upload_time": "2013-10-06T16:36:44", "url": "https://files.pythonhosted.org/packages/95/11/4d26bde64b1a7b2b591727a39e18271c964f9caf4583ab9598265e58434b/django-shop-simplenotifications-0.1.4.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "996dac4abc23d39ed798d4b2442c3715", "sha256": "9c11528688318d1ed5fad97814256d358a885ff5892bbd5fbf36d47293625c84" }, "downloads": -1, "filename": "django-shop-simplenotifications-0.2.tar.gz", "has_sig": false, "md5_digest": "996dac4abc23d39ed798d4b2442c3715", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7000, "upload_time": "2014-04-11T02:02:24", "url": "https://files.pythonhosted.org/packages/c0/06/a2523f131644232b38155753b3fef3bfe3f9b2fabe07253304318a43d543/django-shop-simplenotifications-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "996dac4abc23d39ed798d4b2442c3715", "sha256": "9c11528688318d1ed5fad97814256d358a885ff5892bbd5fbf36d47293625c84" }, "downloads": -1, "filename": "django-shop-simplenotifications-0.2.tar.gz", "has_sig": false, "md5_digest": "996dac4abc23d39ed798d4b2442c3715", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7000, "upload_time": "2014-04-11T02:02:24", "url": "https://files.pythonhosted.org/packages/c0/06/a2523f131644232b38155753b3fef3bfe3f9b2fabe07253304318a43d543/django-shop-simplenotifications-0.2.tar.gz" } ] }