Skip to main content

Arabic Django user management app with abstract user, permissions, and activity logging

Project description

Micro Users - Arabic Django User Management App

PyPI version

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.9+
  • 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 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

  1. Add to INSTALLED_APPS:
INSTALLED_APPS = [
    'users',  # Preferably on top
    'django.contrib.admin',
    'django.contrib.auth',
    ...
]
  1. Set custom user model in settings.py:
AUTH_USER_MODEL = 'users.CustomUser'
  1. Include URLs in your main project folder urls.py:
urlpatterns = [
    ...
    path('manage/', include('users.urls')),
]
  1. make migrations and migrate:
python manage.py makemigrations users
python manage.py migrate users

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


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

Uploaded Source

Built Distribution

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

micro_users-1.0.4-py3-none-any.whl (24.1 kB view details)

Uploaded Python 3

File details

Details for the file micro_users-1.0.4.tar.gz.

File metadata

  • Download URL: micro_users-1.0.4.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for micro_users-1.0.4.tar.gz
Algorithm Hash digest
SHA256 cc8074498a3f94210c357ebd8e697556cd0f980c4f56c77d96c5f8f4496cb744
MD5 c179e85feb8b21a6a5277a749dd4d853
BLAKE2b-256 6b49fb035994cfea7775c9c5811e0106164c2ab7fa5ce84cacf82992a838448a

See more details on using hashes here.

File details

Details for the file micro_users-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: micro_users-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 24.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for micro_users-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e0801274452b0e29c373f85b19695246316aab36be60d3eacbcb25d4628c9aa2
MD5 e67cbd9096e7b6332f61ce5067f79a8c
BLAKE2b-256 7cf90dc54c2ba81545e293a8255512ad7a8ad35330af58cb830320ed5dc7f518

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page