{% extends "base.html" %} {% load static %} {% load i18n %} {% block title %}{% trans "Cookbook Setup" %}{% endblock %} {% block extra_head %} {{ form.media }} {% endblock %} {% block content %}

{% trans 'System' %}

{% blocktrans %} Django Recipes is an open source free software application. It can be found on GitHub. Changelogs can be found here. {% endblocktrans %}

{% trans 'System Information' %}

{% if version_if %}
{% for v in version_info %}
{{ v.name }} ({{ v.branch }}) {% if v.tag %}- {{ v.tag }}{% endif %}
{{ v.version }}
Website {% if v.commit_link %} - Commit {% endif %}
{% endfor %}
{% else %} {% blocktrans %} You need to execute version.py in your update script to generate version information (done automatically in docker). {% endblocktrans %} {% endif %}

{% trans 'Media Serving' %} {% if gunicorn_media %} {% trans 'Warning' %}{% else %}{% trans 'Ok' %}{% endif %}

{% if gunicorn_media %} {% blocktrans %}Serving media files directly using gunicorn/python is not recommend! Please follow the steps described here to update your installation. {% endblocktrans %} {% else %} {% trans 'Everything is fine!' %} {% endif %}

{% trans 'Secret Key' %} {% if secret_key %} {% trans 'Warning' %}{% else %}{% trans 'Ok' %}{% endif %}

{% if secret_key %} {% blocktrans %} You do not have a SECRET_KEY configured in your .env file. Django defaulted to the standard key provided with the installation which is publicly know and insecure! Please set SECRET_KEY int the .env configuration file. {% endblocktrans %} {% else %} {% trans 'Everything is fine!' %} {% endif %}

{% trans 'Debug Mode' %} {% if debug %} {% trans 'Warning' %}{% else %}{% trans 'Ok' %}{% endif %}

{% if debug %} {% blocktrans %} This application is still running in debug mode. This is most likely not needed. Turn of debug mode by setting DEBUG=0 int the .env configuration file. {% endblocktrans %} {% else %} {% trans 'Everything is fine!' %} {% endif %}

{% trans 'Database' %} {% if postgres %} {% trans 'Info' %}{% else %}{% trans 'Ok' %}{% endif %}

{% if postgres %} {% blocktrans %} This application is not running with a Postgres database backend. This is ok but not recommended as some features only work with postgres databases. {% endblocktrans %} {% else %} {% trans 'Everything is fine!' %} {% endif %}

Debug



{% endblock %}