Summary
We've been implementing KeinaSystem, an agricultural management system with Django/Next.js and Docker: Completed: - Day 1-2: Docker setup, Django configuration (REST, JWT, CORS, PostGIS, Japan timezone) - Day 3: Data models (OfficialKyosaiField, OfficialChusankanField, Field with ManyToMany, Crop, Variety, Plan) - Day 4: Import API endpoints for ODS files - Day 5: init_crops command, serializers, ViewSets, summary/copy APIs Current Issue: - Day 6: PDF generation (/api/reports/kyosai/2025/) is returning HTTP 500 error Next Step: Debug the PDF generation error by checking backend container logs to see the specific exception. Want me to check the container logs to diagnose the PDF 500 error?
This commit is contained in:
7
backend/apps/reports/urls.py
Normal file
7
backend/apps/reports/urls.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from django.urls import path
|
||||
from . import views
|
||||
|
||||
urlpatterns = [
|
||||
path('kyosai/<int:year>/', views.generate_kyosai_pdf, name='kyosai_pdf'),
|
||||
path('chusankan/<int:year>/', views.generate_chusankan_pdf, name='chusankan_pdf'),
|
||||
]
|
||||
Reference in New Issue
Block a user