WTFMongoengine
WTFMongoengine creates WTForms Form classes from Mongoengine Document objects. Example:
from mongoengine import document, fields
from wtfmongoengine.forms import DocumentForm
class User(document.Document):
first_name = fields.StringField(
verbose_name='First name',
max_length=50,
required=True,
)
last_name = fields.StringField(
verbose_name='Last name',
max_length=50,
required=False,
)
email = fields.EmailField(
verbose_name='E-mail address',
required=True,
)
class UserForm(DocumentForm):
class Meta:
document_class = User
# In case you only want to include ``first_name`` in the form
# fields = ('first_name',)
# In case you want to exclude ``email`` from the form
# exclude = ('email',)
Changelog
0.1.2
Dependency fix (wtforms was in tests_require, needed to be in install_requires).
0.1.1
Example updates.
Fix: README.rst and LICENSE included in package.
0.1
Initial release.
Links
Metadata
Release files for WTFMongoengine 0.1.2
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 | Actions |
|---|---|---|---|---|
| WTFMongoengine-0.1.2.tar.gz | 4.7 kB | Without provenance | Details for WTFMongoengine-0.1.2.tar.gz |
Release files / WTFMongoengine-0.1.2.tar.gz
| Download URL | WTFMongoengine-0.1.2.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
18e31df369c6072ff998448e9188eca1923f8914191c12b25a79d6988aa87df8
|
|
BLAKE2b-256 checksum How to use checksums |
c4fb24b7686cfaac5d0184f8e1bc76620193717e492ee9e29f02df1fd00e7ea8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for WTFMongoengine 0.1.2
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.