===================== Customization options ===================== .. important:: If you are adding or changing Fleio files, other than Fleio setting files that are stored in docker volumes, see :ref:`change-docker-files`. You generally have these customization options: 1. Use :doc:`backend settings ` and :doc:`frontend settings ` to customize your Fleio installation 2. Write some hooks 3. Write specific modules, for things like payment gateways or two factor authentication 4. Write a Django app Write some hooks ================ Python Backend hooks/signals ---------------------------- The Python backend hooks are called signals. See how to add your custom code to run on certain events, without modifying Fleio source code: :doc:`/developer/python-signals`. Write a Django app ================== Learn how to develop web applications with Django: https://www.djangoproject.com/start/ To include your app in the Fleio Django project add it to ``INSTALLED_APPS`` in the :ref:`settings.py` file: .. code-block:: python INSTALLED_APPS += ( 'myapp', ) You will also want to include your ``urls`` module in the project's URLs map. Edit ``/var/webapps/fleio/project/fleio/url.py`` and add your module to ``urlpatterns``: .. code-block:: python urlpatterns = [ # API URLs # ... path('{}myurl/'.format(settings.URL_PREFIX), include(('myapp.urls', 'myapp'), namespace='myapp')), ] The ``settings.py`` file is never overwritten by Fleio.