Skip to main content

Tool for finding removed features in your Django project

Project description

PyPI release Downloads Coverage Linting Coding Style Documentation Status

Welcome to the django-removals - a maintainer's best friend for finding removed features in your Django project

PyPI | GitHub | Full documentation

Creator & Maintainer: Ambient Digital

Features

This package will throw Django system checks warnings for all known removals from Django v1.0 to today.

Here's an example:

Example system check

The checks will either be triggered when using the Django development server

python manage.py runserver

or when you call the checks manually

python manage.py check --deploy

It focuses on Django settings but might also add more checks in the future.

Installation

  • Install the package via pip:

    pip install django-removals

    or via pipenv:

    pipenv install django-removals

  • Add module to INSTALLED_APPS within the main django settings.py:

    INSTALLED_APPS = (
        # ...
        "django_removals",
    )
    

Since this package adds only Django system checks, which don't run on production, you could add it only when being in (local) debug mode.

if DEBUG_MODE:
    INSTALLED_APPS += ("django_removals",)

Publish to ReadTheDocs.io

  • Fetch the latest changes in GitHub mirror and push them
  • Trigger new build at ReadTheDocs.io (follow instructions in admin panel at RTD) if the GitHub webhook is not yet set up.

Preparation and building

This package uses uv for dependency management and building.

  • Update documentation about new/changed functionality

  • Update the CHANGES.md

  • Increment version in main __init__.py

  • Create pull request / merge to "main"

  • This project uses uv to publish to PyPI. This will create distribution files in the dist/ directory.

    uv build
    

Publishing to PyPI

To publish to the production PyPI:

uv publish

To publish to TestPyPI first (recommended for testing):

uv publish --publish-url https://test.pypi.org/legacy/

You can then test the installation from TestPyPI:

uv pip install --index-url https://test.pypi.org/simple/ ambient-package-update

Maintenance

Please note that this package supports the ambient-package-update. So you don't have to worry about the maintenance of this package. This updater is rendering all important configuration and setup files. It works similar to well-known updaters like pyupgrade or django-upgrade.

To run an update, refer to the documentation page of the "ambient-package-update".

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

django_removals-1.1.4.tar.gz (100.1 kB view details)

Uploaded Source

Built Distribution

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

django_removals-1.1.4-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file django_removals-1.1.4.tar.gz.

File metadata

  • Download URL: django_removals-1.1.4.tar.gz
  • Upload date:
  • Size: 100.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.1

File hashes

Hashes for django_removals-1.1.4.tar.gz
Algorithm Hash digest
SHA256 4694891f961dda2139ba08cc814ba46f3027ad158d350a4743f08d5f913ccc2f
MD5 e089249d9726c9bee35e12367e02f0e7
BLAKE2b-256 a01e95c06786f5b04b5c4a1bffbf8fb3a0626863f623b4e07bb92018f19fe3be

See more details on using hashes here.

File details

Details for the file django_removals-1.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for django_removals-1.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 22d51e336f2c8677460b1b69c2bdbf943f2ff76b608b287120d235281923f929
MD5 d975e9e594d47e2406abf5fdb03aea55
BLAKE2b-256 05768c4aeabf148ccbba2a14849bf186c8f6b74fa5b5db8b9643f7c5b9cbe6b9

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