django-dataforms is a wrapper for the Django forms API that lets you dynamically define forms in a database, rather than hard-coding form definitions. This can be especially helpful for projects that have many forms and/or forms which constantly change, and you don’t want to be constantly updating models and schemas. No model creation required.
See the Documentaion for more information.
Go from this…
# forms.py
from django import forms
class ContactForm(forms.Form):
subject = forms.CharField(max_length=100)
message = forms.CharField()
sender = forms.EmailField()
cc_myself = forms.BooleanField(required=False)
# view.py
def contact(request):
if request.method == 'POST':
form = ContactForm(request.POST)
# ...
else:
form = ContactForm()
return render_to_response('contact.html', {'form': form,})
To this!
# Now your form is stored in the database and you can # change it without changing a model and DB schema! create_form(request, form="contact-form" submission="mySubmission")
Metadata
Release files for django-dataforms 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| django-dataforms-0.2.0.tar.gz | 102.0 kB | Without provenance | Details |
Release files / django-dataforms-0.2.0.tar.gz
| Download URL | django-dataforms-0.2.0.tar.gz |
|---|---|
| Size | 102.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e4f995e608a7ce4295ee6d4f13848661636c0833e3f88ee7209407878e5d938f
|
|
BLAKE2b-256 checksum How to use checksums |
034e62332edaa315b6c09aac75681183b9909e3f7540f8391ee4be7b83b04792
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-dataforms 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.