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

## **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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

micro_users-1.0.0-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

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

Hashes for micro_users-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4eaa95191d0feeb0056e21d8018905da4064c590ab194120bd0248e432723493
MD5 5700011ea50b002522c314c3fc995e21
BLAKE2b-256 2c4d252a4dd5a1d3a30f1567172757eab4b6ba00ae665a4fc2cc49a6e9417675

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