Admin/DRF/Swagger CSS and JS never load under gunicorn since Django's staticfiles app only auto-serves through `runserver`. WHITENOISE_USE_FINDERS is tied to DEBUG so no collectstatic step is needed while DEBUG=1. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
20 lines
663 B
Plaintext
20 lines
663 B
Plaintext
Django==5.2.17
|
|
djangorestframework==3.18.0
|
|
drf-spectacular==0.30.0
|
|
requests==2.33.1
|
|
redis==5.2.1
|
|
python-dotenv==1.0.1
|
|
whitenoise==6.11.0
|
|
|
|
# RAG / AI tutor (اپ rag). کلاینتها lazy import میشن؛ نبودِ اینها فقط
|
|
# مسیرِ RAG رو از کار میندازه، نه بقیهی پروژه رو.
|
|
openai>=1.40,<3
|
|
qdrant-client>=1.12
|
|
|
|
# فقط برای ingestِ PDF (اختیاری). pdf2image به poppler سیستمی نیاز داره
|
|
# (macOS: brew install poppler). نبودشون فقط endpointِ /api/rag/ingest/pdf
|
|
# رو با خطای صریح از کار میندازه.
|
|
pymupdf>=1.24
|
|
pdf2image>=1.17
|
|
pillow>=10
|