From 4cebea200462aa126f072ee461f8b6df886b9b53 Mon Sep 17 00:00:00 2001 From: Ramon Saraiva Date: Sat, 10 Aug 2019 15:26:04 -0300 Subject: [PATCH 1/2] Update README with proper defaults --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index b5fac879..e0b6e832 100644 --- a/README.rst +++ b/README.rst @@ -360,7 +360,7 @@ EXPLORER_SQL_BLACKLIST Disallowed words in SQL queries to preve EXPLORER_SQL_WHITELIST These phrases are allowed, even though part of the phrase appears in the blacklist. ('CREATED', 'UPDATED', 'DELETED','REGEXP_REPLACE') EXPLORER_DEFAULT_ROWS The number of rows to show by default in the preview pane. 1000 EXPLORER_SCHEMA_INCLUDE_TABLE_PREFIXES If not None, show schema only for tables starting with these prefixes. "Wins" if in conflict with EXCLUDE None # shows all tables -EXPLORER_SCHEMA_EXCLUDE_TABLE_PREFIXES Don't show schema for tables starting with these prefixes, in the schema helper. ('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.admin') +EXPLORER_SCHEMA_EXCLUDE_TABLE_PREFIXES Don't show schema for tables starting with these prefixes, in the schema helper. ('auth_', 'contentypes_', 'sessions_', 'admin_', 'explorer_') EXPLORER_SCHEMA_INCLUDE_VIEWS Include database views False EXPLORER_ASYNC_SCHEMA Generate DB schema asynchronously. Requires Celery and EXPLORER_TASKS_ENABLED False EXPLORER_CONNECTION_NAME The name of the Django database connection to use. Ideally set this to a connection with read only permissions None # Must be set for the app to work, as this is required From 754a197f9397830855a9dfab91d3dca97c9969c7 Mon Sep 17 00:00:00 2001 From: Ramon Saraiva Date: Sat, 10 Aug 2019 15:29:16 -0300 Subject: [PATCH 2/2] Update AUTHORS --- AUTHORS | 1 + 1 file changed, 1 insertion(+) diff --git a/AUTHORS b/AUTHORS index 63696bab..41210db9 100644 --- a/AUTHORS +++ b/AUTHORS @@ -20,3 +20,4 @@ The following people have contributed to django-sql-explorer: - Jared Proffitt - Brad Melin - Dara Adib +- Ramon Saraiva