Skip to main content

Django Find Replace

A Django management command which will replace all instances of a string throughout a database with another - useful for bulk content changes.

Installation

Using pip:

$ pip install django-findreplace

Edit your Django project's settings module, and add the application to INSTALLED_APPS:

INSTALLED_APPS = [
    # ...
    "findreplace",
    # ...
]

Usage

To replace all instances of foo with bar:

$ ./manage.py findreplace foo bar

To use this command without being asked for confirmation:

$ ./manage.py findreplace --noinput foo bar

Download files

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

Source Distribution

django_findreplace-0.3.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

django_findreplace-0.3-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file django_findreplace-0.3.tar.gz.

File metadata

  • Download URL: django_findreplace-0.3.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for django_findreplace-0.3.tar.gz
Algorithm Hash digest
SHA256 1fa945520dee2071244e9f30e25a4f167010087083293f368aaff90a4c985d82
MD5 7acd2107b35310910a06fbbbfe7d762d
BLAKE2b-256 41a91d9a64ed62fec922402c31def424405982d83aef470415b56af235bb47de

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_findreplace-0.3.tar.gz:

Publisher: publish.yml on developersociety/django-findreplace

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file django_findreplace-0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for django_findreplace-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ed1693c3915ebaf08a6d3862cc738ea44515b0602995b851ff60d78e66ceaf2e
MD5 fe1d0c177e2720a85ce008e35ed12347
BLAKE2b-256 74764426b934a1ac1b3433dd83885e63e67bc68ec2920b8468cb2c7a4cfc6097

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_findreplace-0.3-py3-none-any.whl:

Publisher: publish.yml on developersociety/django-findreplace

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.3 This release

2 files

0.2

2 files

0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page