Open kiancm opened 3 years ago
Instead of :
class ThermoDetail(DetailView): ...
use
path("thermo/<int:pk>/", DetailView.as_view(model=Thermo, context_object_name="thermo"), name="thermo-detail")
Instead of :
use