/shop\\_subscribe/confirm-form.html\n\nThese templates will be rendered with ``form`` and ``action`` context\nvariables. Here is what the plugin should look like:\n\n.. figure:: https://github.com/racitup/djangoshop-subscribe/raw/master/doc/img/cms-plugin.png\n :alt: CMS Plugin\n\n CMS plugin image\n\nSubscription Form\n^^^^^^^^^^^^^^^^^\n\n.. figure:: https://github.com/racitup/djangoshop-subscribe/raw/master/doc/img/subscribe.png\n :alt: Subscription form\n\n Subscription form image\n\nIt is recommended that the subscription form is embedded into an\nexisting product page, for example the product detail page. This can be\nacheived using the CMS plugin as above. Alternatively you may include\nthe form directly into a template, for example:\n\n.. code:: html+django\n\n \n ...\n {% include \"shop_subscribe/subscribe-form.html\" %}\n ...\n
\n\nAn included template tag ensures the relevant context variables are\navailable for rendering.\n\nConfirmation Form\n^^^^^^^^^^^^^^^^^\n\n.. figure:: https://github.com/racitup/djangoshop-subscribe/raw/master/doc/img/confirm.png\n :alt: Confirmation form\n\n Confirmation form image\n\nThe confirmation form can be on a CMS page as above, included in a\nstandard Django template, or as a last resort, a default form is\nincluded that will be rendered by Django REST Framework.\n\nConfirmation form email link URL resolution order:\n\n1. CMS page id (aka reverse\\_id): ``shop-subscribe-confirm``;\n2. Django URL name: ``shop-subscribe-confirm``;\n3. Default URL ``shop_subscribe:confirm`` which renders a default form.\n\n**Note:** The confirmation page must be live when the subscription form\nis live and the URL must not be changed. Otherwise the confirmation\nemail links sent out will not point to the correct URL.\n\nMinimal Checkout Customer Form\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\nLook for the *Customer Form (minimal)* CMS plugin.\n*Note* that any fields added to the Customer Model must be configured to allow blank form entries\n(``blank=True`` and/or specify a default value) for correct operation.\n\nAdmin\n~~~~~\n\nTo add subscriptions management to the customer admin, you must create your own customer admin\nmodule derived from the shop base module, like so:\n\n.. code:: python\n\n from django.contrib import admin\n from shop.admin.customer import CustomerProxy, CustomerAdminBase\n from shop_subscribe.admin import SubscriptionsInlineAdmin\n\n\n # Because Customer is attached to the user model, use this proxy model:\n @admin.register(CustomerProxy)\n class CustomerAdmin(CustomerAdminBase):\n \"\"\"Customised customeradmin class\"\"\"\n inlines = (SubscriptionsInlineAdmin,)",
"description_content_type": null,
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/racitup/djangoshop-subscribe",
"keywords": "Django,Django-SHOP",
"license": "BSD License",
"maintainer": "",
"maintainer_email": "",
"name": "djangoshop-subscribe",
"package_url": "https://pypi.org/project/djangoshop-subscribe/",
"platform": "OS Independent",
"project_url": "https://pypi.org/project/djangoshop-subscribe/",
"project_urls": {
"Homepage": "https://github.com/racitup/djangoshop-subscribe"
},
"release_url": "https://pypi.org/project/djangoshop-subscribe/0.2.1/",
"requires_dist": null,
"requires_python": "",
"summary": "An email subscription plugin for Django-SHOP",
"version": "0.2.1"
},
"last_serial": 3276404,
"releases": {
"0.1.0": [
{
"comment_text": "",
"digests": {
"md5": "cafe0dbbc9139f707cfb1480cde24e3d",
"sha256": "32758507748f9bc302b5636214bcd45d6f01e0067ba4cde015baf82cccd27f0b"
},
"downloads": -1,
"filename": "djangoshop-subscribe-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "cafe0dbbc9139f707cfb1480cde24e3d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 41833,
"upload_time": "2017-07-27T23:29:45",
"url": "https://files.pythonhosted.org/packages/16/bf/4e07f2b4f373e4b7c7339a0c7bcb6ef90db1201f3e3a31d9b24f10941034/djangoshop-subscribe-0.1.0.tar.gz"
}
],
"0.1.1": [
{
"comment_text": "",
"digests": {
"md5": "7ed4132e7b081e7b5f2d5af034cd50f8",
"sha256": "fa6de2577b6bacef7c5076bb1d645fdd6f0f4c2a40e1972543ee3a1ec879aab7"
},
"downloads": -1,
"filename": "djangoshop-subscribe-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "7ed4132e7b081e7b5f2d5af034cd50f8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 42718,
"upload_time": "2017-08-08T16:02:57",
"url": "https://files.pythonhosted.org/packages/61/35/68c315d19998887a8394c1c94fce9e1ab1e67965a4a6f4fac145de72ba5c/djangoshop-subscribe-0.1.1.tar.gz"
}
],
"0.1.2": [
{
"comment_text": "",
"digests": {
"md5": "b3caae387ac848b3ffd20a85e7b0154a",
"sha256": "56f4d8130c4804f32740cc04f9bac470612d6a12ead3314f58897c5f1df9bc87"
},
"downloads": -1,
"filename": "djangoshop-subscribe-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "b3caae387ac848b3ffd20a85e7b0154a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 42739,
"upload_time": "2017-08-09T15:25:29",
"url": "https://files.pythonhosted.org/packages/39/7c/1f5111af4ef82e1ea0dcb4129d9824b9df40b1e031b40e5d2fd164a1e9d0/djangoshop-subscribe-0.1.2.tar.gz"
}
],
"0.2.0": [
{
"comment_text": "",
"digests": {
"md5": "e7d6709e259634443b6666a05b29d299",
"sha256": "20614dfc3f2589d11c5c64d1e6a39d5974b3bf8f94cfd214acacd9485f442df5"
},
"downloads": -1,
"filename": "djangoshop-subscribe-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "e7d6709e259634443b6666a05b29d299",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 43508,
"upload_time": "2017-10-04T04:47:30",
"url": "https://files.pythonhosted.org/packages/78/cd/2d46e2a8c1ccd26f580ab6687a8ca07d45b2ed22f0ccc3a2014595e93174/djangoshop-subscribe-0.2.0.tar.gz"
}
],
"0.2.1": [
{
"comment_text": "",
"digests": {
"md5": "e58921007dcf30d52dc8eb84303efec6",
"sha256": "9a314c031a76b25dc61db6f405b4c2961a83241f6a1830e394276b0dff579ce8"
},
"downloads": -1,
"filename": "djangoshop-subscribe-0.2.1.tar.gz",
"has_sig": false,
"md5_digest": "e58921007dcf30d52dc8eb84303efec6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 42900,
"upload_time": "2017-10-24T23:05:20",
"url": "https://files.pythonhosted.org/packages/61/c2/3ddc44b046d4facc1fdbf53ef46cd2ad0918794ea8e1db8aa18e7bdd1a2e/djangoshop-subscribe-0.2.1.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "e58921007dcf30d52dc8eb84303efec6",
"sha256": "9a314c031a76b25dc61db6f405b4c2961a83241f6a1830e394276b0dff579ce8"
},
"downloads": -1,
"filename": "djangoshop-subscribe-0.2.1.tar.gz",
"has_sig": false,
"md5_digest": "e58921007dcf30d52dc8eb84303efec6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 42900,
"upload_time": "2017-10-24T23:05:20",
"url": "https://files.pythonhosted.org/packages/61/c2/3ddc44b046d4facc1fdbf53ef46cd2ad0918794ea8e1db8aa18e7bdd1a2e/djangoshop-subscribe-0.2.1.tar.gz"
}
]
}