Skip to main content

Integration Bus django-applications core

Project description

Integration Bus Module Core Logo

Used in the template, it defines the basic models and methods of working with them

Description of base components and models

Models

UUIDModel:

  • Base Model of IB Core.
  • Includes infornation about creator (UUID) and creating date/time.
  • Includes TagManager for adding additional model properties

TagManager:

  • A model for creating, updating, and managing tags.

TagBinder:

Used by TagManager, not independent model

  • Binds Tag objects to any models by keyword.
  • Works directly with IB Tags Module.

Mixins

TokenAuthorizationMixin:

Uses external authorization, managed by IB Auth Module

  • Supports Base and JsonWeb tokens.
  • Automatically checks authorization headers of request and sends error respones.
  • Converts user info response from IB Auth Module to AuthUser class object which can be accessed via self.user in views.

Admin Models

UUIDModelAdmin

Base ModelAdmin for UUIDModel instances.

Automatically adds 'creator', 'create_date_time_stamp' and 'tag_manager' fields to 'list_display'.

You can change this behaviour by overriding the following fields to False:

  • display_creator;
  • display_create_date_time_stamp;
  • display_tag_manager.

Related

Project template for Integration Bus module development

PSG Django Template

Authors

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

ib_core-1.0.2.tar.gz (16.8 kB view details)

Uploaded Source

File details

Details for the file ib_core-1.0.2.tar.gz.

File metadata

  • Download URL: ib_core-1.0.2.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.9

File hashes

Hashes for ib_core-1.0.2.tar.gz
Algorithm Hash digest
SHA256 e6bd31b543265c4a1dd46ac80cf1977d97bd3fbe648918c587fc238bfb29bf0d
MD5 5c0d6e67f11dfb041f63d15c43be623d
BLAKE2b-256 08caaabe669b88b434468f424e8158489b1abb0f17be41508fc52408c84c18c1

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