Merge branch 'master' into works-editions
This commit is contained in:
commit
5c4d078f92
12 changed files with 140 additions and 3 deletions
|
@ -243,6 +243,12 @@ def unfavorite(request, status_id):
|
|||
outgoing.handle_unfavorite(request.user, status)
|
||||
return redirect(request.headers.get('Referer', '/'))
|
||||
|
||||
@login_required
|
||||
def boost(request, status_id):
|
||||
''' boost a status '''
|
||||
status = models.Status.objects.get(id=status_id)
|
||||
outgoing.handle_boost(request.user, status)
|
||||
return redirect(request.headers.get('Referer', '/'))
|
||||
|
||||
@login_required
|
||||
def follow(request):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue