Skip to main content

A simple mixin for adding soft delete functionality to Flask-SQLAlchemy models

Project description

Flask-Softdelete

Flask-SoftDelete is a simple extension for Flask applications that adds soft delete functionality to Flask-SQLAlchemy models. Instead of permanently deleting records, soft deleting allows you to mark records as "deleted" without actually removing them from the database. This is useful for keeping a history of deleted records or allowing for easy restoration.

Table of Contents

Installation

To install Flask-Softdelete, use pip:

pip install Flask-Softdelete

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

flask_softdelete-0.1.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

flask_softdelete-0.1.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file flask_softdelete-0.1.0.tar.gz.

File metadata

  • Download URL: flask_softdelete-0.1.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for flask_softdelete-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4db5abd08ad37e23b4058307da27c3796707affcf4481be0ad8754c7ef1e00e7
MD5 aaa80f72c004753e4164dd6b29ad9fdb
BLAKE2b-256 7f6eb573d7f3bcc01c4e91be49ec14ed058a409ad0d1ed9c190ac49bef7ea485

See more details on using hashes here.

File details

Details for the file flask_softdelete-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for flask_softdelete-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 20affd2ee48dcb0641e38903aaa26a4716c8c417701207717d4e3ceb1b3be53c
MD5 5b72eff77795dc83b1582cff29299c17
BLAKE2b-256 23b4d5f3f6a74ce34d3eef11b5b8a9f622fc94cf20b81872ad6d8af2e2b5bef4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page