Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update EXPLORER_SCHEMA_EXCLUDE_TABLE_PREFIXES #368

Merged
merged 2 commits into from
Sep 23, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ The following people have contributed to django-sql-explorer:
- Jared Proffitt
- Brad Melin
- Dara Adib
- Ramon Saraiva
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down