{ "info": { "author": "Dan Collins", "author_email": "dan@dcollins.cc", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Framework :: Django :: 2.0", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "=============================\ndjango-signoff\n=============================\n\n.. image:: https://badge.fury.io/py/django-signoff.svg\n :target: https://badge.fury.io/py/django-signoff\n\n.. image:: https://travis-ci.org/dcollinsn/django-signoff.svg?branch=master\n :target: https://travis-ci.org/dcollinsn/django-signoff\n\n.. image:: https://codecov.io/gh/dcollinsn/django-signoff/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/dcollinsn/django-signoff\n\nPresent users with your Terms of Service and other documents, and record their consent\n\nDocumentation\n-------------\n\nThe full documentation is at https://django-signoff.readthedocs.io.\n\nQuickstart\n----------\n\nInstall django-signoff::\n\n pip install django-signoff\n\nAdd it to your `INSTALLED_APPS`:\n\n.. code-block:: python\n\n INSTALLED_APPS = (\n ...\n 'signoff.apps.SignoffConfig',\n ...\n )\n\nAdd django-signoff's URL patterns:\n\n.. code-block:: python\n\n urlpatterns = [\n ...\n url(r'^signoff/', include('signoff.urls')),\n ...\n ]\n\nIf you want users to be automatically prompted to sign any documents that you\nadd before they can use your site, add django-signoff's middleware:\n\n.. code-block:: python\n\n MIDDLEWARE = (\n ...\n 'signoff.middleware.ConsentMiddleware',\n ...\n )\n\nYou can add some settings to your settings.py file to configure django-signoff:\n\n.. code-block:: python\n\n # Send a notification to the user by email (using django-mailer) when they\n # sign a document, including the text of the document. Default is False.\n SIGNOFF_EMAIL_USER = True\n\n # Send a notification to a defined list of addresses whenever any user\n # signs a document (may be useful for recordkeeping). Default is none.\n SIGNOFF_EMAIL_RECEIPT = ['legal@example.com', ]\n\n # We don't delete signatures from your database, for compliance reasons.\n # However, we do require new signatures whenever a new version of a\n # document is created by creating a new object and setting the\n # `prev_version` field. You can also require new signatures whenever a\n # document is edited in the admin (we check the `updated` field of\n # the document, and only accept newer signatures):\n SIGNOFF_CHECK_DOCUMENT_UPDATED = True\n\n # You can also require new signatures whenever a user's display name\n # changes (we require users to enter their display name when signing\n # a document):\n SIGNOFF_CHECK_FULL_NAME = True\n\n # If you're using the middleware, it will redirect any logged-in requests\n # from users who owe signatures to the 'legal' index by default, except\n # for requests within the 'signoff' app (to avoid redirect loops), and\n # requests to the 'auth_logout' url name (to allow users to log out\n # of the site). If you want to add additional URLs that can be accessed\n # by users who have not signed your documents yet, you can do something\n # like the following:\n SIGNOFF_ADDITIONAL_ALLOWED_APPS = ('djdt', )\n SIGNOFF_ADDITIONAL_ALLOWED_URLS = ('auth_logout', )\n # (The latter is only an example, 'auth_logout' is automatically allowed.)\n\nFeatures\n--------\n\n* TODO\n\nRunning Tests\n-------------\n\nDoes the code actually work?\n\n::\n\n source /bin/activate\n (myenv) $ pip install tox\n (myenv) $ tox\n\nCredits\n-------\n\nTools used in rendering this package:\n\n* Cookiecutter_\n* `cookiecutter-djangopackage`_\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage\n\n\n\n\nHistory\n-------\n\n0.1.1 (2018-06-04)\n++++++++++++++++++\n\n* The app is now usable as a very limited alpha\n * Email options advertised in readme are not implemented\n * Templates could use some work\n* Add default templates\n* Add configuration options\n\n0.1.0 (2018-06-03)\n++++++++++++++++++\n\n* Initial release, demonstration of models and core logic\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/dcollinsn/django-signoff", "keywords": "django-signoff", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "django-signoff", "package_url": "https://pypi.org/project/django-signoff/", "platform": "", "project_url": "https://pypi.org/project/django-signoff/", "project_urls": { "Homepage": "https://github.com/dcollinsn/django-signoff" }, "release_url": "https://pypi.org/project/django-signoff/0.1.1/", "requires_dist": [ "django-model-utils (>=2.0)" ], "requires_python": "", "summary": "Present users with your Terms of Service and other documents, and record their consent", "version": "0.1.1" }, "last_serial": 3930628, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "fc101b9f1d11f64cb61404dd29ac68ce", "sha256": "27e701fe4fbd4f79c435f30107878ff1ab1411d47e75109dba0451350af5376c" }, "downloads": -1, "filename": "django_signoff-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "fc101b9f1d11f64cb61404dd29ac68ce", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8653, "upload_time": "2018-06-04T02:58:34", "url": "https://files.pythonhosted.org/packages/5d/52/3c86d1537d7199c7afe156a83eef67fef7b96bd413e4ebdb3f8ccb97b157/django_signoff-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7932235f319520ea7a581a6242ea5342", "sha256": "f1f3212011c326436e5d21d458b00f7ae0d8276b3251ead3dc5215e820d94362" }, "downloads": -1, "filename": "django-signoff-0.1.0.tar.gz", "has_sig": false, "md5_digest": "7932235f319520ea7a581a6242ea5342", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8412, "upload_time": "2018-06-04T02:58:35", "url": "https://files.pythonhosted.org/packages/df/d8/a5cd87834e059367031b493bc0bbfe14b3cf7b653db5c1c3b3907ba26a26/django-signoff-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "564f332786baab76d4a3aedc73a5e4c0", "sha256": "c5652ac06d2f7dd359deb0d28493028e952e2bbeda0779ddb46189bcb3fef165" }, "downloads": -1, "filename": "django_signoff-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "564f332786baab76d4a3aedc73a5e4c0", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 18364, "upload_time": "2018-06-05T03:11:39", "url": "https://files.pythonhosted.org/packages/81/ac/357d6fc4c7781f85edcffe243141874b7d35f0a004fd061698c41c74a588/django_signoff-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "489f589fb53741bfa971a9aaf514147e", "sha256": "eb7cd6ed09b4e366ee1cb1e0618c0b7d7a61a8057db015cd2452f8873bd096ec" }, "downloads": -1, "filename": "django-signoff-0.1.1.tar.gz", "has_sig": false, "md5_digest": "489f589fb53741bfa971a9aaf514147e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10813, "upload_time": "2018-06-05T03:11:40", "url": "https://files.pythonhosted.org/packages/fa/59/1c5af6be21f7d17930be1ffbd3d353afd24aa11a5f7432e367af72e36533/django-signoff-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "564f332786baab76d4a3aedc73a5e4c0", "sha256": "c5652ac06d2f7dd359deb0d28493028e952e2bbeda0779ddb46189bcb3fef165" }, "downloads": -1, "filename": "django_signoff-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "564f332786baab76d4a3aedc73a5e4c0", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 18364, "upload_time": "2018-06-05T03:11:39", "url": "https://files.pythonhosted.org/packages/81/ac/357d6fc4c7781f85edcffe243141874b7d35f0a004fd061698c41c74a588/django_signoff-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "489f589fb53741bfa971a9aaf514147e", "sha256": "eb7cd6ed09b4e366ee1cb1e0618c0b7d7a61a8057db015cd2452f8873bd096ec" }, "downloads": -1, "filename": "django-signoff-0.1.1.tar.gz", "has_sig": false, "md5_digest": "489f589fb53741bfa971a9aaf514147e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10813, "upload_time": "2018-06-05T03:11:40", "url": "https://files.pythonhosted.org/packages/fa/59/1c5af6be21f7d17930be1ffbd3d353afd24aa11a5f7432e367af72e36533/django-signoff-0.1.1.tar.gz" } ] }