.. _enable_django_admin: ============ Django admin ============ Django admin is an automatically generated web interface that allows you to create, read, update and delete records from the Fleio database. Django admin can be accessed at your-fleio-installation.com/backend/admin .. warning:: Enabling Django admin in production will publicly expose more information regarding your Fleio installation and this might increase the security risks. We recommend to limit Django admin only to your trusted IPs or to enable it only for short periods it just, when you need to access it. Please note that Django admin does not support 2FA, but login requests thorttling settings still work. By default, Django admin is disabled, but you can enable it by changing the ``ENABLE_DJANGO_ADMIN`` variable and adding ``CSRF_TRUSTED_ORIGINS`` in your :doc:`settings.py ` file. You can also change the URL path for Django admin from "admin/" (default) to something else using the ``DJANGO_ADMIN_URL_PREFIX`` variable. For example, your settings may look like this: .. code-block:: python ENABLE_DJANGO_ADMIN = True # The URL below must not contain a trailing slash CSRF_TRUSTED_ORIGINS = ['https://'] DJANGO_ADMIN_URL_PREFIX = 'administrator/' Replace ``http(s)://`` with your domain and protocol (e.g. http://example.com or https://example.com). Make sure you do not have a trailing slash in your URL.