Skip to content

thiago/RH

Repository files navigation

RH Project

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

Novidades

Perfil Profissional

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.

Account

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'] }}

About

Projeto de Recursos Humanos

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published