So, I have a URL pattern: path(\'//\', PostDetailView.as_view(), name=\'detail\')
path(\'//\', PostDetailView.as_view(), name=\'detail\')
I have a view:
class Post