mirror of
https://github.com/Hopiu/django-notifications.git
synced 2026-03-16 21:30:24 +00:00
Small fix o test view
This commit is contained in:
parent
ec38ad0ecf
commit
041281bced
1 changed files with 3 additions and 0 deletions
|
|
@ -3,6 +3,7 @@
|
|||
import random
|
||||
|
||||
from django.contrib.auth.decorators import login_required
|
||||
from django.http import HttpResponse
|
||||
from django.shortcuts import render
|
||||
from notifications.signals import notify
|
||||
|
||||
|
|
@ -29,3 +30,5 @@ def make_notification(request):
|
|||
|
||||
notify.send(sender=request.user, recipient=request.user,
|
||||
verb='you asked for a notification - you are ' + the_notification)
|
||||
|
||||
return HttpResponse()
|
||||
|
|
|
|||
Loading…
Reference in a new issue