A search and replace app for django
Project description
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",
)
]
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
Close
Hashes for django-search-and-replace-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba30d20ae8963719deb5f94ccac698a688118f9c71e5435fa62501baa893d912 |
|
MD5 | 84622a7d8b4e8c65561fd8cc7416386c |
|
BLAKE2b-256 | 4ce52757f5b1bc23c4bd69d4e96d3c7d8b1f1c470f1d174ef35157ddd1fb218a |