Arabic Django user management app with abstract user, permissions, and activity logging
Project description
Micro Users - Arabic Django User Management App
Arabic lightweight, reusable Django app providing user management with abstract user, permissions, localization, and activity logging.
Requirements
- Must be installed on a fresh database.
- Python 3.11+
- Django 5.1+
- django-crispy-forms 2.4+
- django-tables2 2.7+
- django-filter 24.3+
- pillow 11.0+
- babel 2.1+
Features
- Custom AbstractUser model
- User permissions system
- Activity logging (login/logout, CRUD tracking)
- Specific User detail and log view new
- 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 = [
'users', # Preferably on top
'django.contrib.admin',
'django.contrib.auth',
...
]
- Set custom user model in settings.py:
AUTH_USER_MODEL = 'users.CustomUser'
- Include URLs in your main project folder
urls.py:
urlpatterns = [
...
path('manage/', include('users.urls')),
]
- Run migrations:
python manage.py migrate users
Structure
users/
├── views.py # CRUD operations
├── urls.py # URL routing
├── tables.py # User and Activity Log tables
├── signals.py # Logging signals
├── models.py # User model, permissions, activity logs
├── forms.py # Creation, edit,. etc.
├── filter.py # Search filters
├── apps.py # Permissions Localization
├── admin.py # Admin UI integration
├── __init__.py # Python init
├── templates/ # HTML templates
├── static/ # CSS classes
└── migrations/ # Database migrations
Version History
| Version | Changes |
|---|---|
| v1.0.0 | • Initial release as pip package |
| v1.0.1 | • Fixed a couple of new issues as a pip package |
| v1.0.2 | • Fixed the readme and building files |
| v1.0.3 | • Still getting the hang of this pip publish thing |
| v1.0.4 | • Honestly still messing with and trying settings and stuff out |
| v1.1.0 | • OK, finally a working seamless micro-users app |
| v1.1.1 | • Fixed a bug where a staff member can edit the admin details |
| v1.2.0 | • Added User Details view with specific user activity log |
| v1.2.1 | • Fixed a minor import bug |
| v1.2.3 | • Separated user detail view from table for consistency • Optimized the new detail + log view for optimal compatibiliyy with users |
| v1.2.4 | • Fixed a couple of visual inconsistencies |
| v1.3.0 | • Patched a critical security permission issue • Disabled ADMIN from being viewed/edited from other staff members • Fixed an issue when sorting with full_name • Enabled Logging for all actions |
| v1.3.1 | • replaced a misplaced code that caused a crash when editing profile |
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.3.1.tar.gz
(23.2 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.3.1.tar.gz.
File metadata
- Download URL: micro_users-1.3.1.tar.gz
- Upload date:
- Size: 23.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56de629cb6eaf5448d0a39a2eba16644833f31be03933d6fcd368d4e0609f0ca
|
|
| MD5 |
ca1de14bbe461dc61d2d6e8da7c5877e
|
|
| BLAKE2b-256 |
1c5df1ce8a531fc1d1cc0a5fb5db87a91ee35be262a080ed7a2d40484f4c7c61
|
File details
Details for the file micro_users-1.3.1-py3-none-any.whl.
File metadata
- Download URL: micro_users-1.3.1-py3-none-any.whl
- Upload date:
- Size: 29.6 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 |
a8808815142e94b4ef5acb0bcaa53118044ac01dd114b79eb4546b025a76cae1
|
|
| MD5 |
801883773899503d700bacd380fa9600
|
|
| BLAKE2b-256 |
6e9496884ffc3fa5c2a9a795e8502356b6e93226a648f1c3e8bec9013ca2fa81
|