Metadata-Version: 2.1
Name: djangocms-currentuser-field
Version: 0.1
Summary: Saves the current user with an Aldryn Form for DjangoCMS.
Home-page: https://github.com/ketaro/djangocms-currentuser-field
Author: Nick Avgerinos
Author-email: nicka@axcella.com
License: BSD License
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django :: 1.9
Classifier: Framework :: Django :: 1.10
Classifier: Framework :: Django :: 1.11
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content

djangocms-currentuser-field
===========================

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
------------

1. Install via pip::

    pip install djangocms-currentuser-field

2. Add to your ``INSTALLED_APPS`` (in ``settings.py``)::

    INSTALLED_APPS = (
    ...
     'djangocms-currentuser-field',
    ...
    )

3. Run migrations::

    python manage.py migrate djangocms-current-user

4. "Current User Field" should now be available as a plugin in the CMS when you build a form!

