{% extends 'djangomaster/sbadmin/base.html' %} {% load i18n %} {% load url from future %} {% block content %} {% comment %}

Users info

Users signed in last two weeks: {{ object.user_signups_count }}
Total users: {{ object.user_count }}

requirements.txt

{% if object.requirements.BASE_DIR_ERROR %}
{% blocktrans with base_dir_name=settings.BASE_DIR_NAME %}Define the settings.{{base_dir_name}} variable, then it will be possible to locate the requirements.txt file.{% endblocktrans %}
{% blocktrans %}Add the following in your settings.py:{% endblocktrans %}
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
{% blocktrans %}You can define which variable will be used by changing `settings.DJANGOMASTER_BASE_DIR`.{% endblocktrans %}
{% elif object.requirements.REQUIREMENTS_ERROR %}
{% blocktrans with path=object.requirements.path %}Could not find a file in {{path}}.{% endblocktrans %}
{% else %}
{% endif %} {% endcomment %} {% endblock %}