Closed evildmp closed 11 years ago
Views for individual items require test for published field. An item that is unpublished is still available, but should return a 404.
9924b3eb51df4dbb5e965b739c8ff0c8b6db1e39 provides this for NewsArticle, but it will be a bore to repeat it for all models, and write tests. Better to re-visit a generic view that all such models can share.
Views for individual items require test for published field. An item that is unpublished is still available, but should return a 404.