A django app that provides extra features including masquerading, local timezone support on users, an audit log for tracking admin and view-based data changes and activities, and support for Company models and added fields to User model.
Project description
.. image:: https://circleci.com/gh/foundertherapy/django-users-plus.svg?style=svg
:target: https://circleci.com/gh/foundertherapy/django-users-plus
========
Accounts
========
Account is an app that shall add the following features to your Django project::
1. An inherited User model with extra fields like Company, First Name, Last Name, etc...
2. Create users and login using email address instead of username.
3. Masquerading feature.
4. Enabling Timezone to set to the user's local timezone.
5. Audit log model to track extra user specific actions.
Quick start
-----------
1. Add "accounts" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [
...
'accounts',
'django.contrib.sites',
]
2. This library will use the default AuditLogEvent model for events logging, if you need to customize it, please extend it in your app, and add the following tho the settings::
```
AUDIT_LOG_EVENT_MODEL = '<app name>.<the name of the model that is extending the base AuditLogEvent>'
```
3.Include the accounts URLconf in your project urls.py like this::
url(r'^', include('accounts.urls')),
4. Add SITE_ID into settings file.
5. Run `python manage.py migrate` to create the accounts models.
6. Start the development server admin/ to create users and companies. From Users list view, you can take advantage of the masquerading feature.
7. For timezone enablement, add "" to MIDDLEWARE_CLASSES like this::
MIDDLEWARE_CLASSES = (
...
'accounts.middleware.TimezoneMiddleware',
)
8. A new Audit Log model added to capture the following events::
- User creation
- User login
- User logout
- User email change
- Masquerade start
- Masquerade end
- Password change
- Password reset
- Activate user
- Deactivate user
- Company name change
:target: https://circleci.com/gh/foundertherapy/django-users-plus
========
Accounts
========
Account is an app that shall add the following features to your Django project::
1. An inherited User model with extra fields like Company, First Name, Last Name, etc...
2. Create users and login using email address instead of username.
3. Masquerading feature.
4. Enabling Timezone to set to the user's local timezone.
5. Audit log model to track extra user specific actions.
Quick start
-----------
1. Add "accounts" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [
...
'accounts',
'django.contrib.sites',
]
2. This library will use the default AuditLogEvent model for events logging, if you need to customize it, please extend it in your app, and add the following tho the settings::
```
AUDIT_LOG_EVENT_MODEL = '<app name>.<the name of the model that is extending the base AuditLogEvent>'
```
3.Include the accounts URLconf in your project urls.py like this::
url(r'^', include('accounts.urls')),
4. Add SITE_ID into settings file.
5. Run `python manage.py migrate` to create the accounts models.
6. Start the development server admin/ to create users and companies. From Users list view, you can take advantage of the masquerading feature.
7. For timezone enablement, add "" to MIDDLEWARE_CLASSES like this::
MIDDLEWARE_CLASSES = (
...
'accounts.middleware.TimezoneMiddleware',
)
8. A new Audit Log model added to capture the following events::
- User creation
- User login
- User logout
- User email change
- Masquerade start
- Masquerade end
- Password change
- Password reset
- Activate user
- Deactivate user
- Company name change
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-users-plus-1.0.3.tar.gz
(22.8 kB
view details)
Built Distribution
File details
Details for the file django-users-plus-1.0.3.tar.gz
.
File metadata
- Download URL: django-users-plus-1.0.3.tar.gz
- Upload date:
- Size: 22.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0724491c165c225eaa8bea61add3e6e593fdd88d91448f724b4d0a0f5dcf6037 |
|
MD5 | 9b10d783ee5baf6a95f393973c7be583 |
|
BLAKE2b-256 | d1c022016971848c00ea29d5a6d709f12eff5fe37c01792b02759b4321c4ae83 |
File details
Details for the file django-users-plus-1.0.3.macosx-10.11-x86_64.tar.gz
.
File metadata
- Download URL: django-users-plus-1.0.3.macosx-10.11-x86_64.tar.gz
- Upload date:
- Size: 42.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 110e4b846580afb4d18fa89876535fc5436964877724091116bb57182aa05956 |
|
MD5 | 75000bddcce4f2be601339fb59d46750 |
|
BLAKE2b-256 | bac39adfd092f2680fbf4530aae5ff26cf0dda237e3e2e1d9d385ec4761c9d0a |