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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 811def7dad08d61c59638d061233e1ac830536d54be7ec70706c1ee32aa2df2e |
|
MD5 | 32871a7e2408eef46f891cc64e2871be |
|
BLAKE2b-256 | 0d380b376a4d5c0c62ca84d95e794e81344e3b81ab4796c6f5bfba306aaf7d73 |