Instalação:
git clone git@github.com:trsouz/RH.git
pip install -r requirements.txt
cd RH
python manage.py syncdb
python manage.py runserver
Enviar e customizar templates de emails diretamente no "Action" da listagem do admin Django.
- Altere o template padrão e depois customize o template do(s) usuários desejado.
Template tags
get_info:
{{ USER|get_info:['telefone[,order]'] }}
or:
{% with tel=USER|get_info:['telefone[,order]'] %}
...
{% endwith %}
get_info_flat:
{{ USER|get_info_flat:['telefone[,order]'] }}
or:
{% with tel=USER|get_info_flat[:'telefone[,order]'] %}
...
{% endwith %}
:
get_avatar:
# Padrão é 'square' mas você pode usar 'square', 'small', 'normal' ou 'large'
# Você pode especificar mais opcões em "ACCOUNT_SIZES" no arquivo 'settings.py'.
{{ USER|get_avatar[:'square'] }}