- Add Pessoa/Vinculo.atualizado_manualmente flag, set automatically on web CRUD save; all Gennera/txt import paths now skip records flagged this way instead of overwriting them - Vinculo import: finalize step corrects leftover "situacao nao informada" vinculos to "Desvinculado", pulling carga horaria from censup_carga_horaria - Generic CRUD list view: click a column header to sort (asc/desc), persists through pagination; FK columns sort by their related display field - Rename GENNERA_API_BASE_URL setting to GENNERA_LOCAL_BASE_URL Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
21 lines
536 B
Plaintext
21 lines
536 B
Plaintext
DJANGO_DEBUG=True
|
|
DJANGO_SECRET_KEY=django-insecure-dev-only-change-me
|
|
DJANGO_ALLOWED_HOSTS=localhost,127.0.0.1,0.0.0.0
|
|
|
|
POSTGRES_DB=autocensup
|
|
POSTGRES_USER=autocensup
|
|
POSTGRES_PASSWORD=autocensup
|
|
POSTGRES_HOST=localhost
|
|
POSTGRES_PORT=5432
|
|
|
|
GENNERA_LOCAL_BASE_URL=http://gennera.solucaoti.net.br
|
|
API_TOKEN=
|
|
GENNERA_LOCAL_AUTH_TOKEN=
|
|
CENSUP_IES_CODIGO=
|
|
|
|
CELERY_BROKER_URL=redis://localhost:6379/0
|
|
CELERY_RESULT_BACKEND=redis://localhost:6379/0
|
|
|
|
# Alternativa:
|
|
# DATABASE_URL=postgresql://autocensup:autocensup@localhost:5432/autocensup
|