Django Find Replace
Project description
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
Project details
Release history Release notifications | RSS feed
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.1.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for django_findreplace-0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0ded61825976710326745ccdb3fcee4f80dc39e19fa522d31fbace1fa02a5fa |
|
MD5 | 93760f9501353b0a3c83656a46cf494a |
|
BLAKE2b-256 | 77428a52168afd9afbb6790f0a383538b8d82b3c1033abcfe868f3da31ddb49f |