Skip to main content

KitchenArt DRF Utilities

This package contains helpers and utilities used at KitchenArt for django-based projects.

Features:

  • Base Class Model for timestamped and soft delete.
  • Serializer classes for timestamped.
  • View classes for soft delete.
  • Log Activity module
  • Basic publisher classes
  • Translation serializer classes
  • Helper parse identity from href
  • Helper for generate unique data id
  • Custom drf exception handler

Installation

pip install ka-drf-utils

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[0.7.0] - 2022 - 09 - 05

Fixed

  • Update ugettext_lazy import for django 4

[0.6.0] - 2021 - 08 - 08

Added

  • Add new helper function for generate unique data id

[0.5.0] - 2021 - 02 - 23

Changed

  • Update view LogViewSetMixin to custom log serializer

[0.4.0] - 2020 - 12 - 22

Added

  • Create view TranslationViewSetMixin to get detail all translation fields

[0.3.1] - 2020 - 12 - 14

Fixed

  • fix signaling in LogViewSetMixin if user anonymous

[0.3.0] - 2020 - 12 - 13

Changed

  • Simplify log module

Removed

  • Remove LogSerializerMixin

[0.2.0] - 2020 - 12 - 13

Removed

  • Remove translation module

Fixed

  • Fix exchange on publisher

[0.1.1] - 2020 - 12 - 09

Fixed

  • Fix history.md in a setup.py

[0.1.0] - 2020 - 12 - 09

Added

  • TimestampedSerializerMixin for Timestamped Model
  • SoftDeleteViewSetMixin for handling soft delete data
  • BaseModel for SoftDelete and Timestamped Model
  • Helper for parse identity from href
  • LinkHeaderPagination
  • Custom receiver django signal
  • Custom exception handler
  • BasicPublisher class
  • Translation module
  • Activity Log module

Metadata

Release files for ka-drf-utils 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ka-drf-utils 0.7.0
File Size Uploaded
ka-drf-utils-0.7.0.tar.gz 8.3 kB Details

Release files / ka-drf-utils-0.7.0.tar.gz

Download URL ka-drf-utils-0.7.0.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
815ca54fe1bed4b8fbcbf551f2d79a495211f14e50ca92787f483313b425b03c
BLAKE2b-256 checksum
How to use checksums
bb8d136daa4540d27b52164cc75d9f6215969d7fd94e5252555af9b6afc2603f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.7.0 This release

1 release file

0.6.0

1 release file

0.5.0

1 release file

0.4.0

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page