{ "info": { "author": "Arthur Chang", "author_email": "arthurc0102@gmail.com", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python :: 3" ], "description": "# Django Handwriting Widget\n\n> A handwriting widget for django \n> Using [signature_pad](https://github.com/szimek/signature_pad) for js library\n\n## Installation\n\nInstall with `pip`\n\n```\npip install django-handwriting-widget\n```\n\nAdd this app to `INSTALLED_APPS` in `settings.py`\n\n```python\nINSTALLED_APPS = [\n ...\n 'handwriting',\n]\n```\n\n## Usage\n\n[Example model](e_signatures/models.py)\n\n### Form\n\n```python\nfrom django import forms\n\nfrom handwriting.forms import HandwritingPad\n\nfrom .models import Signature\n\n\nclass SignatureForm(forms.ModelForm):\n class Meta:\n model = Signature\n fields = '__all__'\n widgets = {\n 'image': HandwritingPad(),\n }\n```\n\n### Admin\n\n```python\nfrom django.contrib import admin\n\nfrom handwriting.admin import HandwritingPadModelAdmin\n\nfrom .models import Signature\n\n\n@admin.register(Signature)\nclass SignatureAdmin(HandwritingPadModelAdmin):\n list_display = ('name', 'create_at')\n```\n\nor \n\n```python\nfrom django.contrib import admin\n\nfrom handwriting.admin import HandwritingPadAdminMixin\n\nfrom .models import Signature\n\n\n@admin.register(Signature)\nclass SignatureAdmin(HandwritingPadAdminMixin, admin.ModelAdmin):\n list_display = ('name', 'create_at')\n```\n\nor\n\n```python\nfrom django.contrib import admin\n\nfrom .forms import SignatureForm\nfrom .models import Signature\n\n\n@admin.register(Signature)\nclass SignatureAdmin(admin.ModelAdmin):\n form = SignatureForm\n list_display = ('name', 'create_at')\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/arthurc0102/django-handwriting-widget", "keywords": "handwrite", "license": "", "maintainer": "", "maintainer_email": "", "name": "django-handwriting-widget", "package_url": "https://pypi.org/project/django-handwriting-widget/", "platform": "", "project_url": "https://pypi.org/project/django-handwriting-widget/", "project_urls": { "Homepage": "https://github.com/arthurc0102/django-handwriting-widget" }, "release_url": "https://pypi.org/project/django-handwriting-widget/0.0.3/", "requires_dist": [ "django" ], "requires_python": "", "summary": "A handwriting widget for django", "version": "0.0.3" }, "last_serial": 5931087, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "1259b22284898a27993e11624f620951", "sha256": "00106ad5395e402979d4031f26d4439c475b7d9cd4b512ae47f61a8d5305751b" }, "downloads": -1, "filename": "django_handwriting_widget-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "1259b22284898a27993e11624f620951", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3059, "upload_time": "2019-10-05T05:10:51", "url": "https://files.pythonhosted.org/packages/62/7e/d6ed87d81712e568518274d82baa0ab7f3fc2350374dbd922a125f5351ad/django_handwriting_widget-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4f32e357f47038611835f018facd531e", "sha256": "693e9749e8f4ba590e116e0091642fddf0655be09eb5e46e7c94e1e90c773888" }, "downloads": -1, "filename": "django-handwriting-widget-0.0.1.tar.gz", "has_sig": false, "md5_digest": "4f32e357f47038611835f018facd531e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2572, "upload_time": "2019-10-05T05:10:53", "url": "https://files.pythonhosted.org/packages/12/c9/9d2f78a547c639ac0542eb5053a6055d77d15d49c0b95d251be4f1ddeba9/django-handwriting-widget-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "a5a703f13b1f56c84064df0b1d9273db", "sha256": "8d35012edb1fadcee4cc3d1068d6bd3154a4a9c041097fe43af010933fc9ac47" }, "downloads": -1, "filename": "django_handwriting_widget-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "a5a703f13b1f56c84064df0b1d9273db", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3061, "upload_time": "2019-10-05T05:17:53", "url": "https://files.pythonhosted.org/packages/76/41/bb0c7d32d804d808d5c2645d40cb36d4af3be01ef8b3759bded46843308d/django_handwriting_widget-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f0bc56ec62fa05b4d5fdf7fb2b7e3169", "sha256": "0cc97de183e79e762b8d95aafb8d36339ffbaa9a2b94ac6504456159f85dcc90" }, "downloads": -1, "filename": "django-handwriting-widget-0.0.2.tar.gz", "has_sig": false, "md5_digest": "f0bc56ec62fa05b4d5fdf7fb2b7e3169", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2572, "upload_time": "2019-10-05T05:17:55", "url": "https://files.pythonhosted.org/packages/20/83/4a1a71943e9ae07a0fa48a4a50c39418cac6ab721f15cf0134899f480d43/django-handwriting-widget-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "40e9a166e59d75c5e7f4e1a300a9b948", "sha256": "d4158e0d801c7143f317f3ea57ad2459604c530a7194c9b8b6c89ab3f8d5fd9d" }, "downloads": -1, "filename": "django_handwriting_widget-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "40e9a166e59d75c5e7f4e1a300a9b948", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3054, "upload_time": "2019-10-05T05:20:50", "url": "https://files.pythonhosted.org/packages/ec/52/9c6346ef30e77bd07079e8eb98dd80d3be29280881ed588e617581a77247/django_handwriting_widget-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "de5c335a97fef12392d3db90d847244f", "sha256": "dbc9608499cec8bbbe46135acb15867abc945e12651a0e11f58dd81444d52d51" }, "downloads": -1, "filename": "django-handwriting-widget-0.0.3.tar.gz", "has_sig": false, "md5_digest": "de5c335a97fef12392d3db90d847244f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2562, "upload_time": "2019-10-05T05:20:52", "url": "https://files.pythonhosted.org/packages/2e/40/fd9c2baf9210dc917896679bc2438a9ceac9c4c62d27378a83cea748f572/django-handwriting-widget-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "40e9a166e59d75c5e7f4e1a300a9b948", "sha256": "d4158e0d801c7143f317f3ea57ad2459604c530a7194c9b8b6c89ab3f8d5fd9d" }, "downloads": -1, "filename": "django_handwriting_widget-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "40e9a166e59d75c5e7f4e1a300a9b948", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3054, "upload_time": "2019-10-05T05:20:50", "url": "https://files.pythonhosted.org/packages/ec/52/9c6346ef30e77bd07079e8eb98dd80d3be29280881ed588e617581a77247/django_handwriting_widget-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "de5c335a97fef12392d3db90d847244f", "sha256": "dbc9608499cec8bbbe46135acb15867abc945e12651a0e11f58dd81444d52d51" }, "downloads": -1, "filename": "django-handwriting-widget-0.0.3.tar.gz", "has_sig": false, "md5_digest": "de5c335a97fef12392d3db90d847244f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2562, "upload_time": "2019-10-05T05:20:52", "url": "https://files.pythonhosted.org/packages/2e/40/fd9c2baf9210dc917896679bc2438a9ceac9c4c62d27378a83cea748f572/django-handwriting-widget-0.0.3.tar.gz" } ] }