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.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)
  • 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. Run migrations:
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

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 minot import bug

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.2.1.tar.gz (18.0 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.2.1-py3-none-any.whl (24.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: micro_users-1.2.1.tar.gz
  • Upload date:
  • Size: 18.0 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.2.1.tar.gz
Algorithm Hash digest
SHA256 8f798c30faaa7e037387a873765266cf3bf11eaafb091ee41088d53d2e8fd62d
MD5 78bf4f8e40b42d6139c85a295c93f726
BLAKE2b-256 68001439cf415d95c7fae377512e7406849e4aa74f6770bf5b5283c64075d6ad

See more details on using hashes here.

File details

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

File metadata

  • Download URL: micro_users-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 24.3 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.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d9741b16a132e13bc2834a599680694e77fcc0767b6f991592bc3aa68ad7fc4f
MD5 8e30f16c71a4d1ba14841af7e6f535c8
BLAKE2b-256 82e3f6b2adbe8981a1e6e0fb84d7cec40e7739b438b7457d435e51441887c0c1

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