-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
29 lines (24 loc) · 1010 Bytes
/
Copy path.env.example
File metadata and controls
29 lines (24 loc) · 1010 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Django Settings
SECRET_KEY=django-insecure-change-this-in-production
DEBUG=True
ALLOWED_HOSTS=localhost,127.0.0.1
# CSRF e Segurança
# Para produção com HTTPS, adicione suas URLs aqui (separadas por vírgula)
# Exemplo: CSRF_TRUSTED_ORIGINS=https://seudominio.com,https://www.seudominio.com
CSRF_TRUSTED_ORIGINS=http://localhost:8000,http://127.0.0.1:8000
# Configurações de segurança para produção (usar True quando tiver HTTPS)
SESSION_COOKIE_SECURE=False
CSRF_COOKIE_SECURE=False
SECURE_SSL_REDIRECT=False
# Database
# Para desenvolvimento local, deixe comentado para usar SQLite
# Para PostgreSQL, descomente e configure:
# DATABASE_URL=postgresql://user:password@localhost:5432/dbname
# Superuser credentials
SUPERUSER_EMAIL=admin@example.com
SUPERUSER_PASSWORD=admin123
# Mercado Pago
MP_ACCESS_TOKEN=your_mercadopago_access_token_here
MP_BASE_API_URL=https://api.mercadopago.com
NOTIFICATION_URL=https://your-domain.com/api/webhook/mercadopago/
BASE_APPLICATION_URL=http://localhost:8000