Metadata-Version: 2.1
Name: django-search-and-replace
Version: 0.0.8
Summary: A search and replace app for django
Home-page: https://github.com/RaphaelKimmig/django-search-and-replace
Author: Raphael Kimmig
Author-email: raphael@ampad.de
License: BSD 3-Clause License
Download-URL: https://github.com/RaphaelKimmig/django-search-and-replace/archive/v0.0.8.tar.gz
Platform: UNKNOWN
Classifier: Framework :: Django
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown
License-File: LICENSE

# django-search-and-replace
A simple app that allows searching and replacing values in a specified set of models.

## Getting started
Add `search_and_replace` to your `INSTALLED_APPS` and add a url for the search and replace view.

```
from django.urls import path
from search_and_replace.views import SearchAndReplaceView
from example.models import Cat, Dog

urlpatterns += [
    path(
        "admin/search_and_replace/",
        SearchAndReplaceView.as_view(
            models_and_fields=[(Cat, ("name", "bio")), (Dog, ("name", "bark"))]
        ),
        name="search-and-replace",
    )
]
```


