{ "info": { "author": "Roald de Vries", "author_email": "roald@go2people.nl", "bugtrack_url": null, "classifiers": [], "description": ".. |...| unicode:: U+2026 .. ellipsis\n\n===================\ndjango-dynamicforms\n===================\n\nDynamically add forms to your site through the admin interface.\n\nWith django-dynamicforms you can:\n\n- add forms through the admin interface\n- add (custom) form fields through the admin interface\n- reuse form fields in different forms\n- customize predefined forms through the admin interface\n- send personalized e-mails to submitters of dynamicforms\n- download data posted to forms as CSV\n\nInstall\n=======\n\n- ``pip install django-dynamicforms``\n- add ``'dynamicforms'`` to your ``INSTALLED_APPS``\n- add ``(r'^dynamicforms/', include('dynamicforms.urls'))`` to your ``urls.py``\n\nDependencies\n============\n\n``django >= 1.3``, ``html2text``\n\nSettings\n========\n\nThere are two optional settings: ``DYNAMICFORM_TYPES`` and ``DYNAMICFIELD_TYPES``, which define custom form and field types respectively. For example::\n\n DYNAMICFORM_TYPES = {\n 'newsletter-subscription': {\n 'VERBOSE_NAME': 'Newsletter subscription',\n 'BASE_FORM': 'newsletters.forms.SubscriptionForm',\n 'SUCCESS_URL': '/newsletter/thanks/',\n 'TEMPLATE': 'dynamicforms/form.html',\n 'TAG_TEMPLATE': 'dynamicforms/_form.html',\n 'EMAIL_TEMPLATE': 'dynamicforms/notification.html',\n },\n }\n\n DYNAMICFIELD_TYPES = {\n 'phone': {\n 'VERBOSE_NAME': 'Phone number',\n 'FIELD': 'phone.forms.PhoneField',\n 'HAS_CHOICES': False,\n 'DEFAULT': '',\n 'WIDGET': 'django.forms.TextInput'\n },\n }\n\nResponse e-mails are sent from ``settings.DEFAULT_FROM_EMAIL``.\nNotification e-mails are sent from ``settings.SERVER_EMAIL``.\n\nUsage\n=====\n\nTemplate tag\n------------\n\nEvery form has its own page, but can also be included in other pages with::\n\n {% load dynamicform_tags %}\n ...\n {% show_dynamicform %}\n\nIt will always post to its own url, though, and validation errors will have to be corrected there.\n\nTemplates\n---------\n\nThe templates used to render dynamicforms can be overridden by custom form types, but default to:\n- ``dynamicforms/form.html`` for the form url\n- ``dynamicforms/_form.html`` for the template tag\n- ``dynamicforms/notification.eml`` for the notification e-mail\n\nWishlist\n========\n\n- adapt labels/help_text/|...| of (predefined) base form fields\n- nicer report of data\n- optional integration with messages framework\n- dynamicformwizard\n- better/more tests\n\n.. vim: ft=rst", "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/roalddevries/django-dynamicforms/", "keywords": null, "license": "LICENSE.txt", "maintainer": null, "maintainer_email": null, "name": "django-dynamicforms", "package_url": "https://pypi.org/project/django-dynamicforms/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-dynamicforms/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/roalddevries/django-dynamicforms/" }, "release_url": "https://pypi.org/project/django-dynamicforms/0.1.2/", "requires_dist": null, "requires_python": null, "summary": "Dynamically add forms to your site through the admin interface.", "version": "0.1.2" }, "last_serial": 789521, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "18c6b8f3282ccd206735a11baa003c00", "sha256": "827bab1f628c921a9ccab070ae935ad1cc746bb9d2e88180a1efd8135469b124" }, "downloads": -1, "filename": "django-dynamicforms-0.1.tar.gz", "has_sig": false, "md5_digest": "18c6b8f3282ccd206735a11baa003c00", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9201, "upload_time": "2011-07-01T09:24:55", "url": "https://files.pythonhosted.org/packages/fa/ea/5c1d904fe64089d3f9d86ccd0485ae830b1577bdd7a7f135daed7056988e/django-dynamicforms-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "2a7115885ad781c713a165fb1a3ca0bc", "sha256": "663a0d9e27d53b1ae06c8a6e902f378f439ac8227442337a9fea769aecc40fc8" }, "downloads": -1, "filename": "django-dynamicforms-0.1.1.tar.gz", "has_sig": false, "md5_digest": "2a7115885ad781c713a165fb1a3ca0bc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9798, "upload_time": "2011-07-01T09:43:09", "url": "https://files.pythonhosted.org/packages/79/a0/14fef5801d6f552635075e920f6919a112a593ee6f6e43305fa9ec37dea8/django-dynamicforms-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "d4c54566b4a07c06e8abd585ae6b215b", "sha256": "92d57590dec242dbe873940234588c983f0fcfb4d8b1389046629a1a89862990" }, "downloads": -1, "filename": "django-dynamicforms-0.1.2.tar.gz", "has_sig": false, "md5_digest": "d4c54566b4a07c06e8abd585ae6b215b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10239, "upload_time": "2011-07-03T01:47:22", "url": "https://files.pythonhosted.org/packages/97/2b/7f9dec2147352e7e8e1d059b29433a84876e68abbea8191abdc132dff05a/django-dynamicforms-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d4c54566b4a07c06e8abd585ae6b215b", "sha256": "92d57590dec242dbe873940234588c983f0fcfb4d8b1389046629a1a89862990" }, "downloads": -1, "filename": "django-dynamicforms-0.1.2.tar.gz", "has_sig": false, "md5_digest": "d4c54566b4a07c06e8abd585ae6b215b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10239, "upload_time": "2011-07-03T01:47:22", "url": "https://files.pythonhosted.org/packages/97/2b/7f9dec2147352e7e8e1d059b29433a84876e68abbea8191abdc132dff05a/django-dynamicforms-0.1.2.tar.gz" } ] }