A Django management command which will replace all instances of a string throughout a database with another - useful for bulk content changes.
Using pip:
$ pip install django-findreplaceEdit your Django project's settings module, and add the application to INSTALLED_APPS:
INSTALLED_APPS = [
# ...
"findreplace",
# ...
]To replace all instances of foo with bar:
$ ./manage.py findreplace foo barTo use this command without being asked for confirmation:
$ ./manage.py findreplace --noinput foo bar