Skip to main content

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.

Files for django-search-and-replace, version 0.0.7
Filename, size File type Python version Upload date Hashes
Filename, size django-search-and-replace-0.0.7.tar.gz (13.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page