Skip to main content

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

Project description

Micro Users - Django User Management App

PyPI version

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

  1. Add to INSTALLED_APPS:
INSTALLED_APPS = [
    ...
    'django_tables2',
    'django_filters', 
    'crispy_forms',
    'users',  # Add this
]
  1. Set custom user model in settings.py:
AUTH_USER_MODEL = 'users.User'
  1. Include URLs in your main project folder urls.py:
urlpatterns = [
    ...
    path('users/', include('users.urls')),
]
  1. 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


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)

Uploaded Source

Built Distribution

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

micro_users-1.0.1-py3-none-any.whl (22.3 kB view details)

Uploaded Python 3

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

Hashes for micro_users-1.0.1.tar.gz
Algorithm Hash digest
SHA256 fade158f857e902b489677618f5edf75f282659eaa313d09e376aa6990b9ebc7
MD5 95b5015e3e624c9ac631f8dd7481bdbf
BLAKE2b-256 73137e8897cd0bb819999871da51c8197cc45b0bebd1c5c9acd1f49c552e09c6

See more details on using hashes here.

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

Hashes for micro_users-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 48d78def04ce2588d83d73cd615ba912df285c7f59e5147f35f2165fd2783656
MD5 5ece3e1f915a218ff1226a1493824b4c
BLAKE2b-256 d88f9dadaceeae877179b6273d09c73fcaf3190998f4cc92f5daf9f357f37abe

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