After much headache, determine that we need django-notification=0.2 and Django=1.3.1
This commit is contained in:
@@ -37,6 +37,6 @@ Finally, create a superuser account:
|
||||
* PIL
|
||||
* django-mptt
|
||||
* django-messaging
|
||||
* django-notifications
|
||||
* Django
|
||||
* django-notification = 0.2
|
||||
* Django = 1.3.1
|
||||
* south
|
||||
|
@@ -38,7 +38,7 @@ def donation_info(request):
|
||||
|
||||
def notifications(request):
|
||||
if request.user.is_authenticated():
|
||||
return {'notices': Notice.objects.filter(unseen=True, user=request.user, on_site=True)}
|
||||
return {'notices': Notice.objects.filter(unseen=True, recipient=request.user, on_site=True)}
|
||||
return {}
|
||||
|
||||
def javascript_uris(request):
|
||||
|
Reference in New Issue
Block a user