# ── Django ────────────────────────────────────────────────────────────────── SECRET_KEY=replace-me-with-50-random-chars DEBUG=False ALLOWED_HOSTS=your-hf-space.hf.space,localhost,127.0.0.1 # ── Database ───────────────────────────────────────────────────────────────── # PostgreSQL (production) DATABASE_URL=postgresql://user:password@host:5432/petcare_db # SQLite for local dev — just comment the line above and uncomment below: # DATABASE_URL=sqlite:///db.sqlite3 # ── Encryption ─────────────────────────────────────────────────────────────── # Generate with: python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())" FIELD_ENCRYPTION_KEY=replace-me-with-fernet-key # ── Hugging Face ───────────────────────────────────────────────────────────── HF_TOKEN=hf_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX HF_REPO_ID=your-username/petcare-storage # ── JWT ────────────────────────────────────────────────────────────────────── ACCESS_TOKEN_LIFETIME_MINUTES=60 REFRESH_TOKEN_LIFETIME_DAYS=14 # ── CORS & Frontend ────────────────────────────────────────────────────────── CORS_ALLOWED_ORIGINS=http://localhost:5173,https://your-hf-space.hf.space # ── Admin ──────────────────────────────────────────────────────────────────── DJANGO_SUPERUSER_EMAIL=admin@petcare.app DJANGO_SUPERUSER_PASSWORD=change-me-in-production # ── Rate Limiting ──────────────────────────────────────────────────────────── RATELIMIT_ENABLE=True