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
## **Directory structure:**
micro-users/ ├── users/ # This is the actual package name │ ├── init.py │ ├── models.py │ ├── views.py │ ├── urls.py │ ├── admin.py │ └── templates/ ├── setup.py └── README.md
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
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.0-py3-none-any.whl.
File metadata
- Download URL: micro_users-1.0.0-py3-none-any.whl
- Upload date:
- Size: 14.1 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 |
4eaa95191d0feeb0056e21d8018905da4064c590ab194120bd0248e432723493
|
|
| MD5 |
5700011ea50b002522c314c3fc995e21
|
|
| BLAKE2b-256 |
2c4d252a4dd5a1d3a30f1567172757eab4b6ba00ae665a4fc2cc49a6e9417675
|