Skip to main content
.. 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

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.1.tar.gz (19.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_users_plus-1.0.1-py2-none-any.whl (18.9 kB view details)

Uploaded Python 2

File details

Details for the file django-users-plus-1.0.1.tar.gz.

File metadata

File hashes

Hashes for django-users-plus-1.0.1.tar.gz
Algorithm Hash digest
SHA256 91c80e6eea68390922266e6b928a4a513501d06780b24b299b1d6f9e42066773
MD5 2a61c950502e11cd694e7cad9d482c90
BLAKE2b-256 7499ac1140fd479b98fda867e89bff0bba7bfa6bc34f27e074bdfd25323ba3d0

See more details on using hashes here.

File details

Details for the file django_users_plus-1.0.1-py2-none-any.whl.

File metadata

File hashes

Hashes for django_users_plus-1.0.1-py2-none-any.whl
Algorithm Hash digest
SHA256 803ab039c02f87a4fbe9bc609f351aa136e33ef0dead09da86dd2877e31b2d14
MD5 e96868f1b50f4eceb8b96303d0f709f1
BLAKE2b-256 7a935a0499559d915de4b679f7ec82ae90421c3caf335d67b14104476597d9a7

See more details on using hashes here.

Release history Release notifications | RSS feed

1.3.1

1 file

1.2.0

1 file

1.1.0

1 file

1.0.3

2 files

1.0.2

1 file

This release

1.0.1 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page