From 4283b9fbb88932d47e62059d77ad96410949bf52 Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Sun, 26 Jun 2022 23:40:14 +0200 Subject: [PATCH] remove refereneces to admin-shell --- docs/settings/shell.md | 24 ------------------------ mkdocs.yml | 1 - 2 files changed, 25 deletions(-) delete mode 100644 docs/settings/shell.md diff --git a/docs/settings/shell.md b/docs/settings/shell.md deleted file mode 100644 index 253620a..0000000 --- a/docs/settings/shell.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: Admin Shell ---- - -## Python Shell - -A Python shell interface is provided at the URL `/admin/shell/`. - -This interface allows advanced users direct access to the underlying database objects using Python. - -!!! warning "Danger" - The scripting shell interface should only ever be used by advanced users. It requires intimate knowledge of the underlying InvenTree code, and improper use could easily result in corruption of data - -!!! warning "Seriously" - If you are not 100% sure of what you are doing, do not use the shell interface - -!!! info "Enabling Shell Mode" - The admin shell is (by default) only enabled when InvenTree is running in DEBUG mode - -The shell interface allows Python queries to be run by the admin user, as shown below: - -{% with id="admin_shell", url="admin/shell.png", description="Admin shell interface" %} -{% include 'img.html' %} -{% endwith %} \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index d6bc4b3..4d5863d 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -117,7 +117,6 @@ nav: - Multi Factor Authentication: settings/MFA.md - Export Data: settings/export.md - Import Data: settings/import.md - - Python Shell: settings/shell.md - Error Logs: settings/logs.md - Email: settings/email.md - Background Tasks: settings/tasks.md