Skip to main content

A simple Django app for command-line searching via the ORM

Project description

======
django_grepdb
======

django_grepdb is a simple command-line app to provide basic grep-like searching of
Django model fields using the ORM.

Quick start
-----------

1. Add "django_grepdb" to your INSTALLED_APPS setting like this::

INSTALLED_APPS = (
...
'django_grepdb',
)

or, if you have a separate settings file for development in which you
extend your global settings, like this::

INSTALLED_APPS = INSTALLED_APPS + ('django_grepdb',)

2. Run::

python manage.py grepdb <pattern> <app_label.Model.field_name>

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

django-grep-db-1.1.0.tar.gz (10.1 kB view hashes)

Uploaded Source

Built Distribution

django_grep_db-1.1.0-py2.py3-none-any.whl (14.9 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page