Django user management app with abstract user, permissions, and activity logging
Project description
Micro Users - Django User Management App
A lightweight, reusable Django app providing user management with abstract user, permissions, localization, and activity logging.
Features
- Custom AbstractUser model
- User permissions system
- Activity logging (login/logout tracking)
- Localization support
- Admin interface integration
- CRUD views and templates
- Filtering and tabulation
Installation
pip install git+https://github.com/debeski/micro-users.git
# OR local
pip install micro-users
Configuration
- Add to
INSTALLED_APPS:
INSTALLED_APPS = [
...
'django_tables2',
'django_filters',
'crispy_forms',
'users', # Add this
]
- Set custom user model in settings.py:
AUTH_USER_MODEL = 'users.User'
- Include URLs in your main project folder
urls.py:
urlpatterns = [
...
path('users/', include('users.urls')),
]
- make migrations and migrate:
python manage.py makemigrations users
python manage.py migrate users
Requirements
- Python 3.9+
- Django 5.1+
- See setup.py for full dependencies
Structure
users/
├── models.py # User model, permissions, activity logs
├── views.py # CRUD operations
├── urls.py # URL routing
├── admin.py # Admin integration
├── templates/ # HTML templates
└── migrations/ # Database migrations
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 Distribution
micro_users-1.0.1.tar.gz
(17.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file micro_users-1.0.1.tar.gz.
File metadata
- Download URL: micro_users-1.0.1.tar.gz
- Upload date:
- Size: 17.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fade158f857e902b489677618f5edf75f282659eaa313d09e376aa6990b9ebc7
|
|
| MD5 |
95b5015e3e624c9ac631f8dd7481bdbf
|
|
| BLAKE2b-256 |
73137e8897cd0bb819999871da51c8197cc45b0bebd1c5c9acd1f49c552e09c6
|
File details
Details for the file micro_users-1.0.1-py3-none-any.whl.
File metadata
- Download URL: micro_users-1.0.1-py3-none-any.whl
- Upload date:
- Size: 22.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48d78def04ce2588d83d73cd615ba912df285c7f59e5147f35f2165fd2783656
|
|
| MD5 |
5ece3e1f915a218ff1226a1493824b4c
|
|
| BLAKE2b-256 |
d88f9dadaceeae877179b6273d09c73fcaf3190998f4cc92f5daf9f357f37abe
|