Skip to main content

Install user details plugin for NEMO

Project description

Code style: black PyPI - Python Version PyPI

NEMO User Details

This plugin for NEMO adds extra fields to users.

The following fields can be enabled in Customization -> User details:

  • employee id
  • ORCID
  • phone number
  • emergency contact
  • groups (from django authentication groups)
  • gender
  • race
  • ethnicity

If groups are enabled, there will also be a new option in email broadcast to email based on the groups they belong to.

Installation

pip install NEMO-user-details

django-admin migrate NEMO_user_details

Add NEMO User Details

in settings.py add to INSTALLED_APPS:

INSTALLED_APPS = [
    '...',
    'NEMO_user_details',
    '...'
]

to track changes to details with auditlog, in settings.py add to AUDITLOG_INCLUDE_TRACKING_MODELS:

AUDITLOG_INCLUDE_TRACKING_MODELS = (
    '...',
    "NEMO_user_details.UserDetails",
    '...',
)

Usage

Go to Detailed administration to add choices for each field if needed (groups, gender, ethnicity, race).

Then go to Customization -> User details and select which fields you want to enable and require.

Then simply navigate to the User page in the Administration menu and the new fields will be available.

NEMO Compatibility

NEMO >= 5.2.0 & NEMO-CE >= 2.2.0 ----> NEMO-user-details >= 1.8.0

NEMO >= 4.7.0 & NEMO-CE >= 1.7.0 ----> NEMO-user-details >= 1.7.0

NEMO >= 4.5.0 & NEMO-CE >= 1.2.0 ----> NEMO-user-details >= 1.6.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

NEMO_user_details-1.8.0-py3-none-any.whl (21.2 kB view details)

Uploaded Python 3

File details

Details for the file NEMO_user_details-1.8.0-py3-none-any.whl.

File metadata

File hashes

Hashes for NEMO_user_details-1.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 85c9e6609f7f7b6ee2a877e82aa0879a398c63f636538e4a0dbfbde61e1e3a02
MD5 83517dfc4b635ec350797039e583cc64
BLAKE2b-256 49673471a8ddb0f6f2e0b6241d0bfe30a73f63a9335dbaba440da8c0bf8d9c10

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page