Migrate mistune to markdown
This commit is contained in:
parent
412945626b
commit
77aaae6735
46 changed files with 5112 additions and 420 deletions
|
@ -207,7 +207,7 @@ class PostView(TitleMixin, CommentedDetailView):
|
|||
context["og_image"] = self.object.og_image
|
||||
context["valid_user_to_show_edit"] = False
|
||||
context["valid_org_to_show_edit"] = []
|
||||
|
||||
|
||||
if self.request.profile in self.object.authors.all():
|
||||
context["valid_user_to_show_edit"] = True
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue