Saves the current user with an Aldryn Form for DjangoCMS.
Project description
An extension to the Aldryn Forms plugin that adds a Current User form field type. If there is a valid logged-in user session (request.user), that user’s information will be saved along with the form submission.
When you build your form, you can select to save the user’s:
User ID
Username
Email Address
Full Name
Installation
Install via pip:
pip install djangocms-currentuser-field
Add to your INSTALLED_APPS (in settings.py):
INSTALLED_APPS = ( ... 'djangocms-currentuser-field', ... )
Run migrations:
python manage.py migrate djangocms-current-user
“Current User Field” should now be available as a plugin in the CMS when you build a form!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for djangocms-currentuser-field-0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c1431e948d1ee9d25df7913133d5c4cb4079e081f3df254de5f285579350dd3 |
|
MD5 | 8c7963c31f5a776e09ca4b899cee0218 |
|
BLAKE2b-256 | 974449b4be469e3f3f34b26f26e51d2df2f57c2f1201d6a25f68c4dcbd5be013 |
Close
Hashes for djangocms_currentuser_field-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 088ac1597e9ac6b7073ae1da8aeada971b5ce2689e46cb856208719219b0257f |
|
MD5 | e114285f549264d935cf72663c7329e6 |
|
BLAKE2b-256 | 4149a1aad8e6afb80b7306e947b2dac52fc195ed0ed4e3fdddd08f82fa0d31f1 |