Authentication for clinicedc/edc projects.
Project description
edc-auth
Authentication for the Edc
Importing users
You create user accounts by importing a specially formatted CSV file. Once an account is created a “Welcome” email may be sent.
Import users from a CSV file with columns:
username
first_name
last_name
job_title
email
alternate_email
mobile
sites: a comma-separated list of sites
groups: a comma-separated list of groups
Then import the users from your application commandline
python manage.py import_users --csvfile=/Users/erikvw/meta_users.csv --notify-to-test-email=ew2789@gmail --resource-name=meta.clinicedc.org --resend-as-new
Legacy notes
Important: If you are upgrading from edc_base.auth:
The userprofile table is now in edc_auth. edc_auth has one migration for this table. Copy the same table from edc_base and fake the edc_auth migration.
CREATE TABLE edc_auth_userprofile LIKE edc_base_userprofile;
INSERT edc_auth_userprofile SELECT * FROM edc_base_userprofile;
python manage.py migrate edc_auth --fake
You can now run the edc_base migration safely.
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
edc_auth-0.1.31-py3-none-any.whl
(62.0 kB
view details)
File details
Details for the file edc_auth-0.1.31-py3-none-any.whl
.
File metadata
- Download URL: edc_auth-0.1.31-py3-none-any.whl
- Upload date:
- Size: 62.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e2e9d89ac0a3d40d1812169815657db22116284adc16716cb276958f254d1ab |
|
MD5 | 5747e5dd7e3396d5f4ddc5af7153f7bc |
|
BLAKE2b-256 | ba85700d0f8080660a6e08a6d5f6cacfb7a45ccb17a4f4db83fabbc49fdc6ab7 |