add embed info
This commit is contained in:
parent
4ca97aac04
commit
7a37be546c
2 changed files with 13 additions and 0 deletions
|
|
@ -59,6 +59,7 @@ def item(request, id):
|
|||
):
|
||||
raise Http404
|
||||
context['item'] = item
|
||||
context['url'] = request.build_absolute_uri(item.get_absolute_url())
|
||||
qs = item.comments.order_by('created')
|
||||
if not request.user.is_staff:
|
||||
q = ~Q(published=None)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue