Installation ============ To install django-templates from git, run the following command: .. code-block:: bash pip install git+https://codeberg.org/c9moser/django-templates.git Then add ``django_templates`` to your ``INSTALLED_APPS`` in your Django settings. .. code-block:: python INSTALLED_APPS = [ ... 'django_templates', ... ] For apps being able to use the ``BASE_TEMPLATE`` which allows you to set a base template globally for apps supporting it, add the ``django_templates.context_processors.template`` to your context processors in your Django settings. .. code-block:: python TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [], ... 'OPTIONS': { ... 'context_processors': [ ... 'django_templates.context_processors.template', ... ], }, }, ]