diff --git a/docs/docs/functions/django_admin.md b/docs/docs/functions/django_admin.md new file mode 100644 index 00000000..b841f03d --- /dev/null +++ b/docs/docs/functions/django_admin.md @@ -0,0 +1,19 @@ +# Django Admin + +!!!warning + Do not use the django admin unless you really know what you're doing.
You should never need to access it unless you are familiar with django or are instructed to do something here by one of the developers. + +The django admin is basically a web interface for the postgres database. + +As of Tactical RMM v0.4.19, the django admin is disabled by default. + +To enable it, edit `/rmm/api/tacticalrmm/tacticalrmm/local_settings.py` and change `ADMIN_ENABLED` from `False` to `True` then `sudo systemctl restart rmm` + +Login to the django admin using the same credentials as your normal web ui login. + +If you did not save the django admin url (which was printed out at the end of the install script), check the `local_settings.py` file referenced above for the `ADMIN_URL` variable. Then simply append the value of this variable to your api domain (`https://api.yourdomain.com/`) to get the full url. + +Example of a full django admin url: +``` +https://api.example.com/JwboKNYb3v6K93Fvtcz0G3vUM17LMTSZggOUAxa97jQfAh0P5xosEk7u2PPkjEfdOtucUp/ +``` \ No newline at end of file diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml index 6a5390da..23841956 100644 --- a/docs/mkdocs.yml +++ b/docs/mkdocs.yml @@ -15,6 +15,7 @@ nav: - "Maintenance Mode": functions/maintenance_mode.md - "Alerting": alerting.md - "User Interface Preferences": functions/user_ui.md + - "Django Admin": functions/django_admin.md - Backup: backup.md - Restore: restore.md - Troubleshooting: troubleshooting.md